Hi :) Quoting Esa Peuha (2015-05-26 10:41:37) > Here is a patch that should break the infinite loop.
Cool. Thanks for looking into this. > Samuel Thibault <samuel.thiba...@gnu.org> wrote: > > ps -o %r > > > > hangs, could somebody have a look? Just to make sure I understand the problem. AIUI there are two issues: 1. For ps-hurd, -o == --posix-format (for libps that means no '%'), and -F == --format (the format described in ps.h): teythoon@darnassus:~$ ps-hurd -o ppid $$ PPID 7981 teythoon@darnassus:~$ ps-hurd -F %ppid $$ PPID 7981 teythoon@darnassus:~$ ps-hurd -F %r $$ ps-hurd: r: Unknown format spec teythoon@darnassus:~$ ps-hurd -o %ppid $$ ^C 2. `%r' is AIX for pgid. Our ps doesn't understand that, but the one from procps does: teythoon@darnassus:~$ ps-hurd -o %r $$ ^C teythoon@darnassus:~$ ps.procps -o %r $$ PGID 7982 I conclude that `ps -o %r' never worked, but hanging is of course not an option. Samuel, did you mean that? Also, ps-hurd is suid root. wtf... Cheers, Justus