summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-05 17:34:54 +0100
committerRoy Marples <roy@marples.name>2020-05-05 17:34:54 +0100
commit4934b0f3357194d28c57f6561d74442f4c7430e5 (patch)
tree24fe848833709b94723a4fe555ff0028e5d51b66 /src
parent725b0bd3faa5f9c4417c71097e4fb01608f5f953 (diff)
downloaddhcpcd-4934b0f3357194d28c57f6561d74442f4c7430e5.tar.xz
privsep: Document any overridden chroot directory.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
-rw-r--r--src/dhcpcd.8.in6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 2cdbe013..a63b8246 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -42,7 +42,8 @@ CLEANFILES+= *.tar.xz
${SED} ${SED_RUNDIR} ${SED_DBDIR} ${SED_LIBDIR} ${SED_HOOKDIR} \
${SED_SYS} ${SED_SCRIPT} ${SED_DATADIR} \
${SED_SERVICEEXISTS} ${SED_SERVICECMD} ${SED_SERVICESTATUS} \
- ${SED_STATUSARG} ${SED_PRIVSEP_USER} \
+ ${SED_STATUSARG} \
+ ${SED_CHROOT} ${SED_PRIVSEP_USER} \
$< > $@
all: ${TOP}/config.h ${PROG} ${SCRIPTS} ${MAN5} ${MAN8}
diff --git a/src/dhcpcd.8.in b/src/dhcpcd.8.in
index 654cd277..83d090f5 100644
--- a/src/dhcpcd.8.in
+++ b/src/dhcpcd.8.in
@@ -267,8 +267,10 @@ instead of the default
.Xr chroot 3
to the
.Ar chroot
-directory rather than the privilege separation users home directory.
-The privilege sepatation user is @PRIVSEP_USER@.
+directory rather than the
+@CHDIR^@privilege separation users home directory.@CHDIR$@
+@CHDIR@
+The privilege separation user is @PRIVSEP_USER@.
.It Fl D , Fl Fl duid
Use a DHCP Unique Identifier.
If a system UUID is available, that will be used to create a DUID-UUID,