]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Implement pdfork(2) for capsicum(4)
authorRoy Marples <roy@marples.name>
Wed, 17 Mar 2021 20:13:02 +0000 (20:13 +0000)
committerRoy Marples <roy@marples.name>
Wed, 17 Mar 2021 20:13:02 +0000 (20:13 +0000)
commitc691df1084cf2e828f7af27d0be861f144f9328c
tree338cdd7d8e05812bed2b30a1a609109749cbf38a
parent77ef5d931a6723abe7114edfd563b17b299bcf54
privsep: Implement pdfork(2) for capsicum(4)

Capsicum does not allow waitpid(2).
As such we need to use pdfork(2) and watch for the descriptor to
hangup.
src/eloop.c
src/privsep.c
src/privsep.h