]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Replace references to OS X 638/head
authorMichael Mattioli <mmattioli@users.noreply.github.com>
Tue, 18 Apr 2017 02:16:37 +0000 (22:16 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 20 Apr 2017 16:33:20 +0000 (12:33 -0400)
Replace references to Apple OS X with the updated OS name "macOS"
where applicable.

25 files changed:
.gitignore
NOTICE
doc/admin/conf_files/krb5_conf.rst
doc/basic/ccache_def.rst
doc/mitK5features.rst
doc/notice.rst
src/ccapi/server/mac/ccs_os_pipe.c
src/config/pre.in
src/configure.in
src/include/fake-addrinfo.h
src/include/k5-platform.h
src/include/krb5/krb5.hin
src/lib/apputils/udppktinfo.c
src/lib/apputils/udppktinfo.h
src/lib/crypto/builtin/des/des_int.h
src/lib/krb5/ccache/cc_kcm.c
src/lib/krb5/krb/gic_opt.c
src/lib/krb5/krb/pac.c
src/lib/krb5/os/dnsglue.c
src/lib/krb5/os/dnsglue.h
src/lib/krb5/os/sendto_kdc.c
src/man/krb5.conf.man
src/util/depfix.pl
src/util/support/cache-addrinfo.h
src/util/support/fake-addrinfo.c

index 379dc779561416d65d99ad2080f0960fa5b68a07..815c67d2c0c9ff39bb0cc29bc36ceca2f2720e32 100644 (file)
@@ -37,15 +37,15 @@ autom4te.cache/
 # Files generated by merges
 *.orig
 
-# OSX files
+# macOS files
 .DS_Store
 .AppleDouble
 .LSOverride
 
-# OSX Resource Forks
+# macOS Resource Forks
 ._*
 
-# OSX Files that might appear in the root of a volume
+# macOS Files that might appear in the root of a volume
 .DocumentRevisions-V100
 .fseventsd
 .Spotlight-V100
@@ -53,7 +53,7 @@ autom4te.cache/
 .Trashes
 .VolumeIcon.icns
 
-# OSX Directories potentially created on remote AFP share
+# macOS Directories potentially created on remote AFP share
 .AppleDB
 .AppleDesktop
 Network Trash Folder
diff --git a/NOTICE b/NOTICE
index ff102ff3f11304e369fedbe56001523b7a2dfab2..1db2420a7e09502193d46fb9b7f92f5c68adb8cb 100644 (file)
--- a/NOTICE
+++ b/NOTICE
@@ -583,7 +583,7 @@ Marked test programs in src/lib/krb5/krb have the following copyright:
 
 ======================================================================
 
-The KCM Mach RPC definition file used on OS X has the following
+The KCM Mach RPC definition file used on macOS has the following
 copyright:
 
       Copyright (C) 2009 Kungliga Tekniska Högskola
index f68b4068ca61134f2ef9f25cf5a218b3103a884e..3a09279020025c9fd8585416232506793afeb6c0 100644 (file)
@@ -263,7 +263,7 @@ The libdefaults section may contain any of the following relations:
     the local user or by root.
 
 **kcm_mach_service**
-    On OS X only, determines the name of the bootstrap service used to
+    On macOS only, determines the name of the bootstrap service used to
     contact the KCM daemon for the KCM credential cache type.  If the
     value is ``-``, Mach RPC will not be used to contact the KCM
     daemon.  The default value is ``org.h5l.kcm``.
index ff857f4f9422288076f078c17f16ffe7cfed48d4..d147f0d7aa99254a277ef8a40823a1dda5510099 100644 (file)
@@ -64,7 +64,7 @@ library.
 
    KCM client support is new in release 1.13.  A KCM daemon has not
    yet been implemented in MIT krb5, but the client will interoperate
-   with the KCM daemon implemented by Heimdal.  OS X 10.7 and higher
+   with the KCM daemon implemented by Heimdal.  macOS 10.7 and higher
    provides a KCM daemon as part of the operating system, and the
    **KCM** cache type is used as the default cache on that platform in
    a default build.
index b4e4b8b9b780ceac0b20239fed98eef545010fd1..122d16c447e4636cc84b74a2a388b2d6b9921644 100644 (file)
@@ -162,7 +162,7 @@ Release 1.13
  -   Add client support for the Kerberos Cache Manager protocol. If
      the host is running a Heimdal kcm daemon, caches served by the
      daemon can be accessed with the KCM: cache type.
- -   When built on OS X 10.7 and higher, use "KCM:" as the default
+ -   When built on macOS 10.7 and higher, use "KCM:" as the default
      cachetype, unless overridden by command-line options or
      krb5-config values.
  -   Add support for doing unlocked database dumps for the DB2 KDC
index e8cb4b439f41684c2ca7c8f338e2dfe477444261..26011550be557323098d7bbe479dd7fa48c8eaf5 100644 (file)
@@ -561,7 +561,7 @@ Marked test programs in src/lib/krb5/krb have the following copyright:
 
 -------------------
 
-The KCM Mach RPC definition file used on OS X has the following copyright:
+The KCM Mach RPC definition file used on macOS has the following copyright:
 
     | Copyright |copy| 2009 Kungliga Tekniska Högskola
     | (Royal Institute of Technology, Stockholm, Sweden).
index 67f90307a2308c17fbbf2808525ad6bc98b23797..5d9fff20755d36ba0d6ca6c9ee1762eb23293e70 100644 (file)
@@ -27,7 +27,7 @@
 #include "ccs_os_pipe.h"
 #include <mach/port.h>
 
-/* On Mac OS X ccs_pipe_t is a mach_port_t */
+/* On macOS ccs_pipe_t is a mach_port_t */
 
 /* ------------------------------------------------------------------------ */
 
@@ -73,7 +73,7 @@ cc_int32 ccs_os_pipe_release (ccs_pipe_t io_pipe)
 {
     cc_int32 err = 0;
 
-    /* Nothing to do here on Mac OS X */
+    /* Nothing to do here on macOS */
 
     return cci_check_error (err);
 }
index b5a9f98fd65a0d10536bd5fe7d5b94b9dbd44e73..db50d2daa860d8972b71d4a93ab3f8765f96df81 100644 (file)
@@ -7,7 +7,7 @@
 #  srcdir=@srcdir@
 #  top_srcdir=@top_srcdir@
 # but these are only set by autoconf 2.53, and thus not useful to us on
-# Mac OS X yet (as of 10.2):
+# macOS yet (as of 10.2):
 #  abs_srcdir=@abs_srcdir@
 #  abs_top_srcdir=@abs_top_srcdir@
 #  builddir=@builddir@
@@ -402,10 +402,10 @@ HESIOD_LIBS       = @HESIOD_LIBS@
 KRB5_BASE_LIBS = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(GEN_LIB) $(LIBS) $(DL_LIB)
 KDB5_LIBS      = $(KDB5_LIB) $(GSSRPC_LIBS)
 GSS_LIBS       = $(GSS_KRB5_LIB)
-# needs fixing if ever used on Mac OS X!
+# needs fixing if ever used on macOS!
 GSSRPC_LIBS    = -lgssrpc $(GSS_LIBS)
 KADM_COMM_LIBS = $(GSSRPC_LIBS)
-# need fixing if ever used on Mac OS X!
+# need fixing if ever used on macOS!
 KADMSRV_LIBS   = -lkadm5srv_mit $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
 KADMCLNT_LIBS  = -lkadm5clnt_mit $(KADM_COMM_LIBS)
 
index 6b5ac6bdf96a4b386d4e54420a178677da307ade..65fe7c74326982930bc9930d2708d1dee2c14396 100644 (file)
@@ -1309,7 +1309,7 @@ if test "${localedir+set}" != set; then
 fi
 AC_SUBST(localedir)
 
-# For KCM lib/krb5/ccache to build KCM Mach RPC support for OS X only.
+# For KCM lib/krb5/ccache to build KCM Mach RPC support for macOS only.
 case $host in
 *-*-darwin* | *-*-rhapsody*) OSX=osx ;;
 *)                           OSX=no ;;
