Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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.c737 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
750 AA_BUG(!onexec); in profile_onexec()
798 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
807 NULL, onexec, cond->uid, info, error); in profile_onexec()
814 struct aa_label *onexec, bool stack, in handle_onexec() argument
824 AA_BUG(!onexec); in handle_onexec()
830 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec()
836 stack ? aa_label_merge(&profile->label, onexec, in handle_onexec()
838 : aa_get_newest_label(onexec), in handle_onexec()
849 onexec, GLOBAL_ROOT_UID, in handle_onexec()
[all …]
H A Dlsm.c799 if (ctx->onexec) in apparmor_getselfattr()
800 label = aa_get_newest_label(ctx->onexec); in apparmor_getselfattr()
835 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
836 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()
/linux-6.15/Documentation/arch/powerpc/
H A Ddexcr.rst102 * ctrl is a bitmask. ``PR_PPC_GET_DEXCR`` returns both the current and onexec