Searched refs:onexec (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/security/apparmor/include/ |
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-6.1.9/security/apparmor/ |
D | task.c | 103 aa_put_label(ctx->onexec); in aa_set_current_onexec() 104 ctx->onexec = label; in aa_set_current_onexec() 144 aa_put_label(ctx->onexec); in aa_set_current_hat() 145 ctx->onexec = NULL; in aa_set_current_hat()
|
D | domain.c | 721 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument 732 AA_BUG(!onexec); in profile_onexec() 769 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec() 780 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec() 788 NULL, onexec, cond->uid, info, error); in profile_onexec() 794 struct aa_label *onexec, bool stack, in handle_onexec() argument 804 AA_BUG(!onexec); in handle_onexec() 810 profile_onexec(profile, onexec, stack, in handle_onexec() 815 aa_get_newest_label(onexec), in handle_onexec() 822 profile_onexec(profile, onexec, stack, bprm, in handle_onexec() [all …]
|
D | lsm.c | 630 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr() 631 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()
|