Home
last modified time | relevance | path

Searched refs:tracer_pid (Results 1 – 5 of 5) 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/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.c1396 pid_t tracer_pid; in setup_trace_fixture() local
1403 tracer_pid = fork(); in setup_trace_fixture()
1404 ASSERT_LE(0, tracer_pid); in setup_trace_fixture()
1406 if (tracer_pid == 0) { in setup_trace_fixture()
1413 prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in setup_trace_fixture()
1417 return tracer_pid; in setup_trace_fixture()