Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dsleeper.c25 #ifndef PR_SET_PTRACER
26 # define PR_SET_PTRACER 0x59616d61 macro
44 if (prctl(PR_SET_PTRACER, pid, 0, 0, 0)) { in main()
Dthread-prctl.c23 #ifndef PR_SET_PTRACER
24 # define PR_SET_PTRACER 0x59616d61 macro
55 ret = prctl (PR_SET_PTRACER, tracer, 0, 0, 0); in thr_fn()
141 ret = prctl (PR_SET_PTRACER, tracer, 0, 0, 0); in tracee_main()
/external/libchrome/sandbox/linux/services/
Dyama.cc24 #if !defined(PR_SET_PTRACER)
25 #define PR_SET_PTRACER 0x59616d61 macro
42 const int ret = prctl(PR_SET_PTRACER, set_ptracer_arg); in SetYamaPtracersRestriction()
/external/strace/tests-mx32/
Dset_ptracer_any.c39 #if defined HAVE_PRCTL && defined PR_SET_PTRACER && defined PR_SET_PTRACER_ANY in main()
42 (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); in main()
/external/strace/tests-m32/
Dset_ptracer_any.c39 #if defined HAVE_PRCTL && defined PR_SET_PTRACER && defined PR_SET_PTRACER_ANY in main()
42 (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); in main()
/external/strace/tests/
Dset_ptracer_any.c39 #if defined HAVE_PRCTL && defined PR_SET_PTRACER && defined PR_SET_PTRACER_ANY in main()
42 (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); in main()
/external/strace/xlat/
Dprctl_options.h101 #if !(defined(PR_SET_PTRACER) || (defined(HAVE_DECL_PR_SET_PTRACER) && HAVE_DECL_PR_SET_PTRACER))
102 # define PR_SET_PTRACER 0x59616d61 macro
185 XLAT(PR_SET_PTRACER),
Dprctl_options.in34 PR_SET_PTRACER 0x59616d61
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc50 #ifndef PR_SET_PTRACER
51 #define PR_SET_PTRACER 0x59616d61 macro
156 , PR_SET_VMA, PR_SET_PTRACER in RestrictPrctl()
/external/elfutils/tests/
Ddeleted.c51 prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0); in main()
DChangeLog424 * deleted.c (main): Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY).
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper_unittest.cc61 #ifndef PR_SET_PTRACER
62 #define PR_SET_PTRACER 0x59616d61 macro
77 prctl(PR_SET_PTRACER, child_pid_); in SetUp()
/external/libcap/libcap/include/uapi/linux/
Dprctl.h127 #define PR_SET_PTRACER 0x59616d61 macro
/external/kernel-headers/original/uapi/linux/
Dprctl.h154 #define PR_SET_PTRACER 0x59616d61 macro
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc104 #ifndef PR_SET_PTRACER
105 #define PR_SET_PTRACER 0x59616d61 macro
517 sys_prctl(PR_SET_PTRACER, child, 0, 0, 0); in GenerateDump()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_linux_libcdep.cc422 #ifdef PR_SET_PTRACER in StopTheWorld()
423 internal_prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in StopTheWorld()
/external/minijail/linux-x86/
Dlibconstants.gen.c953 #ifdef PR_SET_PTRACER
954 { "PR_SET_PTRACER", (unsigned long) PR_SET_PTRACER },
/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c171 #ifdef PR_SET_PTRACER in VG_()
193 ret = VG_(prctl) (PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0); in VG_()
196 ret = VG_(prctl) (PR_SET_PTRACER, 1, 0, 0, 0); in VG_()
/external/strace/
Dprctl.c278 case PR_SET_PTRACER: in SYS_FUNC()
Dstrace.c1379 #if defined HAVE_PRCTL && defined PR_SET_PTRACER && defined PR_SET_PTRACER_ANY in startup_child()
1381 prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); in startup_child()
DChangeLog4077 prctl: cast arg2 to int in PR_SET_PTRACER handler.
4081 * prctl.c (SYS_FUNC(prctl)) <PR_SET_PTRACER>: Cast arg2 to int before
10597 * tests/strace-ff.test: Wait for completion of PR_SET_PTRACER command.
26057 (startup_child) [HAVE_PRCTL && PR_SET_PTRACER && PR_SET_PTRACER_ANY]:
26062 * process.c (prctl_options): Add PR_SET_PTRACER.
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c36 #ifndef PR_SET_PTRACER
37 # define PR_SET_PTRACER 0x59616d61 macro
868 prctl(PR_SET_PTRACER, self->tracer, 0, 0, 0); in FIXTURE_SETUP()
/external/seccomp-tests/linux/
Dseccomp_bpf.c42 #ifndef PR_SET_PTRACER
43 # define PR_SET_PTRACER 0x59616d61 macro
1102 prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in setup_trace_fixture()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c42 #ifndef PR_SET_PTRACER
43 # define PR_SET_PTRACER 0x59616d61 macro
1108 prctl(PR_SET_PTRACER, tracer_pid, 0, 0, 0); in setup_trace_fixture()