/linux-master/arch/um/kernel/skas/ |
H A D | clone.c | 38 err = stub_syscall4(__NR_ptrace, PTRACE_TRACEME, 0, 0, 0);
|
/linux-master/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 20 ptrace(PTRACE_TRACEME, 0, 0L, 0L);
|
H A D | get_set_sud.c | 28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { 29 TH_LOG("PTRACE_TRACEME: %m");
|
H A D | get_syscall_info.c | 84 /* get the pid before PTRACE_TRACEME */ 86 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) { 87 TH_LOG("PTRACE_TRACEME: %m");
|
/linux-master/include/uapi/linux/ |
H A D | ptrace.h | 11 #define PTRACE_TRACEME 0 macro
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-syscall.c | 74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) 75 err(1, "PTRACE_TRACEME");
|
H A D | ptrace-perf-hwbreak.c | 46 return sys_ptrace(PTRACE_TRACEME, 0, 0, 0); 200 FAIL_IF_EXIT_MSG(ptrace_traceme(), "PTRACE_TRACEME failed");
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 162 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) 163 err(1, "PTRACE_TRACEME");
|
H A D | ptrace_syscall.c | 183 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) 184 err(1, "PTRACE_TRACEME"); 303 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) 304 err(1, "PTRACE_TRACEME");
|
H A D | fsgsbase.c | 469 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) 470 err(1, "PTRACE_TRACEME"); 529 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) 530 err(1, "PTRACE_TRACEME");
|
H A D | test_syscall_vdso.c | 350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0)
|
H A D | syscall_numbering.c | 339 if (ptrace(PTRACE_TRACEME, 0, 0, 0)) {
|
H A D | test_shadow_stack.c | 710 ptrace(PTRACE_TRACEME, NULL, NULL, NULL);
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 37 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { 39 "ptrace(PTRACE_TRACEME) failed: %s\n",
|
H A D | step_after_suspend_test.c | 36 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) { 37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n",
|
H A D | breakpoint_test.c | 209 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0);
|
/linux-master/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 40 int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL); 43 pr_debug("failed to PTRACE_TRACEME\n");
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | za-ptrace.c | 50 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) 51 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
|
H A D | zt-ptrace.c | 45 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) 46 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
|
/linux-master/tools/testing/selftests/arm64/abi/ |
H A D | ptrace.c | 165 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) 166 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
|
/linux-master/arch/um/os-Linux/ |
H A D | start_up.c | 36 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) {
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 254 /* Test PTRACE_TRACEME and PTRACE_ATTACH for parent and child. */ 357 /* Tests child PTRACE_TRACEME. */ 358 ret = ptrace(PTRACE_TRACEME); 368 * PTRACE_TRACEME test is ongoing. 392 * testing PTRACE_TRACEME. 396 /* Tests child PTRACE_TRACEME. */
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 470 rv = ptrace(PTRACE_TRACEME, 0, NULL, NULL); 474 "Did you know? ptrace(PTRACE_TRACEME) doesn't work under strace.\n" 479 perror("ptrace PTRACE_TRACEME");
|
/linux-master/arch/um/os-Linux/skas/ |
H A D | process.c | 215 ptrace(PTRACE_TRACEME, 0, 0, 0);
|
/linux-master/kernel/ |
H A D | ptrace.c | 482 * ptrace_traceme -- helper for PTRACE_TRACEME 485 * Should be used by all ptrace implementations for PTRACE_TRACEME. 1264 if (request == PTRACE_TRACEME) { 1403 if (request == PTRACE_TRACEME) {
|