Home
last modified time | relevance | path

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

/linux/security/apparmor/
H A Dtask.c84 aa_put_label(cred_label(new)); in aa_replace_current_label()
129 ctx->previous = cred_label(new); in aa_set_current_hat()
132 aa_put_label(cred_label(new)); in aa_set_current_hat()
172 aa_put_label(cred_label(new)); in aa_restore_previous_label()
174 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
H A Dfile.c649 struct cred_label { struct
656 struct cred_label *cl = (struct cred_label *)p; in match_file() argument
669 struct cred_label cl = { in aa_inherit_files()
/linux/security/apparmor/include/
H A Dcred.h22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label() function
49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label()