Searched refs:cred_label (Results 1 – 5 of 5) sorted by relevance
84 aa_put_label(cred_label(new)); in aa_replace_current_label()132 ctx->previous = cred_label(new); in aa_set_current_hat()135 aa_put_label(cred_label(new)); in aa_set_current_hat()175 aa_put_label(cred_label(new)); in aa_restore_previous_label()177 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
662 struct cred_label { struct669 struct cred_label *cl = (struct cred_label *)p; in match_file() argument682 struct cred_label cl = { in aa_inherit_files()
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()123 tracee = cred_label(cred); /* ref count on cred */ in apparmor_ptrace_access_check()142 tracer = cred_label(cred); /* ref count on cred */ in apparmor_ptrace_traceme()673 label = aa_get_newest_label(cred_label(cred)); in apparmor_getprocattr()771 struct aa_label *new_label = cred_label(bprm->cred); in apparmor_bprm_committing_creds()
890 AA_BUG(!cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()893 label = aa_get_newest_label(cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()980 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()