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()
957 * occurred under. Ideally this would happen when nnp in apparmor_bprm_creds_for_exec() 963 !ctx->nnp) in apparmor_bprm_creds_for_exec() 964 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec() 998 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec() 1274 * occurred under. Ideally this would happen when nnp in aa_change_hat() 1279 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat() 1280 ctx->nnp = aa_get_label(label); in aa_change_hat() 1322 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat() 1344 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat() 1442 * occurred under. Ideally this would happen when nnp in aa_change_profile() [all...]
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() local 2292 if (!nnp && !nosuid) in check_nnp_nosuid() 2306 if (nnp) in check_nnp_nosuid() 2331 if (nnp) in check_nnp_nosuid()