Lines Matching refs:pid
42 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid)
46 rval = setpgid(pid, pgid);
50 "setpgid(%i, %i) failed", pid, pgid);
53 "Invalid setpgid(%i, %i) return value %d", pid, pgid,
60 pid_t safe_getpgid(const char *file, const int lineno, pid_t pid)
64 pgid = getpgid(pid);
68 pid);
71 "Invalid getpgid(%i) return value %d", pid, pgid);
130 int safe_pidfd_open(const char *file, const int lineno, pid_t pid,
135 rval = pidfd_open(pid, flags);
139 "pidfd_open(%i, %i) failed", pid, flags);
143 pid, flags, rval);
479 long tst_safe_ptrace(const char *file, const int lineno, int req, pid_t pid,
485 ret = ptrace(req, pid, addr, data);