Searched refs:cred_ctx (Results 1 – 4 of 4) sorted by relevance
110 ctx = cred_ctx(new); in aa_replace_current_label()144 ctx = cred_ctx(new); in aa_set_current_onexec()172 ctx = cred_ctx(new); in aa_set_current_hat()209 ctx = cred_ctx(new); in aa_restore_previous_label()
58 aa_free_task_context(cred_ctx(cred)); in apparmor_cred_free()59 cred_ctx(cred) = NULL; in apparmor_cred_free()73 cred_ctx(cred) = ctx; in apparmor_cred_alloc_blank()89 aa_dup_task_context(ctx, cred_ctx(old)); in apparmor_cred_prepare()90 cred_ctx(new) = ctx; 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()1034 cred_ctx(cred) = ctx; in set_init_ctx()
764 ctx = cred_ctx(bprm->cred); in apparmor_bprm_set_creds()1039 ctx = cred_ctx(cred); in aa_change_hat()
25 #define cred_ctx(X) ((X)->security) macro26 #define current_ctx() cred_ctx(current_cred())68 struct aa_task_ctx *ctx = cred_ctx(cred); in aa_cred_raw_label()