summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
committerRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
commitcc2d257183f1a70c013a451d6b16cd061e6e5975 (patch)
treea5b0bd6b799e59714196e5774b67f239c7162b86 /configure
parent756049bc78b4345afe35005587eace51dec689c4 (diff)
downloaddhcpcd-cc2d257183f1a70c013a451d6b16cd061e6e5975.tar.xz
privsep: Add --chroot configurable
Overrides the directory to chroot to away from the privilege separation users home directory.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 203b2ba0..3e2e20fd 100755
--- a/configure
+++ b/configure
@@ -578,6 +578,7 @@ if [ "$PRIVSEP" = yes ]; then
fi
echo "CPPFLAGS+= -DPRIVSEP" >>$CONFIG_MK
+ echo "PRIVSEP_USER?= $PRIVSEP_USER" >>$CONFIG_MK
echo "#ifndef PRIVSEP_USER" >>$CONFIG_H
echo "#define PRIVSEP_USER \"$PRIVSEP_USER\"" >>$CONFIG_H
echo "#endif" >>$CONFIG_H