/linux/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 354 ASSERT_EQ(0, ptrace(PTRACE_DETACH, parent, NULL, 0)); in TEST_F() 400 ASSERT_EQ(0, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F() 403 EXPECT_EQ(-1, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F() 427 ASSERT_EQ(0, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F()
|
/linux/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 123 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify1() 199 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify2()
|
/linux/include/uapi/linux/ |
H A D | ptrace.h | 23 #define PTRACE_DETACH 17 macro
|
/linux/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 75 k = ptrace(PTRACE_DETACH, pid, 0L, 0L); in TEST()
|
/linux/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 219 if (ptrace(PTRACE_DETACH, chld, NULL, NULL) != 0) in main()
|
H A D | mov_ss_trap.c | 90 if (ptrace(PTRACE_DETACH, parent, NULL, NULL) != 0) in enable_watchpoint()
|
H A D | syscall_numbering.c | 414 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer()
|
H A D | amx.c | 893 ptrace(PTRACE_DETACH, child, NULL, NULL); in test_ptrace()
|
H A D | test_shadow_stack.c | 961 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) { in test_ptrace()
|
/linux/kernel/ |
H A D | ptrace.c | 585 proc_ptrace_connector(child, PTRACE_DETACH); in ptrace_detach() 1159 case PTRACE_DETACH: /* detach a process that was attached. */ in ptrace_request() 1286 if (ret || request != PTRACE_DETACH) in SYSCALL_DEFINE4() 1423 if (ret || request != PTRACE_DETACH) in COMPAT_SYSCALL_DEFINE4()
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 625 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) in test_cgfreezer_ptrace() 751 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) in test_cgfreezer_ptraced()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 289 case PTRACE_DETACH: in compat_arch_ptrace()
|
/linux/arch/sparc/kernel/ |
H A D | ptrace_32.c | 428 request = PTRACE_DETACH; in arch_ptrace()
|
H A D | ptrace_64.c | 996 request = PTRACE_DETACH; in compat_arch_ptrace() 1077 request = PTRACE_DETACH; in arch_ptrace()
|
/linux/drivers/connector/ |
H A D | cn_proc.c | 252 } else if (ptrace_id == PTRACE_DETACH) { in proc_ptrace_connector()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 85 ret = ptrace(PTRACE_DETACH, child, NULL, NULL); in stop_trace()
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | fp-ptrace.c | 769 if (!continue_breakpoint(child, PTRACE_DETACH)) in run_parent()
|
/linux/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 1432 ret = ptrace(PTRACE_DETACH, child_pid, ignored, 0); in test_ptrace_of_child()
|