Browse Source

Update README

develop
Damien Goutte-Gattat 9 years ago
parent
commit
2a2a4fb5ec
  1. 7
      README

7
README

@ -11,9 +11,10 @@ current shell.
On GNU/Linux systems where the Netlink interface is available, wait4 is
directly informed by the kernel as soon as the target process is
terminated, and the exit code of that process is used as the exit code
of wait4 itself. On other systems, wait4 acts by polling the /proc
filesystem every second; in that case, the exit code is always 0, as
there is no way to retrieve the exit code of the target process.
of wait4 itself. On other systems, wait4 acts by pretending to send a
signal to the target process every second; in that case, the exit code
is always 0, as there is no way to retrieve the exit code of the target
process.
When using Netlink, wait4 must be run as setuid root, as only a
privileged process can bind to an AF_NETLINK address; root privileges

Loading…
Cancel
Save