Lines Matching refs:cred
50 struct cred *new; in aa_replace_current_label()
120 struct cred *new; in aa_set_current_hat()
160 struct cred *new; in aa_restore_previous_label()
226 static int profile_ptrace_perm(const struct cred *cred, in profile_ptrace_perm() argument
234 ad->subj_cred = cred; in profile_ptrace_perm()
242 static int profile_tracee_perm(const struct cred *cred, in profile_tracee_perm() argument
251 return profile_ptrace_perm(cred, tracee, tracer, request, ad); in profile_tracee_perm()
254 static int profile_tracer_perm(const struct cred *cred, in profile_tracer_perm() argument
263 return profile_ptrace_perm(cred, tracer, tracee, request, ad); in profile_tracer_perm()
272 ad->error = aa_capable(cred, &tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
288 int aa_may_ptrace(const struct cred *tracer_cred, struct aa_label *tracer, in aa_may_ptrace()
289 const struct cred *tracee_cred, struct aa_label *tracee, in aa_may_ptrace()