summaryrefslogtreecommitdiffstats
path: root/src/privsep.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 22:35:31 +0000
committerRoy Marples <roy@marples.name>2020-01-21 22:35:31 +0000
commitb7351730bfba82a27a3ce542a2c36564405a6baf (patch)
tree5e499291c51a7336c96c72d2396a8af4d06781c5 /src/privsep.c
parentb2888271d79d39d972db7746f5d4ecdcf1372586 (diff)
downloaddhcpcd-b7351730bfba82a27a3ce542a2c36564405a6baf.tar.xz
privsep: Note CHROOT script
While here make BUILDING.md match reality and fix a warning compiling without privsep.
Diffstat (limited to 'src/privsep.c')
-rw-r--r--src/privsep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/privsep.c b/src/privsep.c
index af9e27bf..f0fd444f 100644
--- a/src/privsep.c
+++ b/src/privsep.c
@@ -33,6 +33,10 @@
* or address specific listener.
* Spawn an unpriv process to send/receive common network data.
* Then drop all privs and start running.
+ * Every process aside from the privileged actioneer is chrooted.
+ *
+ * dhcpcd will maintain the config file in the chroot, no need to handle
+ * this in a script or something.
*/
#include <sys/socket.h>