Lines Matching full:profile
71 APPARMOR_UNCONFINED, /* profile set to unconfined */
131 * @caps: capabilities for the profile
132 * @rlimits: rlimits for the profile
169 * @base - base components of the profile (name, refcount, lists, lock ...)
170 * @label - label this profile is an extension of
171 * @parent: parent of profile
172 * @ns: namespace the profile is in
173 * @rename: optional profile name that this profile renamed
175 * @audit: the auditing mode of the profile
176 * @mode: the enforcement mode of the profile
179 * @attach: attachment rules for the profile
183 * @dirname: name of the profile dir in apparmorfs
186 * The AppArmor profile contains the basic confinement data. Each profile
188 * used to determine profile attachment against unconfined tasks. All other
189 * attachments are determined by profile X transition rules.
194 * Profile names can not begin with a : and can not contain the \0
195 * character. If a profile name begins with / it will be considered when
196 * determining profile attachment on "unconfined" tasks.
230 void aa_add_profile(struct aa_policy *common, struct aa_profile *profile);
241 void aa_free_profile(struct aa_profile *profile);
264 * @p: profile (NOT NULL)
266 * Returns refcount to newest version of the profile (maybe @p)
306 * aa_get_profile - increment refcount on profile @p
307 * @p: profile (MAYBE NULL)
321 * aa_get_profile_not0 - increment refcount on profile @p found via lookup
322 * @p: profile (MAYBE NULL)
336 * aa_get_profile_rcu - increment a refcount profile that can be replaced
337 * @p: pointer to profile that can be replaced (NOT NULL)
339 * Returns: pointer to a refcounted profile.
340 * else NULL if no profile
356 * aa_put_profile - decrement refcount on profile @p
357 * @p: profile (MAYBE NULL)
365 static inline int AUDIT_MODE(struct aa_profile *profile) in AUDIT_MODE() argument
370 return profile->audit; in AUDIT_MODE()