Searched refs:onexec (Results 1 – 5 of 5) sorted by relevance
/linux/security/apparmor/include/ |
H A D | task.h | 27 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 D | task.c | 102 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 D | domain.c | 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() [all …]
|
H A D | lsm.c | 799 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/Documentation/arch/powerpc/ |
H A D | dexcr.rst | 102 * ctrl is a bitmask. ``PR_PPC_GET_DEXCR`` returns both the current and onexec
|