Searched refs:aa_task_cxt (Results 1 – 4 of 4) sorted by relevance
71 struct aa_task_cxt { struct78 struct aa_task_cxt *aa_alloc_task_context(gfp_t flags); argument79 void aa_free_task_context(struct aa_task_cxt *cxt);80 void aa_dup_task_context(struct aa_task_cxt *new,81 const struct aa_task_cxt *old);99 struct aa_task_cxt *cxt = cred_cxt(cred); in aa_cred_profile()151 const struct aa_task_cxt *cxt = current_cxt(); in aa_current_profile()169 static inline void aa_clear_task_cxt_trans(struct aa_task_cxt *cxt) in aa_clear_task_cxt_trans()
38 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()96 struct aa_task_cxt *cxt = current_cxt(); in aa_replace_current_profile()134 struct aa_task_cxt *cxt; in aa_set_current_onexec()160 struct aa_task_cxt *cxt; in aa_set_current_hat()198 struct aa_task_cxt *cxt; in aa_restore_previous_profile()
61 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 = 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()872 struct aa_task_cxt *cxt; in set_init_cxt()
339 struct aa_task_cxt *cxt; in apparmor_bprm_set_creds()548 struct aa_task_cxt *new_cxt = cred_cxt(bprm->cred); in apparmor_bprm_committing_creds()607 struct aa_task_cxt *cxt; in aa_change_hat()