Searched refs:nnp (Results 1 – 4 of 4) sorted by relevance
26 struct aa_label *nnp; member45 aa_put_label(ctx->nnp); in aa_free_task_ctx()60 aa_get_label(new->nnp); in aa_dup_task_ctx()
65 if (ctx->nnp && label_is_stale(ctx->nnp)) { in aa_replace_current_label()66 struct aa_label *tmp = ctx->nnp; in aa_replace_current_label()68 ctx->nnp = aa_get_newest_label(tmp); in aa_replace_current_label()
951 !ctx->nnp) in apparmor_bprm_creds_for_exec()952 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec()990 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec()1245 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()1246 ctx->nnp = aa_get_label(label); in aa_change_hat()1288 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat()1310 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat()1413 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()1414 ctx->nnp = aa_get_label(label); in aa_change_profile()1535 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_profile()
2263 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local2268 if (!nnp && !nosuid) in check_nnp_nosuid()2282 if (nnp) in check_nnp_nosuid()2307 if (nnp) in check_nnp_nosuid()