Lines Matching defs:aa_label
59 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
104 struct aa_label;
107 struct aa_label __rcu *label;
114 /* struct aa_label - lazy labeling struct
125 struct aa_label {
154 int aa_label_next_confined(struct aa_label *l, int i);
278 void aa_label_destroy(struct aa_label *label);
279 void aa_label_free(struct aa_label *label);
281 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
282 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
284 bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub);
285 bool aa_label_is_unconfined_subset(struct aa_label *set, struct aa_label *sub);
287 struct aa_label *set,
288 struct aa_label *sub);
289 bool aa_label_remove(struct aa_label *label);
290 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
291 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
292 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
293 struct aa_label *new);
295 struct aa_label *aa_label_find(struct aa_label *l);
298 struct aa_label *a,
299 struct aa_label *b);
300 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
301 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
305 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
313 struct aa_label *label, int flags);
314 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
317 struct aa_label *label, int flags, gfp_t gfp);
319 struct aa_label *label, int flags, gfp_t gfp);
321 struct aa_label *label, int flags, gfp_t gfp);
322 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
324 void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp);
325 void aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp);
326 void aa_label_printk(struct aa_label *label, gfp_t gfp);
328 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
331 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
361 int aa_label_match(struct aa_profile *profile, struct aa_label *label,
374 static inline struct aa_label *__aa_get_label(struct aa_label *l)
382 static inline struct aa_label *aa_get_label(struct aa_label *l)
398 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l)
400 struct aa_label *c;
419 static inline struct aa_label *aa_get_newest_label(struct aa_label *l)
425 struct aa_label *tmp;
442 static inline void aa_put_label(struct aa_label *l)
449 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
466 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);