Lines Matching refs:aa_label
22 static inline struct aa_label *cred_label(const struct cred *cred) in cred_label()
24 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in cred_label()
31 struct aa_label *label) in set_cred_label()
33 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in set_cred_label()
47 static inline struct aa_label *aa_cred_raw_label(const struct cred *cred) in aa_cred_raw_label()
49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label()
61 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
74 static inline struct aa_label *aa_current_raw_label(void) in aa_current_raw_label()
88 static inline struct aa_label *aa_get_current_label(void) in aa_get_current_label()
90 struct aa_label *l = aa_current_raw_label(); in aa_get_current_label()
107 static inline void end_current_label_crit_section(struct aa_label *label) in end_current_label_crit_section()
125 static inline struct aa_label *__begin_current_label_crit_section(void) in __begin_current_label_crit_section()
127 struct aa_label *label = aa_current_raw_label(); in __begin_current_label_crit_section()
147 static inline struct aa_label *begin_current_label_crit_section(void) in begin_current_label_crit_section()
149 struct aa_label *label = aa_current_raw_label(); in begin_current_label_crit_section()
165 struct aa_label *label; in aa_get_current_ns()