Home
last modified time | relevance | path

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

12

/linux/Documentation/admin-guide/LSM/
H A 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/tools/testing/selftests/ptrace/
H A Dget_set_sud.c28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
H A Dvmaccess.c20 ptrace(PTRACE_TRACEME, 0, 0L, 0L); in thread()
H A Dget_syscall_info.c86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
/linux/arch/um/kernel/skas/
H A Dstub_exe.c73 stub_syscall4(__NR_ptrace, PTRACE_TRACEME, 0, 0, 0); in real_init()
/linux/include/uapi/linux/
H A Dptrace.h11 #define PTRACE_TRACEME 0 macro
/linux/tools/testing/selftests/x86/
H A 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()
H A 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()
H A Dfsgsbase_restore.c161 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in main()
H A Dtest_syscall_vdso.c350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0) in ptrace_me()
H A Dsyscall_numbering.c339 if (ptrace(PTRACE_TRACEME, 0, 0, 0)) { in syscall_numbering_tracee()
/linux/tools/perf/arch/x86/tests/
H A Dbp-modify.c40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in spawn_child()
/linux/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c36 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child()
37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", in child()
H A Dbreakpoint_test_arm64.c37 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child()
H A Dbreakpoint_test.c209 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0); in trigger_tests()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
H A Dptrace-perf-hwbreak.c46 return sys_ptrace(PTRACE_TRACEME, 0, 0, 0); in ptrace_traceme()
/linux/tools/testing/selftests/arm64/abi/
H A Dptrace.c165 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c358 ret = ptrace(PTRACE_TRACEME); in TEST_F()
/linux/arch/um/os-Linux/
H A Dstart_up.c39 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { in ptrace_child()
/linux/tools/testing/selftests/arm64/fp/
H A Dza-ptrace.c50 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
51 ksft_exit_fail_msg("ptrace(PTRACE_TRACEME) failed: %s (%d)", in do_child()
H A Dzt-ptrace.c45 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
46 ksft_exit_fail_msg("ptrace(PTRACE_TRACEME) failed: %s (%d)\n", in do_child()
/linux/tools/testing/selftests/proc/
H A Dproc-empty-vm.c467 rv = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in main()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_getrandom.c261 ksft_assert(ptrace(PTRACE_TRACEME, 0, NULL, NULL) == 0); in kselftest()
/linux/kernel/
H A Dptrace.c1264 if (request == PTRACE_TRACEME) { in SYSCALL_DEFINE4()
1403 if (request == PTRACE_TRACEME) { in COMPAT_SYSCALL_DEFINE4()

12