Lines Matching refs:onexec
743 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
754 AA_BUG(!onexec); in profile_onexec()
791 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
802 aa_label_printk(onexec, GFP_ATOMIC); in profile_onexec()
810 NULL, onexec, cond->uid, info, error); in profile_onexec()
816 struct aa_label *onexec, bool stack, in handle_onexec() argument
826 AA_BUG(!onexec); in handle_onexec()
832 profile_onexec(profile, onexec, stack, in handle_onexec()
837 aa_get_newest_label(onexec), in handle_onexec()
844 profile_onexec(profile, onexec, stack, bprm, in handle_onexec()
849 aa_label_merge(&profile->label, onexec, in handle_onexec()
862 onexec, GLOBAL_ROOT_UID, in handle_onexec()
912 if (ctx->onexec) in apparmor_bprm_set_creds()
913 new = handle_onexec(label, ctx->onexec, ctx->token, in apparmor_bprm_set_creds()