summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-10 16:09:54 +0100
committerRoy Marples <roy@marples.name>2020-05-10 16:09:54 +0100
commit2f9d9eae5fb8fb1922b0e096e157987ac0df110e (patch)
treec90effa39a8875fdf93f703bd9174a3d7e59dc77 /src/privsep-root.h
parent82d7c0bc10c09e0fb5ae4df1eeaede78377d1c8b (diff)
downloaddhcpcd-2f9d9eae5fb8fb1922b0e096e157987ac0df110e.tar.xz
privsep: Implement pledge(2) support as found on OpenBSD
Diffstat (limited to 'src/privsep-root.h')
-rw-r--r--src/privsep-root.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep-root.h b/src/privsep-root.h
index 27a481a6..7f8bdc65 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -46,6 +46,7 @@ ssize_t ps_root_ioctllink(struct dhcpcd_ctx *, unsigned long, void *, size_t);
ssize_t ps_root_ioctl6(struct dhcpcd_ctx *, unsigned long, void *, size_t);
ssize_t ps_root_indirectioctl(struct dhcpcd_ctx *, unsigned long, const char *,
void *, size_t);
+ssize_t ps_root_ip6forwarding(struct dhcpcd_ctx *);
#endif
#ifdef __linux__
ssize_t ps_root_sendnetlink(struct dhcpcd_ctx *, int, struct msghdr *);