Found by Arfrever.
`/var/db` and now stores dhcpcd.duid and dhcpcd.secret in there instead of
in /etc.
dhcpcd-9 requires this directory and contents to be writeable by the
-unpriviledged user (default _dhcpcd).
+unprivileged user (default _dhcpcd).
The Makefile `_confinstall` target will attempt to move the files correctly from
the old locations to the new locations.
fi
if [ -z "$PRIVSEP" ]; then
- # priviledge separation works fine .... except on Solaris
+ # privilege separation works fine .... except on Solaris
case "$OS" in
solaris*|sunos*) PRIVSEP=no;;
*) PRIVSEP=yes;;
esac
fi
-# Debian has a seperate file for DHCP config to avoid stamping on
+# Debian has a separate file for DHCP config to avoid stamping on
# the master.
if [ "$ntp_service" = ntpd ] && type invoke-rc.d >/dev/null 2>&1; then
[ -e /var/lib/ntp ] || mkdir /var/lib/ntp
eloop_event_add(ctx->eloop, fd, control_handle, ctx);
if (ifname == NULL && (fd = control_start1(ctx, NULL, S_UNPRIV)) != -1){
- /* We must be in master mode, so create an unpriviledged socket
+ /* We must be in master mode, so create an unprivileged socket
* to allow normal users to learn the status of dhcpcd. */
ctx->control_unpriv_fd = fd;
eloop_event_add(ctx->eloop, fd, control_handle_unpriv, ctx);
return 0;
}
- /* Only priviledged users can control dhcpcd via the socket. */
+ /* Only privileged users can control dhcpcd via the socket. */
if (fd->flags & FD_UNPRIV) {
errno = EPERM;
return -1;
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation BPF Initiator
+ * Privilege Separation BPF Initiator
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Seperation for dhcpcd
+ * Privilege Separation for dhcpcd
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd, BSD driver
+ * Privilege Separation for dhcpcd, BSD driver
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd, network proxy
+ * Privilege Separation for dhcpcd, network proxy
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Seperation for dhcpcd
+ * Privilege Separation for dhcpcd
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd, Linux driver
+ * Privilege Separation for dhcpcd, Linux driver
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd, privileged actioneer
+ * Privilege Separation for dhcpcd, privileged actioneer
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Seperation for dhcpcd
+ * Privilege Separation for dhcpcd
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd, Solaris driver
+ * Privilege Separation for dhcpcd, Solaris driver
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Separation for dhcpcd
+ * Privilege Separation for dhcpcd
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved
ret = r;
/* We've been chrooted, so we need to tell the
- * priviledged actioneer to remove the pidfile. */
+ * privileged actioneer to remove the pidfile. */
ps_root_unlink(ctx, ctx->pidfile);
r = ps_root_stop(ctx);
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Priviledge Seperation for dhcpcd
+ * Privilege Separation for dhcpcd
* Copyright (c) 2006-2020 Roy Marples <roy@marples.name>
* All rights reserved