Home
last modified time | relevance | path

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

/Linux-v5.4/security/apparmor/
Dtask.c59 if (ctx->nnp && label_is_stale(ctx->nnp)) { in aa_replace_current_label()
60 struct aa_label *tmp = ctx->nnp; in aa_replace_current_label()
62 ctx->nnp = aa_get_newest_label(tmp); in aa_replace_current_label()
Ddomain.c902 !ctx->nnp) in apparmor_bprm_set_creds()
903 ctx->nnp = aa_get_label(label); in apparmor_bprm_set_creds()
934 !unconfined(label) && !aa_label_is_subset(new, ctx->nnp)) { in apparmor_bprm_set_creds()
1184 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()
1185 ctx->nnp = aa_get_label(label); in aa_change_hat()
1212 !aa_label_is_subset(new, ctx->nnp)) { in aa_change_hat()
1233 !aa_label_is_subset(previous, ctx->nnp)) { in aa_change_hat()
1329 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()
1330 ctx->nnp = aa_get_label(label); in aa_change_profile()
1429 !aa_label_is_subset(new, ctx->nnp)) { in aa_change_profile()
/Linux-v5.4/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-v5.4/arch/sparc/kernel/
Dleon_kernel.c308 struct device_node *rootnp, *np, *nnp; in leon_init_timers() local
352 nnp = rootnp; in leon_init_timers()
355 np = of_find_node_by_name(nnp, "GAISLER_GPTIMER"); in leon_init_timers()
357 np = of_find_node_by_name(nnp, "01_011"); in leon_init_timers()
369 nnp = np; in leon_init_timers()
/Linux-v5.4/security/selinux/
Dhooks.c2279 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local
2284 if (!nnp && !nosuid) in check_nnp_nosuid()
2298 if (nnp) in check_nnp_nosuid()
2324 if (nnp) in check_nnp_nosuid()