Searched refs:nnp (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | task.h | 20 * @nnp: snapshot of label at time of no_new_privs 26 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()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | task.c | 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()
|
H A D | domain.c | 874 * occurred under. Ideally this would happen when nnp in apparmor_bprm_creds_for_exec() 880 !ctx->nnp) in apparmor_bprm_creds_for_exec() 881 ctx->nnp = aa_get_label(label); in apparmor_bprm_creds_for_exec() 918 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in apparmor_bprm_creds_for_exec() 1163 * occurred under. Ideally this would happen when nnp in aa_change_hat() 1168 if (task_no_new_privs(current) && !unconfined(label) && !ctx->nnp) in aa_change_hat() 1169 ctx->nnp = aa_get_label(label); in aa_change_hat() 1196 !aa_label_is_unconfined_subset(new, ctx->nnp)) { in aa_change_hat() 1217 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat() 1308 * occurred under. Ideally this would happen when nnp in aa_change_profile() [all...] |
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | task.h | 20 * @nnp: snapshot of label at time of no_new_privs 26 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()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | task.c | 64 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()
|
H A D | domain.c | 897 * occurred under. Ideally this would happen when nnp in apparmor_bprm_creds_for_exec() 903 !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() 1192 * occurred under. Ideally this would happen when nnp in aa_change_hat() 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() 1343 * occurred under. Ideally this would happen when nnp in aa_change_profile() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | leon_kernel.c | 308 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()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | leon_kernel.c | 306 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()
|
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 2252 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local 2257 if (!nnp && !nosuid) in check_nnp_nosuid() 2271 if (nnp) in check_nnp_nosuid() 2297 if (nnp) in check_nnp_nosuid()
|
/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 2243 int nnp = (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS); in check_nnp_nosuid() local 2248 if (!nnp && !nosuid) in check_nnp_nosuid() 2262 if (nnp) in check_nnp_nosuid() 2287 if (nnp) in check_nnp_nosuid()
|
Completed in 24 milliseconds