From: Todd C. Miller Date: Fri, 2 Jun 2017 22:10:37 +0000 (-0600) Subject: Mac OS X -> macOS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ab00964ec50547c9c3ba8e24af96fc8ae4cd262;p=sudo Mac OS X -> macOS --- diff --git a/INSTALL.configure b/INSTALL.configure index 81fd332ce..a1b253cfe 100644 --- a/INSTALL.configure +++ b/INSTALL.configure @@ -124,7 +124,7 @@ architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. - On MacOS X 10.5 and later systems, you can create libraries and + On macOS 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like diff --git a/configure.ac b/configure.ac index be36a6b6e..83a6dd3aa 100644 --- a/configure.ac +++ b/configure.ac @@ -3239,7 +3239,7 @@ if test ${with_pam-"no"} != "no"; then found_pam_lib=no AC_CHECK_LIB(pam, pam_start, [found_pam_lib=yes], [], [$lt_cv_dlopen_libs]) # - # Some PAM implementations (MacOS X for example) put the PAM headers + # Some PAM implementations (macOS for example) put the PAM headers # in /usr/include/pam instead of /usr/include/security... # found_pam_hdrs=no diff --git a/doc/sudo_plugin.cat b/doc/sudo_plugin.cat index 48f7bd3ca..0bb30f2ec 100644 --- a/doc/sudo_plugin.cat +++ b/doc/sudo_plugin.cat @@ -493,8 +493,8 @@ DDEESSCCRRIIPPTTIIOONN support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. For - example, Mac OS X fails to restart the ttccggeettaattttrr() and - ttccsseettaattttrr() system calls (this is a bug in Mac OS X). + example, macOS fails to restart the ttccggeettaattttrr() and + ttccsseettaattttrr() system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the SIGTTIN or SIGTTOU signals, programs that catch these signals and suspend @@ -1592,4 +1592,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or https://www.sudo.ws/license.html for complete details. -Sudo 1.8.20 February 16, 2017 Sudo 1.8.20 +Sudo 1.8.21 June 2, 2017 Sudo 1.8.21 diff --git a/doc/sudo_plugin.man.in b/doc/sudo_plugin.man.in index 7f40ff0df..4e169fccc 100644 --- a/doc/sudo_plugin.man.in +++ b/doc/sudo_plugin.man.in @@ -16,7 +16,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH "SUDO_PLUGIN" "5" "February 16, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual" +.TH "SUDO_PLUGIN" "5" "June 2, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .nh .if n .ad l .SH "NAME" @@ -866,11 +866,11 @@ For this to work seamlessly, the operating system must support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. -For example, Mac OS X fails to restart the +For example, macOS fails to restart the \fBtcgetattr\fR() and \fBtcsetattr\fR() -system calls (this is a bug in Mac OS X). +system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the \fRSIGTTIN\fR or diff --git a/doc/sudo_plugin.mdoc.in b/doc/sudo_plugin.mdoc.in index 16c15b1fb..285ca6e55 100644 --- a/doc/sudo_plugin.mdoc.in +++ b/doc/sudo_plugin.mdoc.in @@ -14,7 +14,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd February 16, 2017 +.Dd June 2, 2017 .Dt SUDO_PLUGIN @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -768,11 +768,11 @@ For this to work seamlessly, the operating system must support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. -For example, Mac OS X fails to restart the +For example, macOS fails to restart the .Fn tcgetattr and .Fn tcsetattr -system calls (this is a bug in Mac OS X). +system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the .Dv SIGTTIN or diff --git a/doc/sudoers.cat b/doc/sudoers.cat index a2f04de40..990b33e7d 100644 --- a/doc/sudoers.cat +++ b/doc/sudoers.cat @@ -985,8 +985,8 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. For - example, Mac OS X fails to restart the ttccggeettaattttrr() and - ttccsseettaattttrr() system calls (this is a bug in Mac OS X). + example, macOS fails to restart the ttccggeettaattttrr() and + ttccsseettaattttrr() system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the SIGTTIN or SIGTTOU signals, programs that catch these signals and suspend @@ -1095,8 +1095,8 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS a command may only be run after the audit event is successfully written. This flag is only effective on systems for which ssuuddooeerrss supports audit logging, - including FreeBSD, Linux, Mac OS X and Solaris. This - flag is _o_n by default. + including FreeBSD, Linux, macOS and Solaris. This flag + is _o_n by default. ignore_dot If set, ssuuddoo will ignore "." or "" (both denoting current directory) in the PATH environment variable; @@ -2610,7 +2610,7 @@ SSEECCUURRIITTYY NNOOTTEESS affected. The _n_o_e_x_e_c feature is known to work on SunOS, Solaris, *BSD, - Linux, IRIX, Tru64 UNIX, MacOS X, HP-UX 11.x and AIX 5.3 and + Linux, IRIX, Tru64 UNIX, macOS, HP-UX 11.x and AIX 5.3 and above. It should be supported on most operating systems that support the LD_PRELOAD environment variable. Check your operating system's manual pages for the dynamic linker (usually @@ -2817,4 +2817,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or https://www.sudo.ws/license.html for complete details. -Sudo 1.8.20 May 10, 2017 Sudo 1.8.20 +Sudo 1.8.21 June 2, 2017 Sudo 1.8.21 diff --git a/doc/sudoers.man.in b/doc/sudoers.man.in index 97d71c60d..3f097f2ee 100644 --- a/doc/sudoers.man.in +++ b/doc/sudoers.man.in @@ -21,7 +21,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.TH "SUDOERS" "5" "May 10, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual" +.TH "SUDOERS" "5" "June 2, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .nh .if n .ad l .SH "NAME" @@ -2090,11 +2090,11 @@ For this to work seamlessly, the operating system must support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. -For example, Mac OS X fails to restart the +For example, macOS fails to restart the \fBtcgetattr\fR() and \fBtcsetattr\fR() -system calls (this is a bug in Mac OS X). +system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the \fRSIGTTIN\fR or @@ -2319,7 +2319,7 @@ If disabled, a command may only be run after the audit event is successfully written. This flag is only effective on systems for which \fBsudoers\fR -supports audit logging, including FreeBSD, Linux, Mac OS X and Solaris. +supports audit logging, including FreeBSD, Linux, macOS and Solaris. This flag is \fIon\fR by default. @@ -5202,7 +5202,7 @@ running under binary emulation are not affected. The \fInoexec\fR feature is known to work on SunOS, Solaris, *BSD, -Linux, IRIX, Tru64 UNIX, MacOS X, HP-UX 11.x and AIX 5.3 and above. +Linux, IRIX, Tru64 UNIX, macOS, HP-UX 11.x and AIX 5.3 and above. It should be supported on most operating systems that support the \fRLD_PRELOAD\fR environment variable. diff --git a/doc/sudoers.mdoc.in b/doc/sudoers.mdoc.in index 8dbd4db81..d3245e2eb 100644 --- a/doc/sudoers.mdoc.in +++ b/doc/sudoers.mdoc.in @@ -19,7 +19,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.Dd May 10, 2017 +.Dd June 2, 2017 .Dt SUDOERS @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -1957,11 +1957,11 @@ For this to work seamlessly, the operating system must support the automatic restarting of system calls. Unfortunately, not all operating systems do this by default, and even those that do may have bugs. -For example, Mac OS X fails to restart the +For example, macOS fails to restart the .Fn tcgetattr and .Fn tcsetattr -system calls (this is a bug in Mac OS X). +system calls (this is a bug in macOS). Furthermore, because this behavior depends on the command stopping with the .Dv SIGTTIN or @@ -2179,7 +2179,7 @@ If disabled, a command may only be run after the audit event is successfully written. This flag is only effective on systems for which .Nm -supports audit logging, including FreeBSD, Linux, Mac OS X and Solaris. +supports audit logging, including FreeBSD, Linux, macOS and Solaris. This flag is .Em on by default. @@ -4809,7 +4809,7 @@ running under binary emulation are not affected. The .Em noexec feature is known to work on SunOS, Solaris, *BSD, -Linux, IRIX, Tru64 UNIX, MacOS X, HP-UX 11.x and AIX 5.3 and above. +Linux, IRIX, Tru64 UNIX, macOS, HP-UX 11.x and AIX 5.3 and above. It should be supported on most operating systems that support the .Ev LD_PRELOAD environment variable. diff --git a/mkpkg b/mkpkg index 43ca7f15a..9a6535e31 100755 --- a/mkpkg +++ b/mkpkg @@ -97,7 +97,7 @@ if make --version 2>&1 | grep GNU >/dev/null; then NJOBS=0 case "`uname`" in Darwin) - # Mac OS X + # macOS NJOBS=`sysctl -n hw.ncpu` ;; Linux) diff --git a/sudo.pp b/sudo.pp index bd08d101c..d56c92f15 100644 --- a/sudo.pp +++ b/sudo.pp @@ -40,7 +40,7 @@ still allow people to get their work done." %endif %if [macos] - # System Integrity Protection on Mac OS X won't allow us to write + # System Integrity Protection on macOS won't allow us to write # directly to /etc or /var. We must install in /private instead. case "$sudoersdir" in /etc|/etc/*)