summaryrefslogtreecommitdiffstats
path: root/src/privsep.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-06-05 11:12:21 +0100
committerRoy Marples <roy@marples.name>2020-06-05 11:12:21 +0100
commit14af21e525d20018c73466f4c90afc3c4c2567fc (patch)
treece9774419ef10a2842ee505c360d13e54c645bf1 /src/privsep.h
parentd8abf7196114e205e2b6a6318111ea4b3f948668 (diff)
downloaddhcpcd-14af21e525d20018c73466f4c90afc3c4c2567fc.tar.xz
privsep: Remove pledges inet and dns from the master process
Achieved by adding IPC to ignore interfaces names based on the interface group. This means every process just pledges stdio for IPC which the exception of the master process which also pledges route so it can access the routing table.
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 f1fee41e..b22dfd9f 100644
--- a/src/privsep.h
+++ b/src/privsep.h
@@ -57,6 +57,7 @@
#define PS_IOCTLINDIRECT 0x0103
#define PS_IP6FORWARDING 0x0104
#define PS_GETIFADDRS 0x0105
+#define PS_IFIGNOREGRP 0x0106
/* Dev Commands */
#define PS_DEV_LISTENING 0x0201