Lines Matching refs:onexec
793 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
805 AA_BUG(!onexec); in profile_onexec()
842 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
853 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
862 NULL, onexec, cond->uid, info, error); in profile_onexec()
869 struct aa_label *onexec, bool stack, in handle_onexec() argument
879 AA_BUG(!onexec); in handle_onexec()
885 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec()
891 stack ? aa_label_merge(&profile->label, onexec, in handle_onexec()
893 : aa_get_newest_label(onexec), in handle_onexec()
904 onexec, GLOBAL_ROOT_UID, in handle_onexec()
960 if (ctx->onexec) in apparmor_bprm_creds_for_exec()
961 new = handle_onexec(subj_cred, label, ctx->onexec, ctx->token, in apparmor_bprm_creds_for_exec()