Lines Matching defs:label

5  * This file contains AppArmor label definitions
67 * Labels are reference counted; aa_labelset does not contribute to label
68 * reference counts. Once a label's last refcount is put it is removed from
86 FLAG_UNCONFINED = 2, /* label unconfined only if all */
93 FLAG_IN_TREE = 0x100, /* label is in tree */
94 FLAG_PROFILE = 0x200, /* label is a profile */
95 FLAG_EXPLICIT = 0x400, /* explicit static label */
97 FLAG_RENAMED = 0x1000, /* label has renaming in it */
98 FLAG_REVOKED = 0x2000, /* label has revocation in it */
107 struct aa_label __rcu *label;
118 * @proxy: is set to the label that replaced this label
119 * @hname: text representation of the label (MAYBE_NULL)
120 * @flags: stale and other flags - values may change under label set lock
121 * @secid: secid that references this label
123 * @ent: set of profiles for label, actual size determined by @size
156 /* for each profile in a label */
190 /* for each profile that is enforcing confinement in a label */
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);
289 bool aa_label_remove(struct aa_label *label);
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);
361 int aa_label_match(struct aa_profile *profile, struct aa_label *label,
367 * __aa_get_label - get a reference count to uncounted label reference
392 * aa_get_label_rcu - increment refcount on a label that can be replaced
393 * @l: pointer to label that can be replaced (NOT NULL)
395 * Returns: pointer to a refcounted label.
396 * else NULL if no label
413 * @l: the label to check for newer versions of
428 AA_BUG(!l->proxy->label);
433 tmp = aa_get_label_rcu(&l->proxy->label);