Lines Matching refs:aa_label

60 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
103 struct aa_label;
106 struct aa_label __rcu *label;
127 struct aa_label { struct
168 int aa_label_next_confined(struct aa_label *l, int i);
249 static inline bool label_mediates(struct aa_label *L, unsigned char C) in label_mediates()
254 static inline bool label_mediates_safe(struct aa_label *L, unsigned char C) in label_mediates_safe()
265 void aa_label_destroy(struct aa_label *label);
266 void aa_label_free(struct aa_label *label);
268 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
269 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
271 bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub);
272 bool aa_label_is_unconfined_subset(struct aa_label *set, struct aa_label *sub);
274 struct aa_label *set,
275 struct aa_label *sub);
276 bool aa_label_remove(struct aa_label *label);
277 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
278 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
279 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
280 struct aa_label *new);
283 struct aa_label *a,
284 struct aa_label *b);
285 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
286 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
290 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
298 struct aa_label *label, int flags);
299 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
302 struct aa_label *label, int flags, gfp_t gfp);
304 struct aa_label *label, int flags, gfp_t gfp);
306 struct aa_label *label, int flags, gfp_t gfp);
307 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
309 void aa_label_printk(struct aa_label *label, gfp_t gfp);
311 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
314 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
346 struct aa_label *label, aa_state_t state, bool subns,
358 static inline struct aa_label *__aa_get_label(struct aa_label *l) in __aa_get_label()
366 static inline struct aa_label *aa_get_label(struct aa_label *l) in aa_get_label()
382 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l) in aa_get_label_rcu()
384 struct aa_label *c; in aa_get_label_rcu()
403 static inline struct aa_label *aa_get_newest_label(struct aa_label *l) in aa_get_newest_label()
409 struct aa_label *tmp; in aa_get_newest_label()
426 static inline void aa_put_label(struct aa_label *l) in aa_put_label()
433 static inline bool __aa_subj_label_is_cached(struct aa_label *subj_label, in __aa_subj_label_is_cached()
434 struct aa_label *obj_label) in __aa_subj_label_is_cached()
440 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
457 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);