Home
last modified time | relevance | path

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

/linux-3.4.99/security/apparmor/include/
Dcontext.h68 struct aa_task_cxt { struct
75 struct aa_task_cxt *aa_alloc_task_context(gfp_t flags); argument
76 void aa_free_task_context(struct aa_task_cxt *cxt);
77 void aa_dup_task_context(struct aa_task_cxt *new,
78 const struct aa_task_cxt *old);
92 struct aa_task_cxt *cxt = __task_cred(task)->security; in __aa_task_is_confined()
111 struct aa_task_cxt *cxt = cred->security; in aa_cred_profile()
139 const struct aa_task_cxt *cxt = current_cred()->security; in aa_current_profile()
/linux-3.4.99/security/apparmor/
Dcontext.c38 struct aa_task_cxt *aa_alloc_task_context(gfp_t flags) in aa_alloc_task_context()
40 return kzalloc(sizeof(struct aa_task_cxt), flags); in aa_alloc_task_context()
47 void aa_free_task_context(struct aa_task_cxt *cxt) in aa_free_task_context()
63 void aa_dup_task_context(struct aa_task_cxt *new, const struct aa_task_cxt *old) in aa_dup_task_context()
79 struct aa_task_cxt *cxt = current_cred()->security; in aa_replace_current_profile()
121 struct aa_task_cxt *cxt; in aa_set_current_onexec()
147 struct aa_task_cxt *cxt; in aa_set_current_hat()
185 struct aa_task_cxt *cxt; in aa_restore_previous_profile()
Dlsm.c61 struct aa_task_cxt *cxt = aa_alloc_task_context(gfp); in apparmor_cred_alloc_blank()
76 struct aa_task_cxt *cxt = aa_alloc_task_context(gfp); in apparmor_cred_prepare()
90 const struct aa_task_cxt *old_cxt = old->security; in apparmor_cred_transfer()
91 struct aa_task_cxt *new_cxt = new->security; in apparmor_cred_transfer()
521 struct aa_task_cxt *cxt = cred->security; in apparmor_getprocattr()
889 struct aa_task_cxt *cxt; in set_init_cxt()
Ddomain.c345 struct aa_task_cxt *cxt; in apparmor_bprm_set_creds()
545 struct aa_task_cxt *new_cxt = bprm->cred->security; in apparmor_bprm_committing_creds()
604 struct aa_task_cxt *cxt; in aa_change_hat()
730 struct aa_task_cxt *cxt; in aa_change_profile()