diff options
| author | Roy Marples <roy@marples.name> | 2020-06-02 17:48:34 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-02 17:48:34 +0100 |
| commit | b8ed6cdf7919b1fc406634ccd043b1a995c89921 (patch) | |
| tree | 2c6e067fa0bb59e1fb9f439c1ef2cdcb5a0ec699 /src/privsep-root.h | |
| parent | d3de73d80c7f307bab0278162ff81c3731ac2ce7 (diff) | |
| download | dhcpcd-b8ed6cdf7919b1fc406634ccd043b1a995c89921.tar.xz | |
privsep: Access the RDM monotic file via IPC
As we can't get at it in the chroot.
While here, harden the file.
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 a56e30af..683e5654 100644 --- a/src/privsep-root.h +++ b/src/privsep-root.h @@ -44,6 +44,7 @@ ssize_t ps_root_readfile(struct dhcpcd_ctx *, const char *, void *, size_t); ssize_t ps_root_writefile(struct dhcpcd_ctx *, const char *, mode_t, const void *, size_t); ssize_t ps_root_script(struct dhcpcd_ctx *, const void *, size_t); +int ps_root_getauthrdm(struct dhcpcd_ctx *, uint64_t *); int ps_root_getifaddrs(struct dhcpcd_ctx *, struct ifaddrs **); ssize_t ps_root_os(struct ps_msghdr *, struct msghdr *); |
