Home
last modified time | relevance | path

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

/linux-6.6.21/security/apparmor/include/
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()
/linux-6.6.21/security/apparmor/
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()
Ddomain.c903 !ctx->nnp) in apparmor_bprm_creds_for_exec()
904 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec()
942 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec()
1197 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()
1198 ctx->nnp = aa_get_label(label); in aa_change_hat()
1226 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat()
1247 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat()
1348 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()
1349 ctx->nnp = aa_get_label(label); in aa_change_profile()
1448 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_profile()
/linux-6.6.21/arch/sparc/kernel/
Dleon_kernel.c306 struct device_node *rootnp, *np, *nnp; in leon_init_timers() local
350 nnp = rootnp; in leon_init_timers()
353 np = of_find_node_by_name(nnp, "GAISLER_GPTIMER"); in leon_init_timers()
355 np = of_find_node_by_name(nnp, "01_011"); in leon_init_timers()
367 nnp = np; in leon_init_timers()
/linux-6.6.21/security/selinux/
Dhooks.c2242 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local
2247 if (!nnp && !nosuid) in check_nnp_nosuid()
2261 if (nnp) in check_nnp_nosuid()
2286 if (nnp) in check_nnp_nosuid()