diff options
| author | Roy Marples <roy@marples.name> | 2020-01-21 20:08:56 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-01-21 20:08:56 +0000 |
| commit | 8a4cd387823dc5e122839af9d9463985cb99f383 (patch) | |
| tree | ab7c08ca4294a4286b081d78ba35fc86966ba2fc /src/privsep-root.h | |
| parent | 744a752ca1a4ad3373b4835e8d1d2c1367bf3da0 (diff) | |
| download | dhcpcd-8a4cd387823dc5e122839af9d9463985cb99f383.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.h | 1 |
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 *); |
