Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/admin-guide/LSM/
DYama.rst55 ``prctl(PR_SET_DUMPABLE...)`` already). Similarly, ``PTRACE_TRACEME`` is
65 Using ``PTRACE_TRACEME`` is unchanged.
69 ``PTRACE_ATTACH`` or through children calling ``PTRACE_TRACEME``.
73 ``PTRACE_TRACEME``. Once set, this sysctl value cannot be changed.
/linux-6.12.1/tools/testing/selftests/ptrace/
Dget_set_sud.c28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
Dvmaccess.c20 ptrace(PTRACE_TRACEME, 0, 0L, 0L); in thread()
Dget_syscall_info.c86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
/linux-6.12.1/include/uapi/linux/
Dptrace.h11 #define PTRACE_TRACEME 0 macro
/linux-6.12.1/tools/testing/selftests/x86/
Dfsgsbase.c463 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) in test_ptrace_write_gs_read_base()
523 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) in test_ptrace_write_gsbase()
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()
Dfsgsbase_restore.c161 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in main()
Dtest_syscall_vdso.c350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0) in ptrace_me()
Dsyscall_numbering.c339 if (ptrace(PTRACE_TRACEME, 0, 0, 0)) { in syscall_numbering_tracee()
/linux-6.12.1/tools/perf/arch/x86/tests/
Dbp-modify.c40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in spawn_child()
/linux-6.12.1/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-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
Dptrace-perf-hwbreak.c46 return sys_ptrace(PTRACE_TRACEME, 0, 0, 0); in ptrace_traceme()
/linux-6.12.1/tools/testing/selftests/arm64/abi/
Dptrace.c165 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
/linux-6.12.1/arch/um/os-Linux/
Dstart_up.c39 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { in ptrace_child()
/linux-6.12.1/tools/testing/selftests/landlock/
Dptrace_test.c358 ret = ptrace(PTRACE_TRACEME); in TEST_F()
/linux-6.12.1/tools/testing/selftests/arm64/fp/
Dza-ptrace.c50 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
Dzt-ptrace.c45 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
/linux-6.12.1/tools/testing/selftests/proc/
Dproc-empty-vm.c467 rv = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in main()
/linux-6.12.1/tools/testing/selftests/vDSO/
Dvdso_test_getrandom.c261 ksft_assert(ptrace(PTRACE_TRACEME, 0, NULL, NULL) == 0); in kselftest()
/linux-6.12.1/arch/um/os-Linux/skas/
Dprocess.c217 ptrace(PTRACE_TRACEME, 0, 0, 0); in userspace_tramp()
/linux-6.12.1/kernel/
Dptrace.c1264 if (request == PTRACE_TRACEME) { in SYSCALL_DEFINE4()
1403 if (request == PTRACE_TRACEME) { in COMPAT_SYSCALL_DEFINE4()

12