Lines Matching refs:onexec
734 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
747 AA_BUG(!onexec); in profile_onexec()
784 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec()
795 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
804 NULL, onexec, cond->uid, info, error); in profile_onexec()
811 struct aa_label *onexec, bool stack, in handle_onexec() argument
821 AA_BUG(!onexec); in handle_onexec()
827 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec()
832 aa_get_newest_label(onexec), in handle_onexec()
840 profile_onexec(subj_cred, profile, onexec, stack, bprm, in handle_onexec()
845 aa_label_merge(&profile->label, onexec, in handle_onexec()
860 onexec, GLOBAL_ROOT_UID, in handle_onexec()
916 if (ctx->onexec) in apparmor_bprm_creds_for_exec()
917 new = handle_onexec(subj_cred, label, ctx->onexec, ctx->token, in apparmor_bprm_creds_for_exec()