Searched refs:nnp (Results 1 – 5 of 5) 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()
48 bool *nnp = data; in store_no_new_privs() local50 if (!nnp) in store_no_new_privs()52 *nnp = prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0); in store_no_new_privs()
2287 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local2292 if (!nnp && !nosuid) in check_nnp_nosuid()2306 if (nnp) in check_nnp_nosuid()2331 if (nnp) in check_nnp_nosuid()