Searched refs:PTRACE_ATTACH (Results 1 - 11 of 11) sorted by relevance
/linux-master/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 59 k = ptrace(PTRACE_ATTACH, pid, 0L, 0L); 69 k = ptrace(PTRACE_ATTACH, pid, 0L, 0L);
|
H A D | peeksiginfo.c | 188 if (sys_ptrace(PTRACE_ATTACH, child, NULL, NULL) == -1)
|
/linux-master/include/uapi/linux/ |
H A D | ptrace.h | 22 #define PTRACE_ATTACH 16 macro
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 254 /* Test PTRACE_TRACEME and PTRACE_ATTACH for parent and child. */ 343 /* Tests PTRACE_ATTACH on the parent. */ 344 ret = ptrace(PTRACE_ATTACH, parent, NULL, 0); 367 * Signals that the PTRACE_ATTACH test is done and the 376 /* Waits for the parent PTRACE_ATTACH test. */ 391 * Waits for the child to test PTRACE_ATTACH on the parent and start 415 /* Tests PTRACE_ATTACH on the child. */ 416 ret = ptrace(PTRACE_ATTACH, child, NULL, 0); 430 /* Signals that the parent PTRACE_ATTACH test is done. */
|
/linux-master/tools/testing/selftests/x86/ |
H A D | mov_ss_trap.c | 73 if (ptrace(PTRACE_ATTACH, parent, NULL, NULL) != 0) 74 err(1, "PTRACE_ATTACH");
|
/linux-master/tools/testing/selftests/mm/ |
H A D | memfd_secret.c | 122 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0);
|
H A D | protection_keys.c | 1395 ret = ptrace(PTRACE_ATTACH, child_pid, ignored, ignored);
|
/linux-master/kernel/ |
H A D | ptrace.c | 476 proc_ptrace_connector(task, PTRACE_ATTACH); 1275 if (request == PTRACE_ATTACH || request == PTRACE_SEIZE) { 1414 if (request == PTRACE_ATTACH || request == PTRACE_SEIZE) {
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 68 ret = ptrace(PTRACE_ATTACH, child, NULL, NULL); 70 perror("ptrace(PTRACE_ATTACH) failed");
|
/linux-master/drivers/connector/ |
H A D | cn_proc.c | 249 if (ptrace_id == PTRACE_ATTACH) {
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 1527 ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0); 3315 ASSERT_EQ(0, ptrace(PTRACE_ATTACH, pid)); 4386 ASSERT_EQ(0, ptrace(PTRACE_ATTACH, self->pid, NULL, 0));
|
Completed in 185 milliseconds