Home
last modified time | relevance | path

Searched refs:onexec (Results 1 – 4 of 4) sorted by relevance

/linux/security/apparmor/include/
A Dtask.h27 struct aa_label *onexec; member
47 aa_put_label(ctx->onexec); in aa_free_task_ctx()
62 aa_get_label(new->onexec); in aa_dup_task_ctx()
74 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans()
76 ctx->onexec = NULL; in aa_clear_task_ctx_trans()
/linux/security/apparmor/
A Dtask.c98 aa_put_label(ctx->onexec); in aa_set_current_onexec()
99 ctx->onexec = label; in aa_set_current_onexec()
139 aa_put_label(ctx->onexec); in aa_set_current_hat()
140 ctx->onexec = NULL; in aa_set_current_hat()
A Ddomain.c733 AA_BUG(!onexec); in profile_onexec()
781 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
789 NULL, onexec, cond->uid, info, error); in profile_onexec()
795 struct aa_label *onexec, bool stack, in handle_onexec() argument
805 AA_BUG(!onexec); in handle_onexec()
811 profile_onexec(profile, onexec, stack, in handle_onexec()
816 aa_get_newest_label(onexec), in handle_onexec()
823 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
828 aa_label_merge(&profile->label, onexec, in handle_onexec()
841 onexec, GLOBAL_ROOT_UID, in handle_onexec()
[all …]
A Dlsm.c610 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
611 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()

Completed in 12 milliseconds