summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-22 12:00:10 +0000
committerRoy Marples <roy@marples.name>2020-01-22 12:00:10 +0000
commit4704f921f3dc12d37e77ef83d1427572184e94ae (patch)
treef3120fdc353d45f5dbfa9d04805b46500ec386d4 /src/privsep-root.h
parent5b5da4e5b136b55e6fae2a1f5ccbde50ab90f7de (diff)
downloaddhcpcd-4704f921f3dc12d37e77ef83d1427572184e94ae.tar.xz
logging: Always log to syslog(3).
--logfile may not work that well in a chroot on receipt of SIGUSR2 because the path is of course different. Might have to drop this option soon as I have no good ideas on how to resolve it :(
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 d7f3148a..5a9a0130 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_docopychroot(struct dhcpcd_ctx *, const char *);
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 *);