]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Allow logfile reopening in a chroot
authorRoy Marples <roy@marples.name>
Fri, 30 Oct 2020 14:19:16 +0000 (14:19 +0000)
committerRoy Marples <roy@marples.name>
Fri, 30 Oct 2020 14:19:16 +0000 (14:19 +0000)
commitc963b6033c4bf32c4c72c725f05a0374d32bd370
tree0ed95cc585db277566a1d3a8f7bafb4124286c75
parentc3069de559a30980fa5c72af7e483d912f010002
privsep: Allow logfile reopening in a chroot

Now that only the privileged actioneer does the actual logging
we can safely reopen the file we are logging to.
This also closes and re-opens the syslog connection.
src/dhcpcd.8.in
src/dhcpcd.c
src/dhcpcd.h
src/logerr.c
src/logerr.h
src/privsep-root.c
src/privsep-root.h
src/privsep.h