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
82 FLAG_UNCONFINED = 2, /* label unconfined only if all */
89 FLAG_IN_TREE = 0x100, /* label is in tree */
90 FLAG_PROFILE = 0x200, /* label is a profile */
91 FLAG_EXPLICIT = 0x400, /* explicit static label */
93 FLAG_RENAMED = 0x1000, /* label has renaming in it */
94 FLAG_REVOKED = 0x2000, /* label has revocation in it */
105 struct aa_label __rcu *label;
116 * @proxy: is set to the label that replaced this label
117 * @hname: text representation of the label (MAYBE_NULL)
118 * @flags: stale and other flags - values may change under label set lock
119 * @secid: secid that references this label
121 * @ent: set of profiles for label, actual size determined by @size
155 /* for each profile in a label */
189 /* for each profile that is enforcing confinement in a label */
277 void aa_label_destroy(struct aa_label *label);
278 void aa_label_free(struct aa_label *label);
280 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
288 bool aa_label_remove(struct aa_label *label);
304 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
312 struct aa_label *label, int flags);
313 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
316 struct aa_label *label, int flags, gfp_t gfp);
318 struct aa_label *label, int flags, gfp_t gfp);
320 struct aa_label *label, int flags, gfp_t gfp);
321 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
323 void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp);
324 void aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp);
325 void aa_label_printk(struct aa_label *label, gfp_t gfp);
362 struct aa_label *label, aa_state_t state, bool subns,
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);