Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/
Dtask.c83 aa_put_label(cred_label(new)); in aa_replace_current_label()
84 cred_label(new) = label; in aa_replace_current_label()
131 ctx->previous = cred_label(new); in aa_set_current_hat()
134 aa_put_label(cred_label(new)); in aa_set_current_hat()
141 cred_label(new) = aa_get_newest_label(label); in aa_set_current_hat()
174 aa_put_label(cred_label(new)); in aa_restore_previous_label()
175 cred_label(new) = aa_get_newest_label(ctx->previous); in aa_restore_previous_label()
176 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
Dlsm.c59 aa_put_label(cred_label(cred)); in apparmor_cred_free()
60 cred_label(cred) = NULL; in apparmor_cred_free()
68 cred_label(cred) = NULL; in apparmor_cred_alloc_blank()
78 cred_label(new) = aa_get_newest_label(cred_label(old)); in apparmor_cred_prepare()
87 cred_label(new) = aa_get_newest_label(cred_label(old)); in apparmor_cred_transfer()
591 label = aa_get_newest_label(cred_label(cred)); in apparmor_getprocattr()
688 struct aa_label *new_label = cred_label(bprm->cred); in apparmor_bprm_committing_creds()
1458 cred_label(cred) = aa_get_label(ns_unconfined(root_ns)); in set_init_ctx()
Ddomain.c893 AA_BUG(!cred_label(bprm->cred)); in apparmor_bprm_set_creds()
896 label = aa_get_newest_label(cred_label(bprm->cred)); in apparmor_bprm_set_creds()
976 aa_put_label(cred_label(bprm->cred)); in apparmor_bprm_set_creds()
978 cred_label(bprm->cred) = new; in apparmor_bprm_set_creds()
/Linux-v4.19/security/apparmor/include/
Dcred.h26 #define cred_label(X) ((X)->security) macro
39 struct aa_label *label = cred_label(cred); in aa_cred_raw_label()