process-util: port pidref_get_uid() and pidref_is_my_child() to pidfd helpers
This commit is contained in:
@@ -188,7 +188,7 @@ int pidfd_get_ppid(int fd, pid_t *ret) {
|
||||
|
||||
assert(FLAGS_SET(info.mask, PIDFD_INFO_PID));
|
||||
|
||||
if (info.ppid == 0)
|
||||
if (info.ppid == 0) /* See comments in pid_get_ppid() */
|
||||
return -EADDRNOTAVAIL;
|
||||
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user