diff options
| author | Roy Marples <roy@marples.name> | 2021-02-02 16:54:09 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2021-02-02 16:54:09 +0000 |
| commit | f6082bca98c2d16492d56e98ec9ea927c36c248a (patch) | |
| tree | 5138e7b056a70ff83836f1f966d43fc56f96c8d6 /src/privsep.c | |
| parent | 3c26587f67aefd49ddbaa5565622be6b0d3b6ccf (diff) | |
| download | dhcpcd-f6082bca98c2d16492d56e98ec9ea927c36c248a.tar.xz | |
Rename Master to Manager
Diffstat (limited to 'src/privsep.c')
| -rw-r--r-- | src/privsep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/privsep.c b/src/privsep.c index 52599df1..b63a9d4b 100644 --- a/src/privsep.c +++ b/src/privsep.c @@ -34,7 +34,7 @@ * Spawn an unpriv process to send/receive common network data. * Then drop all privs and start running. * Every process aside from the privileged actioneer is chrooted. - * All privsep processes ignore signals - only the master process accepts them. + * All privsep processes ignore signals - only the manager process accepts them. * * dhcpcd will maintain the config file in the chroot, no need to handle * this in a script or something. @@ -536,7 +536,7 @@ ps_entersandbox(const char *_pledge, const char **sandbox) } int -ps_mastersandbox(struct dhcpcd_ctx *ctx, const char *_pledge) +ps_managersandbox(struct dhcpcd_ctx *ctx, const char *_pledge) { const char *sandbox = NULL; bool forked; @@ -587,7 +587,7 @@ ps_mastersandbox(struct dhcpcd_ctx *ctx, const char *_pledge) return -1; } else if (ctx->options & DHCPCD_LAUNCHER || ((!(ctx->options & DHCPCD_DAEMONISE)) && - ctx->options & DHCPCD_MASTER)) + ctx->options & DHCPCD_MANAGER)) logdebugx("sandbox: %s", sandbox); return 0; } |
