Searched refs:nnp (Results 1 – 5 of 5) sorted by relevance
63 if (ctx->nnp && label_is_stale(ctx->nnp)) { in aa_replace_current_label()64 struct aa_label *tmp = ctx->nnp; in aa_replace_current_label()66 ctx->nnp = aa_get_newest_label(tmp); in aa_replace_current_label()
906 !ctx->nnp) in apparmor_bprm_set_creds()907 ctx->nnp = aa_get_label(label); in apparmor_bprm_set_creds()938 !unconfined(label) && !aa_label_is_subset(new, ctx->nnp)) { in apparmor_bprm_set_creds()1188 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat()1189 ctx->nnp = aa_get_label(label); in aa_change_hat()1216 !aa_label_is_subset(new, ctx->nnp)) { in aa_change_hat()1237 !aa_label_is_subset(previous, ctx->nnp)) { in aa_change_hat()1333 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_profile()1334 ctx->nnp = aa_get_label(label); in aa_change_profile()1433 !aa_label_is_subset(new, ctx->nnp)) { in aa_change_profile()
27 struct aa_label *nnp; member57 aa_put_label(ctx->nnp); in aa_free_task_ctx()74 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()
2417 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local2422 if (!nnp && !nosuid) in check_nnp_nosuid()2436 if (nnp) in check_nnp_nosuid()2462 if (nnp) in check_nnp_nosuid()