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