Home | History | Annotate | Download | only in ptrace

Lines Matching defs:pid

15  *  - access the child pid via the "pid" variable
28 static pid_t pid;
43 #define vptrace(request, pid, addr, data) \
50 __ret = ptrace(request, pid, __addr, __data); \
52 perror("ptrace(" #request ", " #pid ", " #addr ", " #data ")"); \
70 pid = vfork();
71 if (pid == -1) {
74 } else if (pid) {
77 if (wait(&status) != pid) {
78 tst_brkm(TBROK | TERRNO, NULL, "wait(%i) failed: %#x", pid, status);
79 kill(pid, SIGKILL);
84 kill(pid, SIGKILL);