]> git.ipfire.org Git - thirdparty/util-linux.git/commit
waitpid: support 'PID:inode' process addressing format
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 14 Jan 2026 00:42:09 +0000 (19:42 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 1 Feb 2026 20:08:29 +0000 (15:08 -0500)
commitc32fd73f64360fd5d13c9e771a92ccae7158610d
treefc68b0c0a56b5268afe6ab27918215625b4cdf2e
parentaa4b4c28e94226b0a9790d1a4fbdb7d8d1365daa
waitpid: support 'PID:inode' process addressing format

Adding support for the 'PID:inode' format to address a
process ensures that waitpid(1) safely polls the status
of the expected process in a race-free manner. Worthy of
note is that with the addition of the getino(1) command
the aforementioned task becomes trivially simple.

Example:
        waitpid $(getino -p 123456)

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
misc-utils/waitpid.c