Lines Matching refs:tracee
76 static int profile_tracee_perm(struct aa_profile *tracee,
80 if (profile_unconfined(tracee) || unconfined(tracer) ||
81 !PROFILE_MEDIATES(tracee, AA_CLASS_PTRACE))
84 return profile_ptrace_perm(tracee, tracer, request, sa);
88 struct aa_label *tracee, u32 request,
95 return profile_ptrace_perm(tracer, tracee, request, sa);
98 if (&tracer->label == tracee)
102 aad(sa)->peer = tracee;
111 * aa_may_ptrace - test if tracer task can trace the tracee
113 * @tracee: task label to be traced
118 int aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee,
125 return xcheck_labels(tracer, tracee, profile,
126 profile_tracer_perm(profile, tracee, request, &sa),