Searched refs:tracee (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/security/apparmor/include/ |
H A D | ipc.h | 22 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, 25 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
|
/linux-4.1.27/security/apparmor/ |
H A D | ipc.c | 56 * aa_may_ptrace - test if tracer task can trace the tracee 58 * @tracee: task to be traced 63 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, aa_may_ptrace() argument 71 if (unconfined(tracer) || tracer == tracee) aa_may_ptrace() 80 * @tracee: task being traced (NOT NULL) 85 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, aa_ptrace() argument 89 * tracer can ptrace tracee when aa_ptrace() 92 * - tracer has rules allowing it to trace tracee currently this is: aa_ptrace() 101 struct aa_profile *tracee_p = aa_get_task_profile(tracee); aa_ptrace()
|
/linux-4.1.27/security/yama/ |
H A D | yama_lsm.c | 32 struct task_struct *tracee; member in struct:ptrace_relation 65 * yama_ptracer_add - add/replace an exception for this tracer/tracee pair 67 * @tracee: the task_struct of the process to be ptraced 69 * Each tracee can have, at most, one tracer registered. Each time this 70 * is called, the prior registered tracer will be replaced for the tracee. 75 struct task_struct *tracee) yama_ptracer_add() 83 added->tracee = tracee; yama_ptracer_add() 92 if (relation->tracee == tracee) { yama_ptracer_add() 110 * @tracee: remove any relation where tracee task matches 113 struct task_struct *tracee) yama_ptracer_del() 122 if (relation->tracee == tracee || yama_ptracer_del() 241 * ptracer_exception_found - tracer registered as exception for this tracee 243 * @tracee: the task_struct of the process to be ptraced 245 * Returns 1 if tracer has is ptracer exception ancestor for tracee. 248 struct task_struct *tracee) ptracer_exception_found() 256 if (!thread_group_leader(tracee)) ptracer_exception_found() 257 tracee = rcu_dereference(tracee->group_leader); ptracer_exception_found() 261 if (relation->tracee == tracee) { ptracer_exception_found() 74 yama_ptracer_add(struct task_struct *tracer, struct task_struct *tracee) yama_ptracer_add() argument 112 yama_ptracer_del(struct task_struct *tracer, struct task_struct *tracee) yama_ptracer_del() argument 247 ptracer_exception_found(struct task_struct *tracer, struct task_struct *tracee) ptracer_exception_found() argument
|
/linux-4.1.27/kernel/ |
H A D | ptrace.c | 354 /* SEIZE doesn't trap tracee on attach */ ptrace_attach() 371 * thread's WNOHANG wait(2) on the stopped tracee races against ptrace_attach() 754 * wrongly look like another report from tracee. ptrace_resume() 761 * status and clears the code too; this can't race with the tracee, it ptrace_resume() 910 * Stop tracee without any side-effect on signal or job ptrace_request() 926 * tracee into STOP. ptrace_request() 940 * stop state change) happens, tracee will enter STOP trap ptrace_request() 942 * finish listening and re-trap tracee into STOP. ptrace_request()
|
H A D | signal.c | 801 * @t: tracee wanting to notify tracer 808 * ptracer is listening for events, tracee is woken up so that it can
|
Completed in 193 milliseconds