Lines Matching refs:onexec
720 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec,
727 const char *xname = NULL, *info = "change_profile onexec";
731 AA_BUG(!onexec);
763 /* test if this exec can be paired with change_profile onexec.
764 * onexec permission is linked to exec with a standard pairing
768 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC,
779 aa_label_printk(onexec, GFP_KERNEL);
787 NULL, onexec, cond->uid, info, error);
790 /* ensure none ns domain transitions are correctly applied with onexec */
793 struct aa_label *onexec, bool stack,
803 AA_BUG(!onexec);
809 profile_onexec(profile, onexec, stack,
814 aa_get_newest_label(onexec),
821 profile_onexec(profile, onexec, stack, bprm,
826 aa_label_merge(&profile->label, onexec,
839 onexec, GLOBAL_ROOT_UID,
890 /* Test for onexec first as onexec override other x transitions. */
891 if (ctx->onexec)
892 new = handle_onexec(label, ctx->onexec, ctx->token,
1280 * @onexec: whether this transition is to take place immediately or at exec
1286 * If @onexec then the transition is delayed until