Home
last modified time | relevance | path

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

/linux-4.4.14/security/apparmor/
Dcontext.c107 cxt = cred_cxt(new); in aa_replace_current_profile()
139 cxt = cred_cxt(new); in aa_set_current_onexec()
166 cxt = cred_cxt(new); in aa_set_current_hat()
203 cxt = cred_cxt(new); in aa_restore_previous_profile()
Dlsm.c51 aa_free_task_context(cred_cxt(cred)); in apparmor_cred_free()
52 cred_cxt(cred) = NULL; in apparmor_cred_free()
65 cred_cxt(cred) = cxt; in apparmor_cred_alloc_blank()
80 aa_dup_task_context(cxt, cred_cxt(old)); in apparmor_cred_prepare()
81 cred_cxt(new) = cxt; in apparmor_cred_prepare()
90 const struct aa_task_cxt *old_cxt = cred_cxt(old); in apparmor_cred_transfer()
91 struct aa_task_cxt *new_cxt = cred_cxt(new); in apparmor_cred_transfer()
500 struct aa_task_cxt *cxt = cred_cxt(cred); in apparmor_getprocattr()
879 cred_cxt(cred) = cxt; in set_init_cxt()
Ddomain.c355 cxt = cred_cxt(bprm->cred); in apparmor_bprm_set_creds()
548 struct aa_task_cxt *new_cxt = cred_cxt(bprm->cred); in apparmor_bprm_committing_creds()
625 cxt = cred_cxt(cred); in aa_change_hat()
/linux-4.4.14/security/apparmor/include/
Dcontext.h24 #define cred_cxt(X) (X)->security macro
25 #define current_cxt() cred_cxt(current_cred())
99 struct aa_task_cxt *cxt = cred_cxt(cred); in aa_cred_profile()