Home
last modified time | relevance | path

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

/linux-4.4.14/security/yama/
Dyama_lsm.c32 struct task_struct *tracee; member
75 struct task_struct *tracee) in yama_ptracer_add() argument
83 added->tracee = tracee; in yama_ptracer_add()
92 if (relation->tracee == tracee) { in yama_ptracer_add()
113 struct task_struct *tracee) in yama_ptracer_del() argument
122 if (relation->tracee == tracee || in yama_ptracer_del()
244 struct task_struct *tracee) in ptracer_exception_found() argument
252 if (!thread_group_leader(tracee)) in ptracer_exception_found()
253 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found()
257 if (relation->tracee == tracee) { in ptracer_exception_found()
/linux-4.4.14/security/apparmor/
Dipc.c63 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, in aa_may_ptrace() argument
71 if (unconfined(tracer) || tracer == tracee) in aa_may_ptrace()
85 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, in aa_ptrace() argument
101 struct aa_profile *tracee_p = aa_get_task_profile(tracee); in aa_ptrace()
/linux-4.4.14/security/apparmor/include/
Dipc.h22 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.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1022 pid_t tracee, int status, void *args);
1024 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() argument
1038 ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0); in tracer()
1040 kill(tracee, SIGKILL); in tracer()
1045 ret = ptrace(PTRACE_SETOPTIONS, tracee, NULL, PTRACE_O_TRACESECCOMP); in tracer()
1048 kill(tracee, SIGKILL); in tracer()
1050 ptrace(PTRACE_CONT, tracee, NULL, 0); in tracer()
1060 if (wait(&status) != tracee) in tracer()
1069 tracer_func(_metadata, tracee, status, args); in tracer()
1071 ret = ptrace(PTRACE_CONT, tracee, NULL, NULL); in tracer()
[all …]