Searched refs:aa_task_ctx (Results 1 – 4 of 4) sorted by relevance
38 struct aa_task_ctx *aa_alloc_task_context(gfp_t flags) in aa_alloc_task_context()40 return kzalloc(sizeof(struct aa_task_ctx), flags); in aa_alloc_task_context()47 void aa_free_task_context(struct aa_task_ctx *ctx) in aa_free_task_context()63 void aa_dup_task_context(struct aa_task_ctx *new, const struct aa_task_ctx *old) in aa_dup_task_context()96 struct aa_task_ctx *ctx = current_ctx(); in aa_replace_current_label()139 struct aa_task_ctx *ctx; in aa_set_current_onexec()166 struct aa_task_ctx *ctx; in aa_set_current_hat()204 struct aa_task_ctx *ctx; in aa_restore_previous_label()
68 struct aa_task_ctx *ctx = aa_alloc_task_context(gfp); in apparmor_cred_alloc_blank()84 struct aa_task_ctx *ctx = aa_alloc_task_context(gfp); in apparmor_cred_prepare()99 const struct aa_task_ctx *old_ctx = cred_ctx(old); in apparmor_cred_transfer()100 struct aa_task_ctx *new_ctx = cred_ctx(new); in apparmor_cred_transfer()580 struct aa_task_ctx *ctx = cred_ctx(cred); in apparmor_getprocattr()681 struct aa_task_ctx *new_ctx = cred_ctx(bprm->cred); in apparmor_bprm_committing_creds()1027 struct aa_task_ctx *ctx; in set_init_ctx()
749 struct aa_task_ctx *ctx; in apparmor_bprm_set_creds()1019 struct aa_task_ctx *ctx; in aa_change_hat()
40 struct aa_task_ctx { struct47 struct aa_task_ctx *aa_alloc_task_context(gfp_t flags); argument48 void aa_free_task_context(struct aa_task_ctx *ctx);49 void aa_dup_task_context(struct aa_task_ctx *new,50 const struct aa_task_ctx *old);68 struct aa_task_ctx *ctx = cred_ctx(cred); in aa_cred_raw_label()222 static inline void aa_clear_task_ctx_trans(struct aa_task_ctx *ctx) in aa_clear_task_ctx_trans()