summaryrefslogtreecommitdiffstats
path: root/src/privsep.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-06-10 04:57:02 +0100
committerRoy Marples <roy@marples.name>2020-06-10 04:57:02 +0100
commit7cb1e26d9e4943eb7ef450ed3aeeadf5a70e3227 (patch)
tree83514329c8224983340a4595d1196193ececc177 /src/privsep.h
parentd196c8b662de184e1e79600b16eb53498517ea1f (diff)
downloaddhcpcd-7cb1e26d9e4943eb7ef450ed3aeeadf5a70e3227.tar.xz
privsep: control proxy is no longer optional
It's required for pledge. It *could* be optional for capsicum but I'd like to try and keep the sandboxing the same for now.
Diffstat (limited to 'src/privsep.h')
-rw-r--r--src/privsep.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/privsep.h b/src/privsep.h
index 2bc9bac3..877f1527 100644
--- a/src/privsep.h
+++ b/src/privsep.h
@@ -158,14 +158,12 @@ struct ps_process {
};
TAILQ_HEAD(ps_process_head, ps_process);
+#include "privsep-control.h"
#include "privsep-inet.h"
#include "privsep-root.h"
#ifdef INET
#include "privsep-bpf.h"
#endif
-#ifdef PRIVSEP_CONTROLLER
-#include "privsep-control.h"
-#endif
int ps_init(struct dhcpcd_ctx *);
int ps_dropprivs(struct dhcpcd_ctx *);