Lines Matching refs:onexec
721 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
732 AA_BUG(!onexec); in profile_onexec()
769 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
780 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
788 NULL, onexec, cond->uid, info, error); in profile_onexec()
794 struct aa_label *onexec, bool stack, in handle_onexec() argument
804 AA_BUG(!onexec); in handle_onexec()
810 profile_onexec(profile, onexec, stack, in handle_onexec()
815 aa_get_newest_label(onexec), in handle_onexec()
822 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
827 aa_label_merge(&profile->label, onexec, in handle_onexec()
840 onexec, GLOBAL_ROOT_UID, in handle_onexec()
894 if (ctx->onexec) in apparmor_bprm_creds_for_exec()
895 new = handle_onexec(label, ctx->onexec, ctx->token, in apparmor_bprm_creds_for_exec()