Lines Matching refs:ptrace
27 * so we use ptrace vfork'd processes in order to pause then during each
44 #include "../../syscalls/ptrace/ptrace.h"
82 if (ptrace(PTRACE_KILL, child, NULL, NULL) < 0) {
84 "ptrace(PTRACE_KILL, %d, ..) failed", child);
207 if (ptrace(PTRACE_GETSIGINFO, gchild, NULL, &info) == -1) {
208 debug("ptrace(): ");
222 if (ptrace(PTRACE_DETACH, gchild, NULL, NULL) == -1)
223 debug("ptrace(): ");
254 if (ptrace(PTRACE_CONT, process, NULL, NULL) == -1)
255 debug("ptrace(): ");
340 /* Set up ptrace */
341 if (ptrace(PTRACE_ATTACH, child, NULL, NULL) == -1) {
343 NULL, "ptrace(ATTACH) failed");
351 if (ptrace(PTRACE_SETOPTIONS, child, NULL,
354 "ptrace(PTRACE_SETOPTIONS) "
357 if (ptrace(PTRACE_CONT, child, NULL, NULL) ==
360 "ptrace(PTRACE_CONT) failed.");
387 tst_resm(TCONF, "System doesn't support have required ptrace "