diff options
| author | Roy Marples <roy@marples.name> | 2020-01-09 15:39:18 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-01-09 15:39:18 +0000 |
| commit | c9c939ec49f43770566791c122e85a45e279ceeb (patch) | |
| tree | 7c46914cbb6cd890425477524c52ad5d3b06bb30 /src/privsep.h | |
| parent | 29e087a4de864dd366633c15edaa0a99d2e02cd9 (diff) | |
| download | dhcpcd-c9c939ec49f43770566791c122e85a45e279ceeb.tar.xz | |
privsep: Delay control startup after starting privsep
This means we don't need to close it for other processes.
Add ps_init so that we can change directory permissions before
starting privsep itself.
Diffstat (limited to 'src/privsep.h')
| -rw-r--r-- | src/privsep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep.h b/src/privsep.h index 4c306f3d..2f63038a 100644 --- a/src/privsep.h +++ b/src/privsep.h @@ -130,6 +130,7 @@ TAILQ_HEAD(ps_process_head, ps_process); #include "privsep-bpf.h" #endif +int ps_init(struct dhcpcd_ctx *); int ps_start(struct dhcpcd_ctx *); int ps_stop(struct dhcpcd_ctx *); |
