Home
last modified time | relevance | path

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

/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c865 pid_t tracee, int status, void *args);
867 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() argument
880 ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0); in tracer()
883 kill(tracee, SIGKILL); in tracer()
888 ret = ptrace(PTRACE_SETOPTIONS, tracee, NULL, PTRACE_O_TRACESECCOMP); in tracer()
891 kill(tracee, SIGKILL); in tracer()
893 ptrace(PTRACE_CONT, tracee, NULL, 0); in tracer()
902 if (wait(&status) != tracee) in tracer()
911 tracer_func(_metadata, tracee, status, args); in tracer()
913 ret = ptrace(PTRACE_CONT, tracee, NULL, NULL); in tracer()
[all …]