Home
last modified time | relevance | path

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

/Linux-v5.10/security/apparmor/include/
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-v5.10/security/apparmor/
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()
Ddomain.c720 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
731 AA_BUG(!onexec); in profile_onexec()
768 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
779 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
787 NULL, onexec, cond->uid, info, error); in profile_onexec()
793 struct aa_label *onexec, bool stack, in handle_onexec() argument
803 AA_BUG(!onexec); in handle_onexec()
809 profile_onexec(profile, onexec, stack, in handle_onexec()
814 aa_get_newest_label(onexec), in handle_onexec()
821 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
[all …]
Dlsm.c601 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
602 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()