Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/admin-guide/LSM/
DYama.rst54 ``prctl(PR_SET_DUMPABLE...)`` already). Similarly, ``PTRACE_TRACEME`` is
64 Using ``PTRACE_TRACEME`` is unchanged.
68 ``PTRACE_ATTACH`` or through children calling ``PTRACE_TRACEME``.
72 ``PTRACE_TRACEME``. Once set, this sysctl value cannot be changed.
/Linux-v5.4/arch/um/kernel/skas/
Dclone.c35 err = stub_syscall4(__NR_ptrace, PTRACE_TRACEME, 0, 0, 0); in stub_clone_handler()
/Linux-v5.4/include/uapi/linux/
Dptrace.h11 #define PTRACE_TRACEME 0 macro
/Linux-v5.4/tools/perf/arch/x86/tests/
Dbp-modify.c40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in spawn_child()
/Linux-v5.4/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c36 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child()
Dbreakpoint_test_arm64.c37 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child()
Dbreakpoint_test.c209 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0); in trigger_tests()
/Linux-v5.4/tools/testing/selftests/x86/
Dptrace_syscall.c183 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
303 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_restart_under_ptrace()
Dtest_syscall_vdso.c350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0) in ptrace_me()
Dfsgsbase.c458 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) in test_ptrace_write_gsbase()
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
Dptrace-hwbreak.c169 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0); in trigger_tests()
/Linux-v5.4/tools/testing/selftests/ptrace/
Dget_syscall_info.c86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
/Linux-v5.4/arch/um/os-Linux/
Dstart_up.c36 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { in ptrace_child()
/Linux-v5.4/arch/um/os-Linux/skas/
Dprocess.c198 ptrace(PTRACE_TRACEME, 0, 0, 0); in userspace_tramp()
/Linux-v5.4/kernel/
Dptrace.c1243 if (request == PTRACE_TRACEME) { in SYSCALL_DEFINE4()
1390 if (request == PTRACE_TRACEME) { in COMPAT_SYSCALL_DEFINE4()
/Linux-v5.4/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2775 EXPECT_EQ(0, ptrace(PTRACE_TRACEME)); in TEST()