Searched refs:aa_task_ctx (Results 1 – 4 of 4) sorted by relevance
26 struct aa_task_ctx { struct45 static inline struct aa_task_ctx *aa_alloc_task_ctx(gfp_t flags) in aa_alloc_task_ctx() argument47 return kzalloc(sizeof(struct aa_task_ctx), flags); in aa_alloc_task_ctx()54 static inline void aa_free_task_ctx(struct aa_task_ctx *ctx) in aa_free_task_ctx()70 static inline void aa_dup_task_ctx(struct aa_task_ctx *new, in aa_dup_task_ctx()71 const struct aa_task_ctx *old) in aa_dup_task_ctx()83 static inline void aa_clear_task_ctx_trans(struct aa_task_ctx *ctx) in aa_clear_task_ctx_trans()
48 struct aa_task_ctx *ctx = task_ctx(current); in aa_replace_current_label()99 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_onexec()121 struct aa_task_ctx *ctx = task_ctx(current); in aa_set_current_hat()161 struct aa_task_ctx *ctx = task_ctx(current); in aa_restore_previous_label()
877 struct aa_task_ctx *ctx; in apparmor_bprm_set_creds()1169 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_hat()1319 struct aa_task_ctx *ctx = task_ctx(current); in aa_change_profile()
100 struct aa_task_ctx *new = aa_alloc_task_ctx(GFP_KERNEL); in apparmor_task_alloc()587 struct aa_task_ctx *ctx = task_ctx(current); in apparmor_getprocattr()1452 struct aa_task_ctx *ctx; in set_init_ctx()