Home
last modified time | relevance | path

Searched refs:onexec (Results 1 – 6 of 6) sorted by relevance

/linux/security/apparmor/include/
H A Dtask.h27 struct aa_label *onexec; member
47 aa_put_label(ctx->onexec); in aa_free_task_ctx()
62 aa_get_label(new->onexec); in aa_dup_task_ctx()
74 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans()
76 ctx->onexec = NULL; in aa_clear_task_ctx_trans()
/linux/security/apparmor/
H A Dtask.c102 aa_put_label(ctx->onexec); in aa_set_current_onexec()
103 ctx->onexec = label; in aa_set_current_onexec()
141 aa_put_label(ctx->onexec); in aa_set_current_hat()
142 ctx->onexec = NULL; in aa_set_current_hat()
H A Ddomain.c793 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()
[all …]
H A Dlsm.c806 if (ctx->onexec) in apparmor_getselfattr()
807 label = aa_get_newest_label(ctx->onexec); in apparmor_getselfattr()
842 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
843 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()
/linux/arch/arm64/kernel/
H A Dfpsimd.c864 bool onexec = flags & PR_SVE_SET_VL_ONEXEC; in vec_set_vector_length() local
885 if (!onexec && vl != task_get_vl(task, type)) { in vec_set_vector_length()
890 if (onexec || inherit) in vec_set_vector_length()
/linux/Documentation/arch/powerpc/
H A Ddexcr.rst102 * ctrl is a bitmask. ``PR_PPC_GET_DEXCR`` returns both the current and onexec