/linux/Documentation/admin-guide/LSM/ |
H A D | Yama.rst | 55 ``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 D | get_set_sud.c | 28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
|
H A D | vmaccess.c | 20 ptrace(PTRACE_TRACEME, 0, 0L, 0L); in thread()
|
H A D | get_syscall_info.c | 86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { in TEST()
|
/linux/arch/um/kernel/skas/ |
H A D | stub_exe.c | 73 stub_syscall4(__NR_ptrace, PTRACE_TRACEME, 0, 0, 0); in real_init()
|
/linux/include/uapi/linux/ |
H A D | ptrace.h | 11 #define PTRACE_TRACEME 0 macro
|
/linux/tools/testing/selftests/x86/ |
H A D | ptrace_syscall.c | 183 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 D | fsgsbase.c | 463 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 D | fsgsbase_restore.c | 161 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in main()
|
H A D | test_syscall_vdso.c | 350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0) in ptrace_me()
|
H A D | syscall_numbering.c | 339 if (ptrace(PTRACE_TRACEME, 0, 0, 0)) { in syscall_numbering_tracee()
|
/linux/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in spawn_child()
|
/linux/tools/testing/selftests/breakpoints/ |
H A D | step_after_suspend_test.c | 36 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child() 37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", in child()
|
H A D | breakpoint_test_arm64.c | 37 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { in child()
|
H A D | breakpoint_test.c | 209 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0); in trigger_tests()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-syscall.c | 74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
|
H A D | ptrace-perf-hwbreak.c | 46 return sys_ptrace(PTRACE_TRACEME, 0, 0, 0); in ptrace_traceme()
|
/linux/tools/testing/selftests/arm64/abi/ |
H A D | ptrace.c | 165 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in do_child()
|
/linux/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 358 ret = ptrace(PTRACE_TRACEME); in TEST_F()
|
/linux/arch/um/os-Linux/ |
H A D | start_up.c | 39 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { in ptrace_child()
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | za-ptrace.c | 50 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 D | zt-ptrace.c | 45 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 D | proc-empty-vm.c | 467 rv = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in main()
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_getrandom.c | 261 ksft_assert(ptrace(PTRACE_TRACEME, 0, NULL, NULL) == 0); in kselftest()
|
/linux/kernel/ |
H A D | ptrace.c | 1264 if (request == PTRACE_TRACEME) { in SYSCALL_DEFINE4() 1403 if (request == PTRACE_TRACEME) { in COMPAT_SYSCALL_DEFINE4()
|