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
commit730ce26da503f523748c7910558fc769131779ac (patch)
treef3120fdc353d45f5dbfa9d04805b46500ec386d4 /src/privsep-root.h
parenteed9c74e6c37ed1ddb549e9894fb21aee5704209 (diff)
downloaddhcpcd-730ce26da503f523748c7910558fc769131779ac.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 *);