Home
last modified time | relevance | path

Searched refs:nnp (Results 1 – 4 of 4) sorted by relevance

/security/apparmor/include/
A Dtask.h26 struct aa_label *nnp; member
45 aa_put_label(ctx->nnp); in aa_free_task_ctx()
60 aa_get_label(new->nnp); in aa_dup_task_ctx()
/security/apparmor/
A Dtask.c64 if (ctx->nnp && label_is_stale(ctx->nnp)) { in aa_replace_current_label()
65 struct aa_label *tmp = ctx->nnp; in aa_replace_current_label()
67 ctx->nnp = aa_get_newest_label(tmp); in aa_replace_current_label()
A Ddomain.c949 !ctx->nnp) in apparmor_bprm_creds_for_exec()
950 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec()
988 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec()
1243 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()
1244 ctx->nnp = aa_get_label(label); in aa_change_hat()
1286 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat()
1308 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat()
1411 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()
1412 ctx->nnp = aa_get_label(label); in aa_change_profile()
1533 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_profile()
/security/selinux/
A Dhooks.c2253 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local
2258 if (!nnp && !nosuid) in check_nnp_nosuid()
2272 if (nnp) in check_nnp_nosuid()
2297 if (nnp) in check_nnp_nosuid()

Completed in 21 milliseconds