summaryrefslogtreecommitdiffstats
path: root/src/privsep.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-13 20:52:24 +0100
committerRoy Marples <roy@marples.name>2020-05-13 20:52:24 +0100
commita34dc1d4f46ce76020654eef5e3ff33542425149 (patch)
tree1629564b6e151f42ae2ccd735963365363247c6f /src/privsep.h
parentd65f4be81281ad3a69ffa65cf6fba3e4b9498df3 (diff)
downloaddhcpcd-a34dc1d4f46ce76020654eef5e3ff33542425149.tar.xz
privsep: Add a generic wrapper for getifaddrs(3)
Although this is only for Capsicum, the getifaddrs interface is quite portable although not POSIX. With this final change, the Master process can now enter Capsicum Capabilites Mode and this completes the Capsicum integration.
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 6fdbfdc8..94346cac 100644
--- a/src/privsep.h
+++ b/src/privsep.h
@@ -58,6 +58,7 @@
#define PS_IOCTL6 0x0102
#define PS_IOCTLINDIRECT 0x0103
#define PS_IP6FORWARDING 0x0104
+#define PS_GETIFADDRS 0x0105
/* Linux commands */
#define PS_WRITEPATHUINT 0x0201