mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Mac OS X -> macOS
This commit is contained in:
parent
7526869d87
commit
0ab00964ec
@ -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
|
installed the package for one architecture, use `make distclean' before
|
||||||
reconfiguring for another architecture.
|
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
|
executables that work on multiple system types--known as "fat" or
|
||||||
"universal" binaries--by specifying multiple `-arch' options to the
|
"universal" binaries--by specifying multiple `-arch' options to the
|
||||||
compiler but only a single `-arch' option to the preprocessor. Like
|
compiler but only a single `-arch' option to the preprocessor. Like
|
||||||
|
@ -3239,7 +3239,7 @@ if test ${with_pam-"no"} != "no"; then
|
|||||||
found_pam_lib=no
|
found_pam_lib=no
|
||||||
AC_CHECK_LIB(pam, pam_start, [found_pam_lib=yes], [], [$lt_cv_dlopen_libs])
|
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...
|
# in /usr/include/pam instead of /usr/include/security...
|
||||||
#
|
#
|
||||||
found_pam_hdrs=no
|
found_pam_hdrs=no
|
||||||
|
@ -493,8 +493,8 @@ DDEESSCCRRIIPPTTIIOONN
|
|||||||
support the automatic restarting of system calls.
|
support the automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by
|
Unfortunately, not all operating systems do this by
|
||||||
default, and even those that do may have bugs. For
|
default, and even those that do may have bugs. For
|
||||||
example, Mac OS X fails to restart the ttccggeettaattttrr() and
|
example, macOS fails to restart the ttccggeettaattttrr() and
|
||||||
ttccsseettaattttrr() system calls (this is a bug in Mac OS X).
|
ttccsseettaattttrr() system calls (this is a bug in macOS).
|
||||||
Furthermore, because this behavior depends on the
|
Furthermore, because this behavior depends on the
|
||||||
command stopping with the SIGTTIN or SIGTTOU signals,
|
command stopping with the SIGTTIN or SIGTTOU signals,
|
||||||
programs that catch these signals and suspend
|
programs that catch these signals and suspend
|
||||||
@ -1592,4 +1592,4 @@ DDIISSCCLLAAIIMMEERR
|
|||||||
file distributed with ssuuddoo or https://www.sudo.ws/license.html for
|
file distributed with ssuuddoo or https://www.sudo.ws/license.html for
|
||||||
complete details.
|
complete details.
|
||||||
|
|
||||||
Sudo 1.8.20 February 16, 2017 Sudo 1.8.20
|
Sudo 1.8.21 June 2, 2017 Sudo 1.8.21
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" 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
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@ -866,11 +866,11 @@ For this to work seamlessly, the operating system must support the
|
|||||||
automatic restarting of system calls.
|
automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by default,
|
Unfortunately, not all operating systems do this by default,
|
||||||
and even those that do may have bugs.
|
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()
|
\fBtcgetattr\fR()
|
||||||
and
|
and
|
||||||
\fBtcsetattr\fR()
|
\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
|
Furthermore, because this behavior depends on the command stopping with the
|
||||||
\fRSIGTTIN\fR
|
\fRSIGTTIN\fR
|
||||||
or
|
or
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd February 16, 2017
|
.Dd June 2, 2017
|
||||||
.Dt SUDO_PLUGIN @mansectform@
|
.Dt SUDO_PLUGIN @mansectform@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -768,11 +768,11 @@ For this to work seamlessly, the operating system must support the
|
|||||||
automatic restarting of system calls.
|
automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by default,
|
Unfortunately, not all operating systems do this by default,
|
||||||
and even those that do may have bugs.
|
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
|
.Fn tcgetattr
|
||||||
and
|
and
|
||||||
.Fn tcsetattr
|
.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
|
Furthermore, because this behavior depends on the command stopping with the
|
||||||
.Dv SIGTTIN
|
.Dv SIGTTIN
|
||||||
or
|
or
|
||||||
|
@ -985,8 +985,8 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
|
|||||||
support the automatic restarting of system calls.
|
support the automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by
|
Unfortunately, not all operating systems do this by
|
||||||
default, and even those that do may have bugs. For
|
default, and even those that do may have bugs. For
|
||||||
example, Mac OS X fails to restart the ttccggeettaattttrr() and
|
example, macOS fails to restart the ttccggeettaattttrr() and
|
||||||
ttccsseettaattttrr() system calls (this is a bug in Mac OS X).
|
ttccsseettaattttrr() system calls (this is a bug in macOS).
|
||||||
Furthermore, because this behavior depends on the
|
Furthermore, because this behavior depends on the
|
||||||
command stopping with the SIGTTIN or SIGTTOU signals,
|
command stopping with the SIGTTIN or SIGTTOU signals,
|
||||||
programs that catch these signals and suspend
|
programs that catch these signals and suspend
|
||||||
@ -1095,8 +1095,8 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
|
|||||||
a command may only be run after the audit event is
|
a command may only be run after the audit event is
|
||||||
successfully written. This flag is only effective on
|
successfully written. This flag is only effective on
|
||||||
systems for which ssuuddooeerrss supports audit logging,
|
systems for which ssuuddooeerrss supports audit logging,
|
||||||
including FreeBSD, Linux, Mac OS X and Solaris. This
|
including FreeBSD, Linux, macOS and Solaris. This flag
|
||||||
flag is _o_n by default.
|
is _o_n by default.
|
||||||
|
|
||||||
ignore_dot If set, ssuuddoo will ignore "." or "" (both denoting
|
ignore_dot If set, ssuuddoo will ignore "." or "" (both denoting
|
||||||
current directory) in the PATH environment variable;
|
current directory) in the PATH environment variable;
|
||||||
@ -2610,7 +2610,7 @@ SSEECCUURRIITTYY NNOOTTEESS
|
|||||||
affected.
|
affected.
|
||||||
|
|
||||||
The _n_o_e_x_e_c feature is known to work on SunOS, Solaris, *BSD,
|
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
|
above. It should be supported on most operating systems that
|
||||||
support the LD_PRELOAD environment variable. Check your
|
support the LD_PRELOAD environment variable. Check your
|
||||||
operating system's manual pages for the dynamic linker (usually
|
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
|
file distributed with ssuuddoo or https://www.sudo.ws/license.html for
|
||||||
complete details.
|
complete details.
|
||||||
|
|
||||||
Sudo 1.8.20 May 10, 2017 Sudo 1.8.20
|
Sudo 1.8.21 June 2, 2017 Sudo 1.8.21
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
.\" 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
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@ -2090,11 +2090,11 @@ For this to work seamlessly, the operating system must support the
|
|||||||
automatic restarting of system calls.
|
automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by default,
|
Unfortunately, not all operating systems do this by default,
|
||||||
and even those that do may have bugs.
|
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()
|
\fBtcgetattr\fR()
|
||||||
and
|
and
|
||||||
\fBtcsetattr\fR()
|
\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
|
Furthermore, because this behavior depends on the command stopping with the
|
||||||
\fRSIGTTIN\fR
|
\fRSIGTTIN\fR
|
||||||
or
|
or
|
||||||
@ -2319,7 +2319,7 @@ If disabled, a command may only be run after the audit event is successfully
|
|||||||
written.
|
written.
|
||||||
This flag is only effective on systems for which
|
This flag is only effective on systems for which
|
||||||
\fBsudoers\fR
|
\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
|
This flag is
|
||||||
\fIon\fR
|
\fIon\fR
|
||||||
by default.
|
by default.
|
||||||
@ -5202,7 +5202,7 @@ running under binary emulation are not affected.
|
|||||||
The
|
The
|
||||||
\fInoexec\fR
|
\fInoexec\fR
|
||||||
feature is known to work on SunOS, Solaris, *BSD,
|
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
|
It should be supported on most operating systems that support the
|
||||||
\fRLD_PRELOAD\fR
|
\fRLD_PRELOAD\fR
|
||||||
environment variable.
|
environment variable.
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||||
.\"
|
.\"
|
||||||
.Dd May 10, 2017
|
.Dd June 2, 2017
|
||||||
.Dt SUDOERS @mansectform@
|
.Dt SUDOERS @mansectform@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -1957,11 +1957,11 @@ For this to work seamlessly, the operating system must support the
|
|||||||
automatic restarting of system calls.
|
automatic restarting of system calls.
|
||||||
Unfortunately, not all operating systems do this by default,
|
Unfortunately, not all operating systems do this by default,
|
||||||
and even those that do may have bugs.
|
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
|
.Fn tcgetattr
|
||||||
and
|
and
|
||||||
.Fn tcsetattr
|
.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
|
Furthermore, because this behavior depends on the command stopping with the
|
||||||
.Dv SIGTTIN
|
.Dv SIGTTIN
|
||||||
or
|
or
|
||||||
@ -2179,7 +2179,7 @@ If disabled, a command may only be run after the audit event is successfully
|
|||||||
written.
|
written.
|
||||||
This flag is only effective on systems for which
|
This flag is only effective on systems for which
|
||||||
.Nm
|
.Nm
|
||||||
supports audit logging, including FreeBSD, Linux, Mac OS X and Solaris.
|
supports audit logging, including FreeBSD, Linux, macOS and Solaris.
|
||||||
This flag is
|
This flag is
|
||||||
.Em on
|
.Em on
|
||||||
by default.
|
by default.
|
||||||
@ -4809,7 +4809,7 @@ running under binary emulation are not affected.
|
|||||||
The
|
The
|
||||||
.Em noexec
|
.Em noexec
|
||||||
feature is known to work on SunOS, Solaris, *BSD,
|
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
|
It should be supported on most operating systems that support the
|
||||||
.Ev LD_PRELOAD
|
.Ev LD_PRELOAD
|
||||||
environment variable.
|
environment variable.
|
||||||
|
2
mkpkg
2
mkpkg
@ -97,7 +97,7 @@ if make --version 2>&1 | grep GNU >/dev/null; then
|
|||||||
NJOBS=0
|
NJOBS=0
|
||||||
case "`uname`" in
|
case "`uname`" in
|
||||||
Darwin)
|
Darwin)
|
||||||
# Mac OS X
|
# macOS
|
||||||
NJOBS=`sysctl -n hw.ncpu`
|
NJOBS=`sysctl -n hw.ncpu`
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
|
2
sudo.pp
2
sudo.pp
@ -40,7 +40,7 @@ still allow people to get their work done."
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if [macos]
|
%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.
|
# directly to /etc or /var. We must install in /private instead.
|
||||||
case "$sudoersdir" in
|
case "$sudoersdir" in
|
||||||
/etc|/etc/*)
|
/etc|/etc/*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user