Lines Matching refs:profile
47 * @profile: profile being enforced (NOT NULL)
57 struct aa_profile *profile, unsigned int resource,
71 return aa_audit(AUDIT_APPARMOR_AUTO, profile, &ad, audit_cb);
89 struct aa_profile *profile, unsigned int resource,
92 struct aa_ruleset *rules = list_first_entry(&profile->rules,
99 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max,
119 struct aa_profile *profile;
130 * the same profile or that the task setting the resource of another
136 error = fn_for_each(label, profile,
137 audit_resource(subj_cred, profile, resource,
141 error = fn_for_each_confined(label, profile,
142 profile_setrlimit(subj_cred, profile, resource,
150 * __aa_transition_rlimits - apply new profile rlimits
164 /* for any rlimits the profile controlled, reset the soft limit
186 /* set any new hard limits as dictated by the new profile */