]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: Add waitchild helper
authorSean Anderson <seanga2@gmail.com>
Wed, 24 Nov 2021 18:26:14 +0000 (13:26 -0500)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Dec 2021 12:35:59 +0000 (13:35 +0100)
commit82ea629868122b1c2dc870ae8869af6e6e258edb
treeb3edcf860d478320c8bcecd317325e14d39bf108
parentadc21ee18fb8af79adaf9d4254ab0f935e38f784
unshare: Add waitchild helper

This refactors out the waitpid() logic into a function which will be
reused for the upcoming patches.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
sys-utils/unshare.c