Searched refs:onexec (Results 1 – 6 of 6) sorted by relevance
| /linux/security/apparmor/include/ |
| H A D | task.h | 36 struct aa_label *onexec; member 59 aa_put_label(ctx->onexec); in aa_free_task_ctx() 72 new->onexec = aa_get_label(old->onexec); in aa_dup_task_ctx() 86 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans() 88 ctx->onexec = NULL; in aa_clear_task_ctx_trans()
|
| /linux/security/apparmor/ |
| H A D | domain.c | 799 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument 811 AA_BUG(!onexec); in profile_onexec() 848 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec() 859 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec() 868 NULL, onexec, cond->uid, info, error); in profile_onexec() 930 struct aa_label *onexec, bool stack, in handle_onexec() argument 940 AA_BUG(!onexec); in handle_onexec() 948 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec() 954 stack ? label_merge_wrap(&profile->label, onexec, in handle_onexec() 958 bprm->filename, onexec, in handle_onexec() [all …]
|
| H A D | task.c | 130 aa_put_label(ctx->onexec); in aa_set_current_onexec() 131 ctx->onexec = label; in aa_set_current_onexec() 169 aa_put_label(ctx->onexec); in aa_set_current_hat() 170 ctx->onexec = NULL; in aa_set_current_hat()
|
| H A D | lsm.c | 804 if (ctx->onexec) in apparmor_getselfattr() 805 label = aa_get_newest_label(ctx->onexec); in apparmor_getselfattr() 838 else if (strcmp(name, "exec") == 0 && task_ctx(task)->onexec) in apparmor_getprocattr() 839 label = aa_get_newest_label(task_ctx(task)->onexec); in apparmor_getprocattr()
|
| /linux/arch/arm64/kernel/ |
| H A D | fpsimd.c | 870 bool onexec = flags & PR_SVE_SET_VL_ONEXEC; in vec_set_vector_length() local 891 if (!onexec && vl != task_get_vl(task, type)) { in vec_set_vector_length() 896 if (onexec || inherit) in vec_set_vector_length()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | dexcr.rst | 102 * ctrl is a bitmask. ``PR_PPC_GET_DEXCR`` returns both the current and onexec
|