Searched refs:tracee (Results 1 – 4 of 4) sorted by relevance
/security/yama/ |
D | yama_lsm.c | 32 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() 306 struct task_struct *tracee) in ptracer_exception_found() argument 319 parent = ptrace_parent(tracee); in ptracer_exception_found() 326 if (!thread_group_leader(tracee)) in ptracer_exception_found() 327 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found() [all …]
|
/security/apparmor/ |
D | ipc.c | 78 static int profile_tracee_perm(struct aa_profile *tracee, in profile_tracee_perm() argument 82 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm() 83 !PROFILE_MEDIATES(tracee, AA_CLASS_PTRACE)) in profile_tracee_perm() 86 return profile_ptrace_perm(tracee, tracer, request, sa); in profile_tracee_perm() 90 struct aa_label *tracee, u32 request, in profile_tracer_perm() argument 97 return profile_ptrace_perm(tracer, tracee, request, sa); in profile_tracer_perm() 100 if (&tracer->label == tracee) in profile_tracer_perm() 104 aad(sa)->peer = tracee; in profile_tracer_perm() 120 int aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee, in aa_may_ptrace() argument 127 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace() [all …]
|
D | lsm.c | 108 struct aa_label *tracer, *tracee; in apparmor_ptrace_access_check() local 112 tracee = aa_get_task_label(child); in apparmor_ptrace_access_check() 113 error = aa_may_ptrace(tracer, tracee, in apparmor_ptrace_access_check() 116 aa_put_label(tracee); in apparmor_ptrace_access_check() 124 struct aa_label *tracer, *tracee; in apparmor_ptrace_traceme() local 127 tracee = __begin_current_label_crit_section(); in apparmor_ptrace_traceme() 129 error = aa_may_ptrace(tracer, tracee, AA_PTRACE_TRACE); in apparmor_ptrace_traceme() 131 __end_current_label_crit_section(tracee); in apparmor_ptrace_traceme()
|
/security/apparmor/include/ |
D | ipc.h | 32 int aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee,
|