Searched refs:nnp (Results 1 – 5 of 5) sorted by relevance
35 struct aa_label *nnp; member57 aa_put_label(ctx->nnp); in aa_free_task_ctx()71 new->nnp = aa_get_label(old->nnp); in aa_dup_task_ctx()
66 if (ctx->nnp && label_is_stale(ctx->nnp)) { in aa_replace_current_label()67 struct aa_label *tmp = ctx->nnp; in aa_replace_current_label()69 ctx->nnp = aa_get_newest_label(tmp); in aa_replace_current_label()
1017 !ctx->nnp) in apparmor_bprm_creds_for_exec()1018 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec()1052 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec()1341 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()1342 ctx->nnp = aa_get_label(label); in aa_change_hat()1384 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat()1406 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat()1507 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()1508 ctx->nnp = aa_get_label(label); in aa_change_profile()1613 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_profile()
48 bool *nnp = data; in store_no_new_privs() local 50 if (!nnp) in store_no_new_privs() 52 *nnp = prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0); in store_no_new_privs()
2289 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local2294 if (!nnp && !nosuid) in check_nnp_nosuid()2308 if (nnp) in check_nnp_nosuid()2333 if (nnp) in check_nnp_nosuid()