summaryrefslogtreecommitdiffstats
path: root/src/privsep-root.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 16:17:18 +0000
committerRoy Marples <roy@marples.name>2020-01-21 16:17:18 +0000
commit67a805408331eeaaff5d9b00196d50f93cca42f8 (patch)
tree6f7cc694770aa6830d5accf0f12a1c884eb4b9f2 /src/privsep-root.h
parent18043c2fba9868086534f99b072a7ef7f53a547f (diff)
downloaddhcpcd-67a805408331eeaaff5d9b00196d50f93cca42f8.tar.xz
privsep: chroot the master process
This means that the privileged actioneer process needs to cleanup sockets and pidfile. It also has some reliance on how dhcpcd is started to create a decent chroot area AND copy the configuration file to 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 5ad19c96..b4966bc9 100644
--- a/src/privsep-root.h
+++ b/src/privsep-root.h
@@ -36,6 +36,7 @@ int ps_root_stop(struct dhcpcd_ctx *ctx);
ssize_t ps_root_readerror(struct dhcpcd_ctx *);
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 *);
#if defined(BSD) || defined(__sun)
ssize_t ps_root_route(struct dhcpcd_ctx *, void *, size_t);