summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 20:08:56 +0000
committerRoy Marples <roy@marples.name>2020-01-21 20:08:56 +0000
commitfb797d2aa5a5e8f0e8668fa81b39c70ac7a0077e (patch)
treeab7c08ca4294a4286b081d78ba35fc86966ba2fc /src/privsep-root.h
parent679be2f456faf92b6c621f46b5e21129c92664c3 (diff)
downloaddhcpcd-fb797d2aa5a5e8f0e8668fa81b39c70ac7a0077e.tar.xz
privsep: copy configuration file into chroot
Only if it has changed. Saves having to maintian it outside of dhcpcdm in a script or something.
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 b4966bc9..d7f3148a 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -35,6 +35,7 @@ pid_t ps_root_start(struct dhcpcd_ctx *ctx);
int ps_root_stop(struct dhcpcd_ctx *ctx);
ssize_t ps_root_readerror(struct dhcpcd_ctx *);
+ssize_t ps_root_copychroot(struct dhcpcd_ctx *, const char *);
ssize_t ps_root_ioctl(struct dhcpcd_ctx *, ioctl_request_t, void *, size_t);
ssize_t ps_root_unlink(struct dhcpcd_ctx *, const char *);
ssize_t ps_root_os(struct ps_msghdr *, struct msghdr *);