Searched refs:cred_label (Results 1 – 4 of 4) sorted by relevance
79 aa_put_label(cred_label(new)); in aa_replace_current_label()127 ctx->previous = cred_label(new); in aa_set_current_hat()130 aa_put_label(cred_label(new)); in aa_set_current_hat()170 aa_put_label(cred_label(new)); in aa_restore_previous_label()172 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
68 aa_put_label(cred_label(cred)); in apparmor_cred_free()87 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_prepare()96 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_transfer()598 label = aa_get_newest_label(cred_label(cred)); in apparmor_getprocattr()695 struct aa_label *new_label = cred_label(bprm->cred); in apparmor_bprm_committing_creds()
867 AA_BUG(!cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()870 label = aa_get_newest_label(cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()956 aa_put_label(cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()
22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label() function49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label()