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 | fb797d2aa5a5e8f0e8668fa81b39c70ac7a0077e (patch) | |
| tree | ab7c08ca4294a4286b081d78ba35fc86966ba2fc /src/privsep.h | |
| parent | 679be2f456faf92b6c621f46b5e21129c92664c3 (diff) | |
| download | dhcpcd-fb797d2aa5a5e8f0e8668fa81b39c70ac7a0077e.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.h')
| -rw-r--r-- | src/privsep.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/privsep.h b/src/privsep.h index babcb37c..8372c0e5 100644 --- a/src/privsep.h +++ b/src/privsep.h @@ -46,13 +46,14 @@ #define PS_ROUTE 0x11 /* Also used for NETLINK */ #define PS_SCRIPT 0x12 #define PS_UNLINK 0x13 +#define PS_COPY 0x14 /* BSD Commands */ -#define PS_IOCTLLINK 0x14 -#define PS_IOCTL6 0x15 +#define PS_IOCTLLINK 0x15 +#define PS_IOCTL6 0x16 /* Linux commands */ -#define PS_WRITEPATHUINT 0x16 +#define PS_WRITEPATHUINT 0x17 #define PS_DELETE 0x20 #define PS_START 0x40 @@ -136,6 +137,7 @@ TAILQ_HEAD(ps_process_head, ps_process); #include "privsep-bpf.h" #endif +int ps_mkdir(char *); int ps_init(struct dhcpcd_ctx *); int ps_dropprivs(struct dhcpcd_ctx *); int ps_start(struct dhcpcd_ctx *); |
