Searched refs:onexec (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/security/apparmor/include/ |
D | task.h | 28 struct aa_label *onexec; member 59 aa_put_label(ctx->onexec); in aa_free_task_ctx() 76 aa_get_label(new->onexec); in aa_dup_task_ctx() 88 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans() 90 ctx->onexec = NULL; in aa_clear_task_ctx_trans()
|
/Linux-v4.19/security/apparmor/ |
D | task.c | 102 aa_put_label(ctx->onexec); in aa_set_current_onexec() 103 ctx->onexec = label; in aa_set_current_onexec() 143 aa_put_label(ctx->onexec); in aa_set_current_hat() 144 ctx->onexec = NULL; in aa_set_current_hat()
|
D | domain.c | 743 static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument 754 AA_BUG(!onexec); in profile_onexec() 791 error = change_profile_perms(profile, onexec, stack, AA_MAY_ONEXEC, in profile_onexec() 802 aa_label_printk(onexec, GFP_ATOMIC); in profile_onexec() 810 NULL, onexec, cond->uid, info, error); in profile_onexec() 816 struct aa_label *onexec, bool stack, in handle_onexec() argument 826 AA_BUG(!onexec); in handle_onexec() 832 profile_onexec(profile, onexec, stack, in handle_onexec() 837 aa_get_newest_label(onexec), in handle_onexec() 844 profile_onexec(profile, onexec, stack, bprm, in handle_onexec() [all …]
|
D | lsm.c | 594 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr() 595 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()
|