Searched refs:nnp (Results 1 – 5 of 5) sorted by relevance
59 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()
902 !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()
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()
308 struct device_node *rootnp, *np, *nnp; in leon_init_timers() local352 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()
2279 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local2284 if (!nnp && !nosuid) in check_nnp_nosuid()2298 if (nnp) in check_nnp_nosuid()2324 if (nnp) in check_nnp_nosuid()