Lines Matching refs:onexec
739 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
750 AA_BUG(!onexec); in profile_onexec()
787 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
798 aa_label_printk(onexec, GFP_ATOMIC); in profile_onexec()
806 NULL, onexec, cond->uid, info, error); in profile_onexec()
812 struct aa_label *onexec, bool stack, in handle_onexec() argument
822 AA_BUG(!onexec); in handle_onexec()
828 profile_onexec(profile, onexec, stack, in handle_onexec()
833 aa_get_newest_label(onexec), in handle_onexec()
840 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
845 aa_label_merge(&profile->label, onexec, in handle_onexec()
858 onexec, GLOBAL_ROOT_UID, in handle_onexec()
908 if (ctx->onexec) in apparmor_bprm_set_creds()
909 new = handle_onexec(label, ctx->onexec, ctx->token, in apparmor_bprm_set_creds()