Lines Matching refs:onexec
720 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()
826 aa_label_merge(&profile->label, onexec, in handle_onexec()
839 onexec, GLOBAL_ROOT_UID, in handle_onexec()
891 if (ctx->onexec) in apparmor_bprm_creds_for_exec()
892 new = handle_onexec(label, ctx->onexec, ctx->token, in apparmor_bprm_creds_for_exec()