Lines Matching defs:pid
54 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size)
75 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov))
91 static int set_za(pid_t pid, const struct user_za_header *za)
97 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov);
100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES])
106 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov);
110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES])
116 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZT, &iov);
258 pid_t pid;
266 pid = wait(&status);
267 if (pid == -1) {
276 if (pid != child)
287 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &si)) {
302 si.si_pid == pid)
306 if (ptrace(PTRACE_CONT, pid, NULL, sig)) {