summaryrefslogtreecommitdiffstats
path: root/src/privsep.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-10-30 14:19:16 +0000
committerRoy Marples <roy@marples.name>2020-10-30 14:19:16 +0000
commitc963b6033c4bf32c4c72c725f05a0374d32bd370 (patch)
tree0ed95cc585db277566a1d3a8f7bafb4124286c75 /src/privsep.h
parentc3069de559a30980fa5c72af7e483d912f010002 (diff)
downloaddhcpcd-c963b6033c4bf32c4c72c725f05a0374d32bd370.tar.xz
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.
Diffstat (limited to 'src/privsep.h')
-rw-r--r--src/privsep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep.h b/src/privsep.h
index 4fd33e7f..87c84eb9 100644
--- a/src/privsep.h
+++ b/src/privsep.h
@@ -52,6 +52,7 @@
#define PS_AUTH_MONORDM 0x0017
#define PS_CTL 0x0018
#define PS_CTL_EOF 0x0019
+#define PS_LOGREOPEN 0x0020
/* BSD Commands */
#define PS_IOCTLLINK 0x0101