Lines Matching refs:onexec
722 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
733 AA_BUG(!onexec); in profile_onexec()
770 error = change_profile_perms(profile, onexec, stack, AA_MAY_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()
895 if (ctx->onexec) in apparmor_bprm_creds_for_exec()
896 new = handle_onexec(label, ctx->onexec, ctx->token, in apparmor_bprm_creds_for_exec()