Home
last modified time | relevance | path

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

/linux-4.1.27/security/apparmor/
Dcontext.c52 aa_put_profile(cxt->onexec); in aa_free_task_context()
68 aa_get_profile(new->onexec); in aa_dup_task_context()
141 aa_put_profile(cxt->onexec); in aa_set_current_onexec()
142 cxt->onexec = profile; in aa_set_current_onexec()
180 aa_put_profile(cxt->onexec); in aa_set_current_hat()
181 cxt->onexec = NULL; in aa_set_current_hat()
Ddomain.c384 if (cxt->onexec) in apparmor_bprm_set_creds()
386 new_profile = aa_get_profile(cxt->onexec); in apparmor_bprm_set_creds()
401 if (cxt->onexec) { in apparmor_bprm_set_creds()
412 cp = change_profile_perms(profile, cxt->onexec->ns, in apparmor_bprm_set_creds()
413 cxt->onexec->base.name, in apparmor_bprm_set_creds()
418 new_profile = aa_get_newest_profile(cxt->onexec); in apparmor_bprm_set_creds()
747 int aa_change_profile(const char *ns_name, const char *hname, bool onexec, in aa_change_profile() argument
761 if (onexec) { in aa_change_profile()
839 if (onexec) in aa_change_profile()
Dprocattr.c159 int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test) in aa_setprocattr_changeprofile() argument
164 return aa_change_profile(ns_name, name, onexec, test); in aa_setprocattr_changeprofile()
Dlsm.c517 else if (strcmp(name, "exec") == 0 && cxt->onexec) in apparmor_getprocattr()
518 profile = aa_get_newest_profile(cxt->onexec); in apparmor_getprocattr()
/linux-4.1.27/security/apparmor/include/
Dcontext.h73 struct aa_profile *onexec; member
172 aa_put_profile(cxt->onexec); in aa_clear_task_cxt_trans()
174 cxt->onexec = NULL; in aa_clear_task_cxt_trans()
Dprocattr.h23 int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test);
Ddomain.h33 int aa_change_profile(const char *ns_name, const char *name, bool onexec,