Lines Matching refs:resource
57 struct aa_profile *profile, unsigned int resource, in audit_resource() argument
65 ad.rlim.rlim = resource; in audit_resource()
83 int aa_map_resource(int resource) in aa_map_resource() argument
85 return rlim_map[resource]; in aa_map_resource()
89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit() argument
95 if (rules->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit()
96 rules->rlimits.limits[resource].rlim_max) in profile_setrlimit()
98 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max, in profile_setrlimit()
116 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit() argument
136 audit_resource(subj_cred, profile, resource, in aa_task_setrlimit()
141 profile_setrlimit(subj_cred, profile, resource, in aa_task_setrlimit()