Home
last modified time | relevance | path

Searched refs:tracee (Results 1 – 4 of 4) sorted by relevance

/security/yama/
A Dyama_lsm.c33 struct task_struct *tracee; member
142 struct task_struct *tracee) in yama_ptracer_add() argument
150 added->tracee = tracee; in yama_ptracer_add()
159 if (relation->tracee == tracee) { in yama_ptracer_add()
180 struct task_struct *tracee) in yama_ptracer_del() argument
189 if (relation->tracee == tracee || in yama_ptracer_del()
301 struct task_struct *tracee) in ptracer_exception_found() argument
314 parent = ptrace_parent(tracee); in ptracer_exception_found()
321 if (!thread_group_leader(tracee)) in ptracer_exception_found()
322 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found()
[all …]
/security/apparmor/
A Dtask.c243 struct aa_profile *tracee, in profile_tracee_perm() argument
247 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
248 !label_mediates(&tracee->label, AA_CLASS_PTRACE)) in profile_tracee_perm()
251 return profile_ptrace_perm(cred, tracee, tracer, request, ad); in profile_tracee_perm()
256 struct aa_label *tracee, u32 request, in profile_tracer_perm() argument
263 return profile_ptrace_perm(cred, tracer, tracee, request, ad); in profile_tracer_perm()
266 if (&tracer->label == tracee) in profile_tracer_perm()
270 ad->peer = tracee; in profile_tracer_perm()
289 const struct cred *tracee_cred, struct aa_label *tracee, in aa_may_ptrace() argument
296 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace()
[all …]
A Dlsm.c127 struct aa_label *tracer, *tracee; in apparmor_ptrace_access_check() local
133 tracee = cred_label(cred); /* ref count on cred */ in apparmor_ptrace_access_check()
135 error = aa_may_ptrace(current_cred(), tracer, cred, tracee, in apparmor_ptrace_access_check()
146 struct aa_label *tracer, *tracee; in apparmor_ptrace_traceme() local
151 tracee = __begin_current_label_crit_section(&needput); in apparmor_ptrace_traceme()
154 error = aa_may_ptrace(cred, tracer, current_cred(), tracee, in apparmor_ptrace_traceme()
157 __end_current_label_crit_section(tracee, needput); in apparmor_ptrace_traceme()
/security/apparmor/include/
A Dtask.h95 const struct cred *tracee_cred, struct aa_label *tracee,

Completed in 12 milliseconds