Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/security/apparmor/
A Dtask.c103 aa_put_label(ctx->onexec); in aa_set_current_onexec()
104 ctx->onexec = label; in aa_set_current_onexec()
144 aa_put_label(ctx->onexec); in aa_set_current_hat()
145 ctx->onexec = NULL; in aa_set_current_hat()
A Ddomain.c735 AA_BUG(!onexec); in profile_onexec()
783 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
791 NULL, onexec, cond->uid, info, error); in profile_onexec()
797 struct aa_label *onexec, bool stack, in handle_onexec() argument
807 AA_BUG(!onexec); in handle_onexec()
813 profile_onexec(profile, onexec, stack, in handle_onexec()
818 aa_get_newest_label(onexec), in handle_onexec()
825 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
830 aa_label_merge(&profile->label, onexec, in handle_onexec()
843 onexec, GLOBAL_ROOT_UID, in handle_onexec()
[all …]
A Dlsm.c645 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
646 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()

Completed in 11 milliseconds