Home
last modified time | relevance | path

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

/linux-3.4.99/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()
96 aa_put_profile(cxt->onexec); in aa_replace_current_profile()
98 cxt->onexec = NULL; in aa_replace_current_profile()
128 aa_put_profile(cxt->onexec); in aa_set_current_onexec()
129 cxt->onexec = profile; in aa_set_current_onexec()
167 aa_put_profile(cxt->onexec); in aa_set_current_hat()
168 cxt->onexec = NULL; in aa_set_current_hat()
211 aa_put_profile(cxt->onexec); in aa_restore_previous_profile()
212 cxt->onexec = NULL; in aa_restore_previous_profile()
Ddomain.c390 if (cxt->onexec) in apparmor_bprm_set_creds()
392 new_profile = aa_get_profile(cxt->onexec); in apparmor_bprm_set_creds()
402 if (cxt->onexec) { in apparmor_bprm_set_creds()
413 cp = change_profile_perms(profile, cxt->onexec->ns, in apparmor_bprm_set_creds()
414 cxt->onexec->base.name, in apparmor_bprm_set_creds()
419 new_profile = aa_get_profile(aa_newest_version(cxt->onexec)); in apparmor_bprm_set_creds()
503 aa_put_profile(cxt->onexec); in apparmor_bprm_set_creds()
505 cxt->onexec = NULL; in apparmor_bprm_set_creds()
726 int aa_change_profile(const char *ns_name, const char *hname, bool onexec, in aa_change_profile() argument
741 if (onexec) { in aa_change_profile()
[all …]
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.c530 else if (strcmp(name, "exec") == 0 && cxt->onexec) in apparmor_getprocattr()
531 error = aa_getprocattr(aa_newest_version(cxt->onexec), in apparmor_getprocattr()
/linux-3.4.99/security/apparmor/include/
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,
Dcontext.h70 struct aa_profile *onexec; member