Searched refs:PTRACE_TRACEME (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/arch/um/kernel/skas/
H A Dclone.c38 err = stub_syscall4(__NR_ptrace, PTRACE_TRACEME, 0, 0, 0);
/linux-master/tools/testing/selftests/ptrace/
H A Dvmaccess.c20 ptrace(PTRACE_TRACEME, 0, 0L, 0L);
H A Dget_set_sud.c28 ASSERT_EQ(0, sys_ptrace(PTRACE_TRACEME, 0, 0, 0)) {
29 TH_LOG("PTRACE_TRACEME: %m");
H A Dget_syscall_info.c84 /* 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 Dptrace.h11 #define PTRACE_TRACEME 0 macro
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
75 err(1, "PTRACE_TRACEME");
H A Dptrace-perf-hwbreak.c46 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 Dfsgsbase_restore.c162 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
163 err(1, "PTRACE_TRACEME");
H A Dptrace_syscall.c183 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 Dfsgsbase.c469 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 Dtest_syscall_vdso.c350 if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0)
H A Dsyscall_numbering.c339 if (ptrace(PTRACE_TRACEME, 0, 0, 0)) {
H A Dtest_shadow_stack.c710 ptrace(PTRACE_TRACEME, NULL, NULL, NULL);
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c37 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) {
39 "ptrace(PTRACE_TRACEME) failed: %s\n",
H A Dstep_after_suspend_test.c36 if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) {
37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n",
H A Dbreakpoint_test.c209 ret = ptrace(PTRACE_TRACEME, 0, NULL, 0);
/linux-master/tools/perf/arch/x86/tests/
H A Dbp-modify.c40 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 Dza-ptrace.c50 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL))
51 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
H A Dzt-ptrace.c45 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 Dptrace.c165 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL))
166 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno));
/linux-master/arch/um/os-Linux/
H A Dstart_up.c36 ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) {
/linux-master/tools/testing/selftests/landlock/
H A Dptrace_test.c254 /* 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 Dproc-empty-vm.c470 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 Dprocess.c215 ptrace(PTRACE_TRACEME, 0, 0, 0);
/linux-master/kernel/
H A Dptrace.c482 * 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) {

Completed in 300 milliseconds

12