Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_linux_libcdep.cc361 explicit ScopedSetTracerPID(uptr tracer_pid) { in ScopedSetTracerPID()
362 stoptheworld_tracer_pid = tracer_pid; in ScopedSetTracerPID()
408 uptr tracer_pid = internal_clone( in StopTheWorld() local
415 if (internal_iserror(tracer_pid, &local_errno)) { in StopTheWorld()
419 ScopedSetTracerPID scoped_set_tracer_pid(tracer_pid); in StopTheWorld()
423 internal_prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in StopTheWorld()
439 uptr waitpid_status = internal_waitpid(tracer_pid, nullptr, __WALL); in StopTheWorld()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_netbsd_libcdep.cpp260 explicit ScopedSetTracerPID(uptr tracer_pid) { in ScopedSetTracerPID()
261 stoptheworld_tracer_pid = tracer_pid; in ScopedSetTracerPID()
287 uptr tracer_pid = internal_clone(TracerThread, tracer_stack.Bottom(), in StopTheWorld() local
292 if (internal_iserror(tracer_pid, &local_errno)) { in StopTheWorld()
296 ScopedSetTracerPID scoped_set_tracer_pid(tracer_pid); in StopTheWorld()
304 uptr waitpid_status = internal_waitpid(tracer_pid, nullptr, __WALL); in StopTheWorld()
Dsanitizer_stoptheworld_linux_libcdep.cpp384 explicit ScopedSetTracerPID(uptr tracer_pid) { in ScopedSetTracerPID()
385 stoptheworld_tracer_pid = tracer_pid; in ScopedSetTracerPID()
431 uptr tracer_pid = internal_clone( in StopTheWorld() local
438 if (internal_iserror(tracer_pid, &local_errno)) { in StopTheWorld()
442 ScopedSetTracerPID scoped_set_tracer_pid(tracer_pid); in StopTheWorld()
445 internal_prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in StopTheWorld()
460 uptr waitpid_status = internal_waitpid(tracer_pid, nullptr, __WALL); in StopTheWorld()
/external/kernel-headers/original/uapi/linux/
Dcn_proc.h106 __kernel_pid_t tracer_pid; member
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c836 pid_t tracer_pid; in FIXTURE_SETUP() local
850 tracer_pid = fork(); in FIXTURE_SETUP()
851 ASSERT_LE(0, tracer_pid); in FIXTURE_SETUP()
853 if (tracer_pid == 0) { in FIXTURE_SETUP()
859 self->tracer = tracer_pid; in FIXTURE_SETUP()
/external/seccomp-tests/linux/
Dseccomp_bpf.c1086 pid_t tracer_pid; in setup_trace_fixture() local
1093 tracer_pid = fork(); in setup_trace_fixture()
1094 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
1096 if (tracer_pid == 0) { in setup_trace_fixture()
1102 prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in setup_trace_fixture()
1106 return tracer_pid; in setup_trace_fixture()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1457 pid_t tracer_pid; in setup_trace_fixture() local
1464 tracer_pid = fork(); in setup_trace_fixture()
1465 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
1467 if (tracer_pid == 0) { in setup_trace_fixture()
1474 prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in setup_trace_fixture()
1478 return tracer_pid; in setup_trace_fixture()