summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-10 12:19:59 +0100
committerRoy Marples <roy@marples.name>2020-05-10 12:19:59 +0100
commit82d7c0bc10c09e0fb5ae4df1eeaede78377d1c8b (patch)
treecb279ed101c8eed6c078d41b1bdfe75b514c2aef /src/privsep-root.h
parent6c1e0dbd92be10ba63fac479e545c95dd983ea26 (diff)
downloaddhcpcd-82d7c0bc10c09e0fb5ae4df1eeaede78377d1c8b.tar.xz
privsep: Add function for indirect ioctl
Diffstat (limited to 'src/privsep-root.h')
-rw-r--r--src/privsep-root.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/privsep-root.h b/src/privsep-root.h
index 46608792..27a481a6 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -44,6 +44,8 @@ ssize_t ps_root_os(struct ps_msghdr *, struct msghdr *);
ssize_t ps_root_route(struct dhcpcd_ctx *, void *, size_t);
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);
#endif
#ifdef __linux__
ssize_t ps_root_sendnetlink(struct dhcpcd_ctx *, int, struct msghdr *);