summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-24 05:47:14 +0000
committerRoy Marples <roy@marples.name>2020-05-24 05:47:14 +0000
commit12b0db43b2a139744fbcf04824390fcb1de445ea (patch)
tree5cde5e68c8d6710d707d8a54da0de97d856b7602 /src/privsep-root.h
parentc572835e98da5a186f7453f3daa2aec765ef2d9b (diff)
downloaddhcpcd-12b0db43b2a139744fbcf04824390fcb1de445ea.tar.xz
privsep: Allow Linux to work without needing any mounts
Diffstat (limited to 'src/privsep-root.h')
-rw-r--r--src/privsep-root.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep-root.h b/src/privsep-root.h
index bf02bb5f..998c7830 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -37,6 +37,7 @@ int ps_root_stop(struct dhcpcd_ctx *ctx);
ssize_t ps_root_readerror(struct dhcpcd_ctx *, void *, size_t);
ssize_t ps_root_mreaderror(struct dhcpcd_ctx *, void **, size_t *);
ssize_t ps_root_ioctl(struct dhcpcd_ctx *, ioctl_request_t, void *, size_t);
+ssize_t ps_root_ip6forwarding(struct dhcpcd_ctx *, const char *);
ssize_t ps_root_unlink(struct dhcpcd_ctx *, const char *);
ssize_t ps_root_filemtime(struct dhcpcd_ctx *, const char *, time_t *);
ssize_t ps_root_readfile(struct dhcpcd_ctx *, const char *, void *, size_t);
@@ -52,7 +53,6 @@ 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 *);