Lines Matching refs:subj_cred
46 * @subj_cred: cred setting the resource
56 static int audit_resource(const struct cred *subj_cred,
64 ad.subj_cred = subj_cred;
88 static int profile_setrlimit(const struct cred *subj_cred,
99 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max,
105 * @subj_cred: cred setting the limit
115 int aa_task_setrlimit(const struct cred *subj_cred, struct aa_label *label,
135 aa_capable(subj_cred, label, CAP_SYS_RESOURCE, CAP_OPT_NOAUDIT) != 0)
137 audit_resource(subj_cred, profile, resource,
142 profile_setrlimit(subj_cred, profile, resource,