Home
last modified time | relevance | path

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

/security/apparmor/include/
A Dtask.h28 struct aa_label *previous; member
46 aa_put_label(ctx->previous); in aa_free_task_ctx()
61 aa_get_label(new->previous); in aa_dup_task_ctx()
73 aa_put_label(ctx->previous); in aa_clear_task_ctx_trans()
75 ctx->previous = NULL; in aa_clear_task_ctx_trans()
/security/apparmor/
A Dtask.c127 if (!ctx->previous) { in aa_set_current_hat()
129 ctx->previous = cred_label(new); in aa_set_current_hat()
165 if (!ctx->previous) in aa_restore_previous_label()
173 set_cred_label(new, aa_get_newest_label(ctx->previous)); in aa_restore_previous_label()
A Ddomain.c1225 struct aa_label *label, *previous, *new = NULL, *target = NULL; in aa_change_hat() local
1234 previous = aa_get_newest_label(ctx->previous); in aa_change_hat()
1302 } else if (previous && !(flags & AA_CHANGE_TEST)) { in aa_change_hat()
1308 !aa_label_is_unconfined_subset(previous, ctx->nnp)) { in aa_change_hat()
1319 target = previous; in aa_change_hat()
1330 aa_put_label(previous); in aa_change_hat()
A Dlsm.c801 if (ctx->previous) in apparmor_getselfattr()
802 label = aa_get_newest_label(ctx->previous); in apparmor_getselfattr()
839 else if (strcmp(name, "prev") == 0 && ctx->previous) in apparmor_getprocattr()
840 label = aa_get_newest_label(ctx->previous); in apparmor_getprocattr()
/security/
A DKconfig.hardening147 previous syscalls. Although this information is not precise, it

Completed in 14 milliseconds