Lines Matching defs:aa_profile
94 /* struct aa_profile - basic confinement data
129 struct aa_profile {
131 struct aa_profile __rcu *parent;
174 void aa_add_profile(struct aa_policy *common, struct aa_profile *profile);
178 struct aa_profile *aa_alloc_profile(const char *name, struct aa_proxy *proxy,
180 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, bool hat,
182 void aa_free_profile(struct aa_profile *profile);
184 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name);
185 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname,
187 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *name);
188 struct aa_profile *aa_fqlookupn_profile(struct aa_label *base,
190 struct aa_profile *aa_match_profile(struct aa_ns *ns, const char *name);
211 static inline struct aa_profile *aa_get_newest_profile(struct aa_profile *p)
216 static inline unsigned int PROFILE_MEDIATES(struct aa_profile *profile,
226 static inline unsigned int PROFILE_MEDIATES_AF(struct aa_profile *profile,
243 static inline struct aa_profile *aa_get_profile(struct aa_profile *p)
258 static inline struct aa_profile *aa_get_profile_not0(struct aa_profile *p)
273 static inline struct aa_profile *aa_get_profile_rcu(struct aa_profile __rcu **p)
275 struct aa_profile *c;
290 static inline void aa_put_profile(struct aa_profile *p)
296 static inline int AUDIT_MODE(struct aa_profile *profile)