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 | domain.c | 794 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() 802 const char *xname = NULL, *info = "change_profile onexec"; in profile_onexec() 806 AA_BUG(!onexec); in profile_onexec() 838 /* test if this exec can be paired with change_profile onexec. in profile_onexec() 839 * onexec permission is linked to exec with a standard pairing in profile_onexec() 843 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec() 854 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec() 863 NULL, onexec, cond->uid, info, error); in profile_onexec() 866 /* ensure none ns domain transitions are correctly applied with onexec */ 879 struct aa_label *onexec, boo in handle_onexec() 793 profile_onexec(const struct cred * subj_cred,struct aa_profile * profile,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * secure_exec) profile_onexec() argument 869 handle_onexec(const struct cred * subj_cred,struct aa_label * label,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * unsafe) handle_onexec() argument [all...] |
| H A D | task.c | 94 * aa_set_current_onexec - set the tasks change_profile to happen onexec 103 aa_put_label(ctx->onexec); in aa_set_current_onexec() 104 ctx->onexec = label; in aa_set_current_onexec() 142 aa_put_label(ctx->onexec); in aa_set_current_hat() 143 ctx->onexec = NULL; in aa_set_current_hat()
|
| H A D | lsm.c | 799 if (ctx->onexec) in apparmor_getselfattr() 800 label = aa_get_newest_label(ctx->onexec); in apparmor_getselfattr() 833 else if (strcmp(name, "exec") == 0 && task_ctx(task)->onexec) in apparmor_getprocattr() 834 label = aa_get_newest_label(task_ctx(task)->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
|