@@ -1343,10 +1343,10 @@ dnl brackets in the glob patterns.
 if test "${DEFCCNAME+set}" != set; then
        [case $host in
        *-*-darwin[0-9].* | *-*-darwin10.*)
-               # Use the normal default for OS X 10.6 (Darwin 10) and prior.
+               # Use the normal default for macOS 10.6 (Darwin 10) and prior.
                ;;
        *-*-darwin*)
-               # For OS X 10.7 (Darwin 11) and later, the native ccache uses
+               # For macOS 10.7 (Darwin 11) and later, the native ccache uses
                # the KCM daemon.
                DEFCCNAME=KCM:
                ;;
index 03666a0aaaa769040f29b94ca95cd82cf020adeb..80ca9f8dfd23f44301f4b9637b3b84d930054778 100644 (file)
@@ -52,7 +52,7 @@
    the data structures and flag values locally.
 
 
-   On Mac OS X, getaddrinfo results aren't cached (though
+   On macOS, getaddrinfo results aren't cached (though
    gethostbyname results are), so we need to build a cache here.  Now
    things are getting really messy.  Because the cache is in use, we
    use getservbyname, and throw away thread safety.  (Not that the
index 62d1e2a779cbd45dfdfa2ac73e4ef398904b8069..d58710bab9fb22a0bcdc1d6c757c5961d2de2c2a 100644 (file)
@@ -512,7 +512,7 @@ typedef struct { int error; unsigned char did_run; } k5_init_t;
 
    Linux: byteswap.h, bswap_16 etc.
    Solaris 10: none
-   Mac OS X: machine/endian.h or byte_order.h, NXSwap{Short,Int,LongLong}
+   macOS: machine/endian.h or byte_order.h, NXSwap{Short,Int,LongLong}
    NetBSD: sys/bswap.h, bswap16 etc.  */
 
 #if defined(HAVE_BYTESWAP_H) && defined(HAVE_BSWAP_16)
index 58a270796d477caf2620c181cd16c4bc5f5e614c..762900ec939a23d2757da1457ea9afa5854c1239 100644 (file)
@@ -8248,9 +8248,9 @@ krb5_pac_parse(krb5_context context, const void *ptr, size_t len,
  * If successful, @a pac is marked as verified.
  *
  * @note A checksum mismatch can occur if the PAC was copied from a cross-realm
- * TGT by an ignorant KDC; also Apple Mac OS X Server Open Directory (as of
- * 10.6) generates PACs with no server checksum at all.  One should consider
- * not failing the whole authentication because of this reason, but, instead,
+ * TGT by an ignorant KDC; also macOS Server Open Directory (as of 10.6)
+ * generates PACs with no server checksum at all.  One should consider not
+ * failing the whole authentication because of this reason, but, instead,
  * treating the ticket as if it did not contain a PAC or marking the PAC
  * information as non-verified.
  *
index 9e48b4769f1c3e4d07297af6be12735fd6b8c6a1..c096c12b7e61c4ee2985295415c5fb8bd19813dd 100644 (file)
@@ -400,7 +400,7 @@ set_msg_from_ipv6_pktinfo(struct msghdr *msg, struct cmsghdr *cmsgptr,
     /*
      * Because of the possibility of asymmetric routing, we
      * normally don't want to specify an interface.  However,
-     * Mac OS X doesn't like sending from a link-local address
+     * macOS doesn't like sending from a link-local address
      * (which can come up in testing at least, if you wind up
      * with a "foo.local" name) unless we do specify the
      * interface.
index b0c7ea36b7b916fdfebfe437ddbb53916d823959..ff5759ab7ad3036593236843f0473b7a983cb8a3 100644 (file)
@@ -32,7 +32,7 @@
  * This holds whatever additional information might be needed to
  * properly send back to the client from the correct local address.
  *
- * In this case, we only need one datum so far: On Mac OS X, the
+ * In this case, we only need one datum so far: On macOS, the
  * kernel doesn't seem to like sending from link-local addresses
  * unless we specify the correct interface.
  */
index 0801cb5828c992557e8d54247b681964ab2a1835..67e40a19ca324c6e10776b1697e197e600148cf2 100644 (file)
@@ -74,7 +74,7 @@
 #endif /* defined(__MACH__) && defined(__APPLE__) */
 
 /* Macro to add deprecated attribute to DES types and functions */
-/* Currently only defined on Mac OS X 10.5 and later.           */
+/* Currently only defined on macOS 10.5 and later.              */
 #ifndef KRB5INT_DES_DEPRECATED
 #define KRB5INT_DES_DEPRECATED
 #endif
index a889e67b44926e555ba0c7d1c53be4fc69858964..b621ed33b3e7967725b1220f6764d7405e7e8bcc 100644 (file)
@@ -32,7 +32,7 @@
 
 /*
  * This cache type contacts a daemon for each cache operation, using Heimdal's
- * KCM protocol.  On OS X, the preferred transport is Mach RPC; on other
+ * KCM protocol.  On macOS, the preferred transport is Mach RPC; on other
  * Unix-like platforms or if the daemon is not available via RPC, Unix domain
  * sockets are used instead.
  */
@@ -360,7 +360,7 @@ kcmio_connect(krb5_context context, struct kcmio **io_out)
         return ENOMEM;
     io->fd = -1;
 
-    /* Try Mach RPC (OS X only), then fall back to Unix domain sockets */
+    /* Try Mach RPC (macOS only), then fall back to Unix domain sockets */
     ret = kcmio_mach_connect(context, io);
     if (ret)
         ret = kcmio_unix_socket_connect(context, io);
index 3be44d5cd756a7c71d14191e7c2d0d282a736109..ccbe1a65fa5a225af71383d19672253ac526f6c7 100644 (file)
@@ -12,7 +12,7 @@
 #include <TargetConditionals.h>
 #endif
 
-/* Match struct packing of krb5_get_init_creds_opt on MacOS X. */
+/* Match struct packing of krb5_get_init_creds_opt on macOS. */
 #if TARGET_OS_MAC
 #pragma pack(push,2)
 #endif
index 6616dd54bf454c99f1b5a76da2a3145b575b8a38..485a0f7c518b58c711794302581f31c1dca8c7b8 100644 (file)
@@ -791,8 +791,8 @@ mspac_verify(krb5_context kcontext,
      * If the above verification failed, don't fail the whole authentication,
      * just don't mark the PAC as verified.  A checksum mismatch can occur if
      * the PAC was copied from a cross-realm TGT by an ignorant KDC, and Apple
-     * Mac OS X Server Open Directory (as of 10.6) generates PACs with no
-     * server checksum at all.
+     * macOS Server Open Directory (as of 10.6) generates PACs with no server
+     * checksum at all.
      */
     return 0;
 }
index 1a259b399eba4ebcb041e576cfd919a61bf3e5fc..e29066d74bc5bd172983984724ea298e7c5be807 100644 (file)
@@ -73,7 +73,7 @@ static int initparse(struct krb5int_dns_state *);
 
 #if defined(__APPLE__)
 
-/* Use the OS X interfaces dns_open, dns_search, and dns_free. */
+/* Use the macOS interfaces dns_open, dns_search, and dns_free. */
 #define DECLARE_HANDLE(h) dns_handle_t h
 #define INIT_HANDLE(h) ((h = dns_open(NULL)) != NULL)
 #define SEARCH(h, n, c, t, a, l) dns_search(h, n, c, t, a, l, NULL, NULL)
index b87e23824adc6b2bdd2863ca7ec8c72b577fae4d..e7844049db726638d525a273f27bba7b81dabe0c 100644 (file)
@@ -33,9 +33,9 @@
  * BIND 4 doesn't have the ns_initparse() API, so we need to do some
  * manual parsing via the HEADER struct.  BIND 8 does have
  * ns_initparse(), but has enums for the various protocol constants
- * rather than the BIND 4 macros.  BIND 9 (at least on Mac OS X
- * Panther) appears to disable res_nsearch() if BIND_8_COMPAT is
- * defined (which is necessary to obtain the HEADER struct).
+ * rather than the BIND 4 macros.  BIND 9 (at least on macOS 10.3)
+ * appears to disable res_nsearch() if BIND_8_COMPAT is defined
+ * (which is necessary to obtain the HEADER struct).
  *
  * We use ns_initparse() if available at all, and never define
  * BIND_8_COMPAT.  If there is no ns_initparse(), we do manual parsing
index fffe0262f6bbbbfb3ebbf5774d2052bdda3e8b33..8b4614887f73b77e6b62e629199a4ad5ae542cb4 100644 (file)
@@ -253,7 +253,7 @@ cm_get_ssflags(struct select_state *selstate, int fd)
     struct pollfd *pfd = find_pollfd(selstate, fd);
 
     /*
-     * OS X sets POLLHUP without POLLOUT on connection error.  Catch this as
+     * macOS sets POLLHUP without POLLOUT on connection error.  Catch this as
      * well as other error events such as POLLNVAL, but only if POLLIN and
      * POLLOUT aren't set, as we can get POLLHUP along with POLLIN with TCP
      * data still to be read.
index e035072cd97c1f641311b7ee8e9e27e332acc92c..35a4de53742322e277243bc2e8801d32cba8f452 100644 (file)
@@ -346,7 +346,7 @@ For security reasons, .k5login files must be owned by
 the local user or by root.
 .TP
 .B \fBkcm_mach_service\fP
-On OS X only, determines the name of the bootstrap service used to
+On macOS only, determines the name of the bootstrap service used to
 contact the KCM daemon for the KCM credential cache type.  If the
 value is \fB\-\fP, Mach RPC will not be used to contact the KCM
 daemon.  The default value is \fBorg.h5l.kcm\fP\&.
index c8df54cbb29d8d1bdd434a0bc7b1858ef70b5a93..9982fa0d84eafae8ced81ab0e8586faa2c54d8d3 100644 (file)
@@ -147,7 +147,7 @@ sub do_subs_2 {
        s;com_err.h ;\$(COM_ERR_DEPS) ;g;
     }
     if ($thisdir eq "lib/krb5/ccache") {
-       # These files are only used (and kcmrpc.h only generated) on OS X.
+       # These files are only used (and kcmrpc.h only generated) on macOS.
        # There are conditional dependencies in Makefile.in.
        s;kcmrpc.h ;;g;
        s;kcmrpc_types.h ;;g;
index a1b7fb28becbee6265310752fdcfdc86cbe33c3e..40752ab5f4a7fd4145f3f0af8617f6d7b53dc287 100644 (file)
  * the data structures and flag values locally.
  *
  *
- * On Mac OS X, getaddrinfo results aren't cached (though
- * gethostbyname results are), so we need to build a cache here.  Now
- * things are getting really messy.  Because the cache is in use, we
- * use getservbyname, and throw away thread safety.  (Not that the
- * cache is thread safe, but when we get locking support, that'll be
- * dealt with.)  This code needs tearing down and rebuilding, soon.
+ * On macOS, getaddrinfo results aren't cached (though gethostbyname
+ * results are), so we need to build a cache here.  Now things are
+ * getting really messy.  Because the cache is in use, we use
+ * getservbyname, and throw away thread safety.  (Not that the cache
+ * is thread safe, but when we get locking support, that'll be dealt
+ * with.)  This code needs tearing down and rebuilding, soon.
  *
  *
  * Note that recent Windows developers' code has an interesting hack:
index b71cff9a791989a469d074b5c32f05403f03710d..3ee162e0d28b22cf35be44e83ff9d6a5d8d8d744 100644 (file)
@@ -52,7 +52,7 @@
  * the data structures and flag values locally.
  *
  *
- * On Mac OS X, getaddrinfo results aren't cached (though
+ * On macOS, getaddrinfo results aren't cached (though
  * gethostbyname results are), so we need to build a cache here.  Now
  * things are getting really messy.  Because the cache is in use, we
  * use getservbyname, and throw away thread safety.  (Not that the
@@ -685,7 +685,7 @@ static inline int fai_add_hosts_by_name (const char *name,
            sometimes associates it with the specified service,
            sometimes not.
 
-           But on Mac OS X (10.3, 10.4) they've "extended" getaddrinfo
+           But on macOS (10.3, 10.4) they've "extended" getaddrinfo
            to make SRV RR queries.  (Please, somebody, show me
            something in the specs that actually supports this?  RFC
            3493 says nothing about it, but it does say getaddrinfo is