Home
last modified time | relevance | path

Searched refs:onexec (Results 1 – 4 of 4) sorted by relevance

/security/apparmor/include/
A Dtask.h27 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()
/security/apparmor/
A Dtask.c102 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()
A Ddomain.c793 struct aa_profile *profile, struct aa_label *onexec, in profile_onexec() argument
805 AA_BUG(!onexec); in profile_onexec()
853 aa_label_printk(onexec, GFP_KERNEL); in profile_onexec()
862 NULL, onexec, cond->uid, info, error); in profile_onexec()
869 struct aa_label *onexec, bool stack, in handle_onexec() argument
879 AA_BUG(!onexec); in handle_onexec()
885 profile_onexec(subj_cred, profile, onexec, stack, in handle_onexec()
891 stack ? aa_label_merge(&profile->label, onexec, in handle_onexec()
893 : aa_get_newest_label(onexec), in handle_onexec()
904 onexec, GLOBAL_ROOT_UID, in handle_onexec()
[all …]
A Dlsm.c805 if (ctx->onexec) in apparmor_getselfattr()
806 label = aa_get_newest_label(ctx->onexec); in apparmor_getselfattr()
841 else if (strcmp(name, "exec") == 0 && ctx->onexec) in apparmor_getprocattr()
842 label = aa_get_newest_label(ctx->onexec); in apparmor_getprocattr()

Completed in 14 milliseconds