From 3e8b5c353c4b812c8c6736784f2e9589a904090f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Jul 31 2009 12:10:17 +0000 Subject: 2.10.1-3 --- diff --git a/.cvsignore b/.cvsignore index 0f31e90..023cd11 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ -glibc-20090510T1842.tar.bz2 -glibc-fedora-20090510T1842.tar.bz2 +glibc-2.10.1-65-gc97164f-fedora.tar.bz2 +glibc-2.10.1-65-gc97164f.tar.bz2 diff --git a/glibc-accept4.patch b/glibc-accept4.patch deleted file mode 100644 index d343ce4..0000000 --- a/glibc-accept4.patch +++ /dev/null @@ -1,152 +0,0 @@ -2009-05-22 Jakub Jelinek - - * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. - (accept4): If __NR_accept4 is not defined, but __NR_socketcall - is, either do nothing at all if __ASSUME_ACCEPT4, or - call __internal_accept4 and handle EINVAL -> ENOSYS translation. - * sysdeps/unix/sysv/linux/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't - define. - * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. - * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add - internal_accept4 in socket directory. - -2009-05-21 Ulrich Drepper - - * sysdeps/unix/sysv/linux/kernel-features.h: Don't define - __ASSUME_ACCEPT4 for IA-64. - -2009-05-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. - - * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. - (SOCKOP_accept4): Define. - ---- libc/sysdeps/unix/sysv/linux/Makefile -+++ libc/sysdeps/unix/sysv/linux/Makefile -@@ -11,6 +11,10 @@ ifeq ($(subdir),malloc) - CFLAGS-malloc.c += -DMORECORE_CLEARS=2 - endif - -+ifeq ($(subdir),socket) -+sysdep_routines += internal_accept4 -+endif -+ - ifeq ($(subdir),misc) - sysdep_routines += sysctl clone llseek umount umount2 readahead \ - setfsuid setfsgid makedev epoll_pwait signalfd \ ---- libc/sysdeps/unix/sysv/linux/accept4.c -+++ libc/sysdeps/unix/sysv/linux/accept4.c -@@ -23,8 +23,7 @@ - - #include - #include -- --#define __NR_accept4 288 -+#include - - - #ifdef __NR_accept4 -@@ -43,6 +42,50 @@ accept4 (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len, int flags) - - return result; - } -+#elif defined __NR_socketcall -+# ifndef __ASSUME_ACCEPT4 -+extern int __internal_accept4 (int fd, __SOCKADDR_ARG addr, -+ socklen_t *addr_len, int flags) -+ attribute_hidden; -+ -+static int have_accept4; -+ -+int -+accept4 (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len, int flags) -+{ -+ if (__builtin_expect (have_accept4 >= 0, 1)) -+ { -+ int ret = __internal_accept4 (fd, addr, addr_len, flags); -+ /* The kernel returns -EINVAL for unknown socket operations. -+ We need to convert that error to an ENOSYS error. */ -+ if (__builtin_expect (ret < 0, 0) -+ && have_accept4 == 0 -+ && errno == EINVAL) -+ { -+ /* Try another call, this time with the FLAGS parameter -+ cleared and an invalid file descriptor. This call will not -+ cause any harm and it will return immediately. */ -+ ret = __internal_accept4 (-1, addr, addr_len, 0); -+ if (errno == EINVAL) -+ { -+ have_accept4 = -1; -+ __set_errno (ENOSYS); -+ } -+ else -+ { -+ have_accept4 = 1; -+ __set_errno (EINVAL); -+ } -+ return -1; -+ } -+ return ret; -+ } -+ __set_errno (ENOSYS); -+ return -1; -+} -+# else -+/* When __ASSUME_ACCEPT4 accept4 is defined in internal_accept4.S. */ -+# endif - #else - int - accept4 (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len, int flags) ---- libc/sysdeps/unix/sysv/linux/i386/accept4.S -+++ libc/sysdeps/unix/sysv/linux/i386/accept4.S -@@ -24,10 +24,6 @@ - #define EINVAL 22 - #define ENOSYS 38 - --#ifndef SOCKOP_accept4 --# define SOCKOP_accept4 18 --#endif -- - #ifdef __ASSUME_ACCEPT4 - # define errlabel SYSCALL_ERROR_LABEL - #else ---- libc/sysdeps/unix/sysv/linux/internal_accept4.S -+++ libc/sysdeps/unix/sysv/linux/internal_accept4.S -@@ -0,0 +1,14 @@ -+#include -+#include -+#if !defined __NR_accept4 && defined __NR_socketcall -+# define socket accept4 -+# ifdef __ASSUME_ACCEPT4 -+# define __socket accept4 -+# else -+# define __socket __internal_accept4 -+# endif -+# define NARGS 4 -+# define NEED_CANCELLATION -+# define NO_WEAK_ALIAS -+# include -+#endif ---- libc/sysdeps/unix/sysv/linux/kernel-features.h -+++ libc/sysdeps/unix/sysv/linux/kernel-features.h -@@ -521,7 +521,7 @@ - /* Support for the accept4 syscall was added in 2.6.28. */ - #if __LINUX_KERNEL_VERSION >= 0x02061c \ - && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \ -- || defined __ia64__ || defined __sparc__ || defined __s390__) -+ || defined __sparc__ || defined __s390__) - # define __ASSUME_ACCEPT4 1 - #endif - ---- libc/sysdeps/unix/sysv/linux/socketcall.h -+++ libc/sysdeps/unix/sysv/linux/socketcall.h -@@ -43,6 +43,6 @@ - #define SOCKOP_getsockopt 15 - #define SOCKOP_sendmsg 16 - #define SOCKOP_recvmsg 17 --#define SOCKOP_paccept 18 -+#define SOCKOP_accept4 18 - - #endif /* sys/socketcall.h */ diff --git a/glibc-bz10162.patch b/glibc-bz10162.patch deleted file mode 100644 index 5737681..0000000 --- a/glibc-bz10162.patch +++ /dev/null @@ -1,38 +0,0 @@ -2009-05-21 H.J. Lu - - [BZ #10162] - * sysdeps/ia64/memchr.S: Use speculative load. - ---- libc/sysdeps/ia64/memchr.S -+++ libc/sysdeps/ia64/memchr.S -@@ -96,7 +96,8 @@ ENTRY(__memchr) - mov pr.rot = 1 << 16 ;; - .l2: - (p[0]) mov addr[0] = ret0 --(p[0]) ld8 value[0] = [ret0], 8 -+(p[0]) ld8.s value[0] = [ret0], 8 // speculative load -+(p[MEMLAT]) chk.s value[MEMLAT], .recovery // check and recovery - (p[MEMLAT]) xor aux[0] = value[MEMLAT], chrx8 - (p[MEMLAT+1]) czx1.r poschr[0] = aux[1] - (p[MEMLAT+2]) cmp.ne p7, p0 = 8, poschr[1] -@@ -124,6 +125,20 @@ ENTRY(__memchr) - mov ar.lc = saved_lc - br.ret.sptk.many b0 - -+.recovery: -+ adds ret0 = -((MEMLAT + 1) * 8), ret0;; -+(p[MEMLAT+1]) add ret0 = -8, ret0;; -+(p[MEMLAT+2]) add ret0 = -8, ret0;; -+.l4: -+ mov addr[MEMLAT+2] = ret0 -+ ld8 tmp = [ret0];; // load the first unchecked 8byte -+ xor aux[1] = tmp, chrx8;; -+ czx1.r poschr[1] = aux[1];; -+ cmp.ne p7, p0 = 8, poschr[1] -+(p7) br.cond.spnt .foundit;; -+ adds ret0 = 8, ret0 // load the next unchecked 8byte -+ br.sptk .l4;; -+ - END(__memchr) - - weak_alias (__memchr, memchr) diff --git a/glibc-fedora.patch b/glibc-fedora.patch index f5dd197..4f385a7 100644 --- a/glibc-fedora.patch +++ b/glibc-fedora.patch @@ -1,6 +1,6 @@ ---- glibc-20090510T1842/ChangeLog 10 May 2009 18:38:52 -0000 1.11656 -+++ glibc-20090510T1842-fedora/ChangeLog 10 May 2009 18:50:00 -0000 1.8782.2.337 -@@ -7676,6 +7676,13 @@ +--- glibc-2.10.1-65-gc97164f/ChangeLog ++++ glibc-2.10.1-3/ChangeLog +@@ -8044,6 +8044,13 @@ * include/sys/cdefs.h: Redefine __nonnull so that test for incorrect parameters in the libc code itself are not omitted. @@ -14,7 +14,7 @@ 2007-05-09 Jakub Jelinek * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow -@@ -7971,6 +7978,10 @@ +@@ -8339,6 +8346,10 @@ [BZ #4368] * stdlib/stdlib.h: Remove obsolete part of comment for realpath. @@ -25,7 +25,7 @@ 2007-04-16 Ulrich Drepper [BZ #4364] -@@ -9228,6 +9239,15 @@ +@@ -9596,6 +9607,15 @@ separators also if no non-zero digits found. * stdlib/Makefile (tests): Add tst-strtod3. @@ -41,8 +41,8 @@ 2006-12-09 Ulrich Drepper [BZ #3632] ---- glibc-20090510T1842/ChangeLog.15 16 Feb 2005 07:34:17 -0000 1.1 -+++ glibc-20090510T1842-fedora/ChangeLog.15 19 Dec 2006 19:05:40 -0000 1.1.6.3 +--- glibc-2.10.1-65-gc97164f/ChangeLog.15 ++++ glibc-2.10.1-3/ChangeLog.15 @@ -477,6 +477,14 @@ 2004-11-26 Jakub Jelinek @@ -108,8 +108,8 @@ 2004-08-30 Roland McGrath * scripts/extract-abilist.awk: If `lastversion' variable defined, omit ---- glibc-20090510T1842/ChangeLog.16 4 May 2006 16:05:24 -0000 1.1 -+++ glibc-20090510T1842-fedora/ChangeLog.16 5 May 2006 06:11:52 -0000 1.1.2.1 +--- glibc-2.10.1-65-gc97164f/ChangeLog.16 ++++ glibc-2.10.1-3/ChangeLog.16 @@ -171,6 +171,11 @@ [BZ #2611] * stdio-common/renameat.c (renameat): Fix typo. @@ -281,8 +281,8 @@ 2005-02-10 Roland McGrath [BZ #157] ---- glibc-20090510T1842/csu/Makefile 1 Mar 2006 10:35:47 -0000 1.79 -+++ glibc-20090510T1842-fedora/csu/Makefile 30 Nov 2006 17:07:37 -0000 1.74.2.6 +--- glibc-2.10.1-65-gc97164f/csu/Makefile ++++ glibc-2.10.1-3/csu/Makefile @@ -93,7 +93,8 @@ omit-deps += $(crtstuff) $(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h $(compile.S) -g0 $(ASFLAGS-.os) -o $@ @@ -293,9 +293,9 @@ vpath initfini.c $(sysdirs) ---- glibc-20090510T1842/csu/elf-init.c 5 Nov 2005 17:41:38 -0000 1.8 -+++ glibc-20090510T1842-fedora/csu/elf-init.c 15 Nov 2005 09:54:10 -0000 1.3.2.6 -@@ -49,6 +49,23 @@ extern void (*__init_array_end []) (int, +--- glibc-2.10.1-65-gc97164f/csu/elf-init.c ++++ glibc-2.10.1-3/csu/elf-init.c +@@ -49,6 +49,23 @@ extern void (*__init_array_end []) (int, char **, char **) extern void (*__fini_array_start []) (void) attribute_hidden; extern void (*__fini_array_end []) (void) attribute_hidden; @@ -319,8 +319,8 @@ /* These function symbols are provided for the .init/.fini section entry points automagically by the linker. */ ---- glibc-20090510T1842/debug/tst-chk1.c 5 Mar 2008 06:51:37 -0000 1.19 -+++ glibc-20090510T1842-fedora/debug/tst-chk1.c 5 Mar 2008 09:37:40 -0000 1.1.2.19 +--- glibc-2.10.1-65-gc97164f/debug/tst-chk1.c ++++ glibc-2.10.1-3/debug/tst-chk1.c @@ -17,6 +17,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -349,8 +349,8 @@ # define O 0 # else # define O 1 ---- glibc-20090510T1842/elf/ldconfig.c 6 Feb 2009 20:09:33 -0000 1.65 -+++ glibc-20090510T1842-fedora/elf/ldconfig.c 18 Feb 2009 15:49:28 -0000 1.47.2.20 +--- glibc-2.10.1-65-gc97164f/elf/ldconfig.c ++++ glibc-2.10.1-3/elf/ldconfig.c @@ -1020,17 +1020,19 @@ search_dirs (void) @@ -373,7 +373,7 @@ if (do_chroot && opt_chroot) { -@@ -1091,7 +1093,14 @@ parse_conf (const char *filename, bool d +@@ -1091,7 +1093,14 @@ parse_conf (const char *filename, bool do_chroot) cp += 8; while ((dir = strsep (&cp, " \t")) != NULL) if (dir[0] != '\0') @@ -389,7 +389,7 @@ } else if (!strncasecmp (cp, "hwcap", 5) && isblank (cp[5])) { -@@ -1154,7 +1163,7 @@ parse_conf (const char *filename, bool d +@@ -1154,7 +1163,7 @@ parse_conf (const char *filename, bool do_chroot) config files to read. */ static void parse_conf_include (const char *config_file, unsigned int lineno, @@ -398,7 +398,7 @@ { if (opt_chroot && pattern[0] != '/') error (EXIT_FAILURE, 0, -@@ -1184,7 +1193,7 @@ parse_conf_include (const char *config_f +@@ -1184,7 +1193,7 @@ parse_conf_include (const char *config_file, unsigned int lineno, { case 0: for (size_t i = 0; i < gl.gl_pathc; ++i) @@ -432,8 +432,8 @@ } if (! opt_ignore_aux_cache) ---- glibc-20090510T1842/elf/tst-stackguard1.c 26 Jun 2005 18:08:36 -0000 1.1 -+++ glibc-20090510T1842-fedora/elf/tst-stackguard1.c 8 Aug 2005 21:24:27 -0000 1.1.2.3 +--- glibc-2.10.1-65-gc97164f/elf/tst-stackguard1.c ++++ glibc-2.10.1-3/elf/tst-stackguard1.c @@ -160,17 +160,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -458,8 +458,16 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20090510T1842/include/features.h 9 May 2009 17:35:13 -0000 1.55 -+++ glibc-20090510T1842-fedora/include/features.h 9 May 2009 18:40:11 -0000 1.35.2.24 +--- glibc-2.10.1-65-gc97164f/include/bits/stdlib-ldbl.h ++++ glibc-2.10.1-3/include/bits/stdlib-ldbl.h +@@ -0,0 +1 @@ ++#include +--- glibc-2.10.1-65-gc97164f/include/bits/wchar-ldbl.h ++++ glibc-2.10.1-3/include/bits/wchar-ldbl.h +@@ -0,0 +1 @@ ++#include +--- glibc-2.10.1-65-gc97164f/include/features.h ++++ glibc-2.10.1-3/include/features.h @@ -299,8 +299,13 @@ #endif @@ -476,16 +484,8 @@ # define __USE_FORTIFY_LEVEL 2 # else # define __USE_FORTIFY_LEVEL 1 ---- glibc-20090510T1842/include/bits/stdlib-ldbl.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/include/bits/stdlib-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1 -@@ -0,0 +1 @@ -+#include ---- glibc-20090510T1842/include/bits/wchar-ldbl.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/include/bits/wchar-ldbl.h 1 Feb 2006 09:30:43 -0000 1.1.2.1 -@@ -0,0 +1 @@ -+#include ---- glibc-20090510T1842/intl/locale.alias 28 Oct 2007 01:39:54 -0000 1.24 -+++ glibc-20090510T1842-fedora/intl/locale.alias 12 Dec 2007 18:13:23 -0000 1.23.2.2 +--- glibc-2.10.1-65-gc97164f/intl/locale.alias ++++ glibc-2.10.1-3/intl/locale.alias @@ -57,8 +57,6 @@ korean ko_KR.eucKR korean.euc ko_KR.eucKR ko_KR ko_KR.eucKR @@ -495,8 +495,8 @@ norwegian nb_NO.ISO-8859-1 nynorsk nn_NO.ISO-8859-1 polish pl_PL.ISO-8859-2 ---- glibc-20090510T1842/libio/stdio.h 26 Feb 2009 15:43:58 -0000 1.94 -+++ glibc-20090510T1842-fedora/libio/stdio.h 9 Mar 2009 14:35:17 -0000 1.78.2.15 +--- glibc-2.10.1-65-gc97164f/libio/stdio.h ++++ glibc-2.10.1-3/libio/stdio.h @@ -145,10 +145,12 @@ typedef _G_fpos64_t fpos64_t; extern struct _IO_FILE *stdin; /* Standard input stream. */ extern struct _IO_FILE *stdout; /* Standard output stream. */ @@ -510,8 +510,8 @@ __BEGIN_NAMESPACE_STD /* Remove file FILENAME. */ ---- glibc-20090510T1842/locale/iso-4217.def 17 Feb 2007 07:46:20 -0000 1.20 -+++ glibc-20090510T1842-fedora/locale/iso-4217.def 21 Feb 2007 11:15:50 -0000 1.15.2.5 +--- glibc-2.10.1-65-gc97164f/locale/iso-4217.def ++++ glibc-2.10.1-3/locale/iso-4217.def @@ -8,6 +8,7 @@ * * !!! The list has to be sorted !!! @@ -520,7 +520,7 @@ DEFINE_INT_CURR("AED") /* United Arab Emirates Dirham */ DEFINE_INT_CURR("AFN") /* Afghanistan Afgani */ DEFINE_INT_CURR("ALL") /* Albanian Lek */ -@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD") /* Armenia Dram +@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD") /* Armenia Dram */ DEFINE_INT_CURR("ANG") /* Netherlands Antilles */ DEFINE_INT_CURR("AOA") /* Angolan Kwanza */ DEFINE_INT_CURR("ARS") /* Argentine Peso */ @@ -535,7 +535,7 @@ DEFINE_INT_CURR("BGN") /* Bulgarian Lev */ DEFINE_INT_CURR("BHD") /* Bahraini Dinar */ DEFINE_INT_CURR("BIF") /* Burundi Franc */ -@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP") /* Cuban Peso * +@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP") /* Cuban Peso */ DEFINE_INT_CURR("CVE") /* Cape Verde Escudo */ DEFINE_INT_CURR("CYP") /* Cypriot Pound */ DEFINE_INT_CURR("CZK") /* Czech Koruna */ @@ -543,7 +543,7 @@ DEFINE_INT_CURR("DJF") /* Djibouti Franc */ DEFINE_INT_CURR("DKK") /* Danish Krone (Faroe Islands, Greenland) */ DEFINE_INT_CURR("DOP") /* Dominican Republic */ -@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD") /* Algerian Dina +@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD") /* Algerian Dinar */ DEFINE_INT_CURR("EEK") /* Estonian Kroon */ DEFINE_INT_CURR("EGP") /* Egyptian Pound */ DEFINE_INT_CURR("ERN") /* Eritrean Nakfa */ @@ -564,7 +564,7 @@ DEFINE_INT_CURR("GTQ") /* Guatemala Quetzal */ DEFINE_INT_CURR("GYD") /* Guyana Dollar */ DEFINE_INT_CURR("HKD") /* Hong Kong Dollar */ -@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK") /* Croatia Kuna +@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK") /* Croatia Kuna */ DEFINE_INT_CURR("HTG") /* Haiti Gourde */ DEFINE_INT_CURR("HUF") /* Hungarian Forint */ DEFINE_INT_CURR("IDR") /* Indonesia Rupiah */ @@ -579,7 +579,7 @@ DEFINE_INT_CURR("JEP") /* Jersey Pound */ DEFINE_INT_CURR("JMD") /* Jamaican Dollar */ DEFINE_INT_CURR("JOD") /* Jordanian Dinar */ -@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR") /* Sri Lankan Ru +@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR") /* Sri Lankan Rupee */ DEFINE_INT_CURR("LRD") /* Liberian Dollar */ DEFINE_INT_CURR("LSL") /* Lesotho Maloti */ DEFINE_INT_CURR("LTL") /* Lithuanian Litas */ @@ -587,7 +587,7 @@ DEFINE_INT_CURR("LVL") /* Latvia Lat */ DEFINE_INT_CURR("LYD") /* Libyan Arab Jamahiriya Dinar */ DEFINE_INT_CURR("MAD") /* Moroccan Dirham */ -@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM") /* Mozambique Me +@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM") /* Mozambique Metical */ DEFINE_INT_CURR("NAD") /* Namibia Dollar */ DEFINE_INT_CURR("NGN") /* Nigeria Naira */ DEFINE_INT_CURR("NIO") /* Nicaragua Cordoba Oro */ @@ -595,7 +595,7 @@ DEFINE_INT_CURR("NOK") /* Norwegian Krone */ DEFINE_INT_CURR("NPR") /* Nepalese Rupee */ DEFINE_INT_CURR("NZD") /* New Zealand Dollar */ -@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK") /* Papau New Gui +@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK") /* Papau New Guinea Kina */ DEFINE_INT_CURR("PHP") /* Philippines Peso */ DEFINE_INT_CURR("PKR") /* Pakistan Rupee */ DEFINE_INT_CURR("PLN") /* Polish Zloty */ @@ -603,9 +603,9 @@ DEFINE_INT_CURR("PYG") /* Paraguay Guarani */ DEFINE_INT_CURR("QAR") /* Qatar Rial */ DEFINE_INT_CURR("ROL") /* Romanian Leu */ ---- glibc-20090510T1842/locale/programs/locarchive.c 27 Apr 2009 14:07:47 -0000 1.31 -+++ glibc-20090510T1842-fedora/locale/programs/locarchive.c 27 Apr 2009 14:33:47 -0000 1.21.2.7 -@@ -241,9 +241,9 @@ oldlocrecentcmp (const void *a, const vo +--- glibc-2.10.1-65-gc97164f/locale/programs/locarchive.c ++++ glibc-2.10.1-3/locale/programs/locarchive.c +@@ -241,9 +241,9 @@ oldlocrecentcmp (const void *a, const void *b) /* forward decls for below */ static uint32_t add_locale (struct locarhandle *ah, const char *name, locale_data_t data, bool replace); @@ -636,9 +636,9 @@ add_alias (struct locarhandle *ah, const char *alias, bool replace, const char *oldname, uint32_t *locrec_offset_p) { ---- glibc-20090510T1842/localedata/Makefile 7 Feb 2009 05:28:00 -0000 1.110 -+++ glibc-20090510T1842-fedora/localedata/Makefile 18 Feb 2009 15:49:33 -0000 1.101.2.10 -@@ -225,6 +225,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo +--- glibc-2.10.1-65-gc97164f/localedata/Makefile ++++ glibc-2.10.1-3/localedata/Makefile +@@ -225,6 +225,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-locales-dir echo -n '...'; \ input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \ $(LOCALEDEF) --alias-file=../intl/locale.alias \ @@ -646,8 +646,8 @@ -i locales/$$input -c -f charmaps/$$charset \ $(addprefix --prefix=,$(install_root)) $$locale; \ echo ' done'; \ ---- glibc-20090510T1842/localedata/SUPPORTED 18 Apr 2009 08:43:52 -0000 1.117 -+++ glibc-20090510T1842-fedora/localedata/SUPPORTED 24 Apr 2009 08:00:32 -0000 1.71.2.25 +--- glibc-2.10.1-65-gc97164f/localedata/SUPPORTED ++++ glibc-2.10.1-3/localedata/SUPPORTED @@ -84,6 +84,7 @@ cy_GB.UTF-8/UTF-8 \ cy_GB/ISO-8859-14 \ da_DK.UTF-8/UTF-8 \ @@ -689,9 +689,9 @@ ta_IN/UTF-8 \ te_IN/UTF-8 \ tg_TJ.UTF-8/UTF-8 \ ---- glibc-20090510T1842/localedata/locales/cy_GB 28 Sep 2004 04:37:33 -0000 1.4 -+++ glibc-20090510T1842-fedora/localedata/locales/cy_GB 29 Sep 2004 08:48:23 -0000 1.3.2.2 -@@ -248,8 +248,11 @@ mon "";/ d_t_fmt "" d_fmt "" t_fmt "" @@ -705,9 +705,9 @@ END LC_TIME LC_MESSAGES ---- glibc-20090510T1842/localedata/locales/en_GB 25 Apr 2009 04:43:43 -0000 1.19 -+++ glibc-20090510T1842-fedora/localedata/locales/en_GB 27 Apr 2009 14:33:48 -0000 1.10.2.8 -@@ -116,8 +116,8 @@ mon "";/ d_t_fmt "" d_fmt "" t_fmt "" @@ -718,8 +718,8 @@ date_fmt "/ / " ---- glibc-20090510T1842/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/localedata/locales/no_NO 22 Sep 2004 21:21:01 -0000 1.11.2.1 +--- glibc-2.10.1-65-gc97164f/localedata/locales/no_NO ++++ glibc-2.10.1-3/localedata/locales/no_NO @@ -0,0 +1,69 @@ +escape_char / +comment_char % @@ -790,8 +790,8 @@ +LC_ADDRESS +copy "nb_NO" +END LC_ADDRESS ---- glibc-20090510T1842/localedata/locales/zh_TW 31 Oct 2004 23:42:28 -0000 1.7 -+++ glibc-20090510T1842-fedora/localedata/locales/zh_TW 2 Nov 2004 12:25:57 -0000 1.5.2.2 +--- glibc-2.10.1-65-gc97164f/localedata/locales/zh_TW ++++ glibc-2.10.1-3/localedata/locales/zh_TW @@ -1,7 +1,7 @@ comment_char % escape_char / @@ -819,8 +819,8 @@ revision "0.2" date "2000-08-02" % ---- glibc-20090510T1842/malloc/mcheck.c 19 May 2007 04:27:20 -0000 1.20 -+++ glibc-20090510T1842-fedora/malloc/mcheck.c 21 May 2007 20:01:08 -0000 1.18.2.2 +--- glibc-2.10.1-65-gc97164f/malloc/mcheck.c ++++ glibc-2.10.1-3/malloc/mcheck.c @@ -24,9 +24,25 @@ # include # include @@ -847,7 +847,7 @@ /* Old hook values. */ static void (*old_free_hook) (__ptr_t ptr, __const __ptr_t); static __ptr_t (*old_malloc_hook) (__malloc_size_t size, const __ptr_t); -@@ -197,7 +213,7 @@ freehook (__ptr_t ptr, const __ptr_t cal +@@ -197,7 +213,7 @@ freehook (__ptr_t ptr, const __ptr_t caller) if (old_free_hook != NULL) (*old_free_hook) (ptr, caller); else @@ -856,7 +856,7 @@ __free_hook = freehook; } -@@ -214,7 +230,7 @@ mallochook (__malloc_size_t size, const +@@ -214,7 +230,7 @@ mallochook (__malloc_size_t size, const __ptr_t caller) hdr = (struct hdr *) (*old_malloc_hook) (sizeof (struct hdr) + size + 1, caller); else @@ -865,7 +865,7 @@ __malloc_hook = mallochook; if (hdr == NULL) return NULL; -@@ -245,7 +261,7 @@ memalignhook (__malloc_size_t alignment, +@@ -245,7 +261,7 @@ memalignhook (__malloc_size_t alignment, __malloc_size_t size, if (old_memalign_hook != NULL) block = (*old_memalign_hook) (alignment, slop + size + 1, caller); else @@ -874,7 +874,7 @@ __memalign_hook = memalignhook; if (block == NULL) return NULL; -@@ -300,8 +316,8 @@ reallochook (__ptr_t ptr, __malloc_size_ +@@ -300,8 +316,8 @@ reallochook (__ptr_t ptr, __malloc_size_t size, const __ptr_t caller) sizeof (struct hdr) + size + 1, caller); else @@ -896,8 +896,8 @@ old_free_hook = __free_hook; __free_hook = freehook; ---- glibc-20090510T1842/manual/libc.texinfo 31 Jan 2008 01:43:04 -0000 1.98 -+++ glibc-20090510T1842-fedora/manual/libc.texinfo 31 Jan 2008 08:43:19 -0000 1.94.2.4 +--- glibc-2.10.1-65-gc97164f/manual/libc.texinfo ++++ glibc-2.10.1-3/manual/libc.texinfo @@ -5,7 +5,7 @@ @c setchapternewpage odd @@ -907,8 +907,8 @@ @direntry * Libc: (libc). C library. @end direntry ---- glibc-20090510T1842/misc/sys/cdefs.h 2 Mar 2009 15:56:03 -0000 1.74 -+++ glibc-20090510T1842-fedora/misc/sys/cdefs.h 9 Mar 2009 14:35:17 -0000 1.58.2.11 +--- glibc-2.10.1-65-gc97164f/misc/sys/cdefs.h ++++ glibc-2.10.1-3/misc/sys/cdefs.h @@ -132,7 +132,10 @@ #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) #define __bos0(ptr) __builtin_object_size (ptr, 0) @@ -952,17 +952,17 @@ # define __va_arg_pack() __builtin_va_arg_pack () # define __va_arg_pack_len() __builtin_va_arg_pack_len () #endif ---- glibc-20090510T1842/nis/nss 28 Apr 2006 21:02:23 -0000 1.3 -+++ glibc-20090510T1842-fedora/nis/nss 1 May 2006 08:02:53 -0000 1.2.2.2 +--- glibc-2.10.1-65-gc97164f/nis/nss ++++ glibc-2.10.1-3/nis/nss @@ -25,4 +25,4 @@ # memory with every getXXent() call. Otherwise each getXXent() call # might result into a network communication with the server to get # the next entry. -#SETENT_BATCH_READ=TRUE +SETENT_BATCH_READ=TRUE ---- glibc-20090510T1842/nptl/ChangeLog 29 Apr 2009 18:04:10 -0000 1.1115 -+++ glibc-20090510T1842-fedora/nptl/ChangeLog 9 May 2009 18:40:12 -0000 1.706.2.173 -@@ -3482,6 +3482,15 @@ +--- glibc-2.10.1-65-gc97164f/nptl/ChangeLog ++++ glibc-2.10.1-3/nptl/ChangeLog +@@ -3508,6 +3508,15 @@ Use __sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. @@ -978,7 +978,7 @@ 2005-07-11 Jakub Jelinek [BZ #1102] -@@ -4218,6 +4227,11 @@ +@@ -4244,6 +4253,11 @@ Move definition inside libpthread, libc, librt check. Provide definition for rtld. @@ -990,7 +990,7 @@ 2004-09-02 Ulrich Drepper * sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp. -@@ -6292,6 +6306,11 @@ +@@ -6318,6 +6332,11 @@ * Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules). @@ -1002,8 +1002,8 @@ 2003-07-25 Jakub Jelinek * tst-cancel17.c (do_test): Check if aio_cancel failed. ---- glibc-20090510T1842/nptl/Makefile 12 Nov 2008 13:38:23 -0000 1.195 -+++ glibc-20090510T1842-fedora/nptl/Makefile 12 Nov 2008 20:29:34 -0000 1.157.2.37 +--- glibc-2.10.1-65-gc97164f/nptl/Makefile ++++ glibc-2.10.1-3/nptl/Makefile @@ -339,7 +339,8 @@ endif extra-objs += $(crti-objs) $(crtn-objs) omit-deps += crti crtn @@ -1036,8 +1036,27 @@ else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif ---- glibc-20090510T1842/nptl/tst-stackguard1.c 26 Jun 2005 17:44:14 -0000 1.1 -+++ glibc-20090510T1842-fedora/nptl/tst-stackguard1.c 8 Aug 2005 21:24:28 -0000 1.1.2.3 +--- glibc-2.10.1-65-gc97164f/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h ++++ glibc-2.10.1-3/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +@@ -187,4 +187,7 @@ + /* Typed memory objects are not available. */ + #define _POSIX_TYPED_MEMORY_OBJECTS -1 + ++/* Streams are not available. */ ++#define _XOPEN_STREAMS -1 ++ + #endif /* bits/posix_opt.h */ +--- glibc-2.10.1-65-gc97164f/nptl/sysdeps/unix/sysv/linux/kernel-features.h ++++ glibc-2.10.1-3/nptl/sysdeps/unix/sysv/linux/kernel-features.h +@@ -0,0 +1,6 @@ ++#include_next ++ ++/* NPTL can always assume all clone thread flags work. */ ++#ifndef __ASSUME_CLONE_THREAD_FLAGS ++# define __ASSUME_CLONE_THREAD_FLAGS 1 ++#endif +--- glibc-2.10.1-65-gc97164f/nptl/tst-stackguard1.c ++++ glibc-2.10.1-3/nptl/tst-stackguard1.c @@ -190,17 +190,21 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; @@ -1062,27 +1081,8 @@ { puts ("stack guard canaries are not randomized enough"); puts ("nor equal to the default canary value"); ---- glibc-20090510T1842/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h 22 Sep 2004 21:21:02 -0000 1.1.2.1 -@@ -0,0 +1,6 @@ -+#include_next -+ -+/* NPTL can always assume all clone thread flags work. */ -+#ifndef __ASSUME_CLONE_THREAD_FLAGS -+# define __ASSUME_CLONE_THREAD_FLAGS 1 -+#endif ---- glibc-20090510T1842/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 26 Feb 2009 16:22:45 -0000 1.18 -+++ glibc-20090510T1842-fedora/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 9 Mar 2009 14:35:18 -0000 1.8.2.10 -@@ -187,4 +187,7 @@ - /* Typed memory objects are not available. */ - #define _POSIX_TYPED_MEMORY_OBJECTS -1 - -+/* Streams are not available. */ -+#define _XOPEN_STREAMS -1 -+ - #endif /* bits/posix_opt.h */ ---- glibc-20090510T1842/nscd/nscd.conf 6 Nov 2007 00:50:48 -0000 1.16 -+++ glibc-20090510T1842-fedora/nscd/nscd.conf 12 Dec 2007 18:13:28 -0000 1.8.2.7 +--- glibc-2.10.1-65-gc97164f/nscd/nscd.conf ++++ glibc-2.10.1-3/nscd/nscd.conf @@ -33,7 +33,7 @@ # logfile /var/log/nscd.log # threads 4 @@ -1092,8 +1092,8 @@ # stat-user somebody debug-level 0 # reload-count 5 ---- glibc-20090510T1842/nscd/nscd.init 1 Dec 2006 20:12:45 -0000 1.10 -+++ glibc-20090510T1842-fedora/nscd/nscd.init 12 Dec 2007 18:13:28 -0000 1.6.2.6 +--- glibc-2.10.1-65-gc97164f/nscd/nscd.init ++++ glibc-2.10.1-3/nscd/nscd.init @@ -9,6 +9,7 @@ # slow naming services like NIS, NIS+, LDAP, or hesiod. # processname: /usr/sbin/nscd @@ -1150,9 +1150,9 @@ ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" ---- glibc-20090510T1842/posix/Makefile 7 Feb 2009 08:18:49 -0000 1.204 -+++ glibc-20090510T1842-fedora/posix/Makefile 18 Feb 2009 15:49:37 -0000 1.171.2.28 -@@ -301,15 +301,8 @@ $(inst_libexecdir)/getconf: $(inst_bindi +--- glibc-2.10.1-65-gc97164f/posix/Makefile ++++ glibc-2.10.1-3/posix/Makefile +@@ -301,15 +301,8 @@ $(inst_libexecdir)/getconf: $(inst_bindir)/getconf \ mv -f $@/$$spec.new $@/$$spec; \ done < $(objpfx)getconf.speclist @@ -1172,8 +1172,8 @@ + | sed -n -e '/START_OF_STRINGS/,$${/\(POSIX_V[67]\|_XBS5\)_/{s/^[^"]*"//;s/".*$$//;p}}' \ + > $@.new mv -f $@.new $@ ---- glibc-20090510T1842/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/posix/getconf.speclist.h 18 Feb 2009 16:47:01 -0000 1.1.2.3 +--- glibc-2.10.1-65-gc97164f/posix/getconf.speclist.h ++++ glibc-2.10.1-3/posix/getconf.speclist.h @@ -0,0 +1,39 @@ +#include +const char *START_OF_STRINGS = @@ -1214,8 +1214,8 @@ +"XBS5_LPBIG_OFFBIG" +#endif +""; ---- glibc-20090510T1842/streams/Makefile 23 Oct 2002 23:48:41 -0000 1.4 -+++ glibc-20090510T1842-fedora/streams/Makefile 14 Mar 2008 22:36:46 -0000 1.4.2.1 +--- glibc-2.10.1-65-gc97164f/streams/Makefile ++++ glibc-2.10.1-3/streams/Makefile @@ -21,7 +21,7 @@ # subdir := streams @@ -1225,8 +1225,8 @@ routines = isastream getmsg getpmsg putmsg putpmsg fattach fdetach include ../Rules ---- glibc-20090510T1842/sysdeps/generic/dl-cache.h 25 Jun 2003 08:01:22 -0000 1.13 -+++ glibc-20090510T1842-fedora/sysdeps/generic/dl-cache.h 22 Sep 2004 21:21:07 -0000 1.13.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/generic/dl-cache.h ++++ glibc-2.10.1-3/sysdeps/generic/dl-cache.h @@ -36,6 +36,14 @@ # define add_system_dir(dir) add_dir (dir) #endif @@ -1242,8 +1242,8 @@ #define CACHEMAGIC "ld.so-1.7.0" /* libc5 and glibc 2.0/2.1 use the same format. For glibc 2.2 another ---- glibc-20090510T1842/sysdeps/i386/Makefile 13 May 2008 05:30:43 -0000 1.21 -+++ glibc-20090510T1842-fedora/sysdeps/i386/Makefile 15 May 2008 07:57:47 -0000 1.16.2.5 +--- glibc-2.10.1-65-gc97164f/sysdeps/i386/Makefile ++++ glibc-2.10.1-3/sysdeps/i386/Makefile @@ -64,6 +64,14 @@ endif ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS))) @@ -1259,8 +1259,8 @@ endif ifeq ($(subdir),elf) ---- glibc-20090510T1842/sysdeps/ia64/Makefile 16 Aug 2004 06:46:14 -0000 1.10 -+++ glibc-20090510T1842-fedora/sysdeps/ia64/Makefile 22 Sep 2004 21:21:07 -0000 1.10.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/ia64/Makefile ++++ glibc-2.10.1-3/sysdeps/ia64/Makefile @@ -12,8 +12,8 @@ elide-routines.os += hp-timing ifeq (yes,$(build-shared)) @@ -1272,8 +1272,8 @@ endif endif ---- glibc-20090510T1842/sysdeps/ia64/ia64libgcc.S 11 May 2002 05:12:35 -0000 1.2 -+++ glibc-20090510T1842-fedora/sysdeps/ia64/ia64libgcc.S 22 Sep 2004 21:21:07 -0000 1.2.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/ia64/ia64libgcc.S ++++ glibc-2.10.1-3/sysdeps/ia64/ia64libgcc.S @@ -1,350 +0,0 @@ -/* From the Intel IA-64 Optimization Guide, choose the minimum latency - alternative. */ @@ -1625,8 +1625,8 @@ - .symver ___multi3, __multi3@GLIBC_2.2 - -#endif ---- glibc-20090510T1842/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/sysdeps/ia64/libgcc-compat.c 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/ia64/libgcc-compat.c ++++ glibc-2.10.1-3/sysdeps/ia64/libgcc-compat.c @@ -0,0 +1,84 @@ +/* pre-.hidden libgcc compatibility + Copyright (C) 2002 Free Software Foundation, Inc. @@ -1712,8 +1712,8 @@ +symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2); + +#endif ---- glibc-20090510T1842/sysdeps/powerpc/powerpc64/Makefile 2 Feb 2006 08:23:44 -0000 1.8 -+++ glibc-20090510T1842-fedora/sysdeps/powerpc/powerpc64/Makefile 30 Nov 2006 17:07:38 -0000 1.4.2.5 +--- glibc-2.10.1-65-gc97164f/sysdeps/powerpc/powerpc64/Makefile ++++ glibc-2.10.1-3/sysdeps/powerpc/powerpc64/Makefile @@ -30,6 +30,7 @@ ifneq ($(elf),no) # we use -fpic instead which is much better. CFLAGS-initfini.s += -fpic -O1 @@ -1722,8 +1722,8 @@ endif ifeq ($(subdir),elf) ---- glibc-20090510T1842/sysdeps/unix/nice.c 15 Aug 2006 05:24:45 -0000 1.7 -+++ glibc-20090510T1842-fedora/sysdeps/unix/nice.c 15 Aug 2006 05:53:50 -0000 1.6.2.2 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/nice.c ++++ glibc-2.10.1-3/sysdeps/unix/nice.c @@ -42,7 +42,12 @@ nice (int incr) __set_errno (save); } @@ -1738,8 +1738,8 @@ if (result == -1) { if (errno == EACCES) ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/check_pf.c 3 Jan 2008 00:24:52 -0000 1.15 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/check_pf.c 3 Jan 2008 20:20:42 -0000 1.3.2.11 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/check_pf.c ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/check_pf.c @@ -27,13 +27,10 @@ #include #include @@ -1755,8 +1755,8 @@ #ifndef IFA_F_HOMEADDRESS # define IFA_F_HOMEADDRESS 0 ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/dl-osinfo.h 26 Apr 2009 20:09:24 -0000 1.30 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h 27 Apr 2009 14:33:57 -0000 1.14.2.16 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/dl-osinfo.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -17,10 +17,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -1771,7 +1771,7 @@ #ifndef MIN # define MIN(a,b) (((a)<(b))?(a):(b)) -@@ -80,6 +83,32 @@ _dl_setup_stack_chk_guard (void *dl_rand +@@ -80,6 +83,32 @@ _dl_setup_stack_chk_guard (void *dl_random) unsigned char *p = (unsigned char *) &ret; p[sizeof (ret) - 1] = 255; p[sizeof (ret) - 2] = '\n'; @@ -1804,8 +1804,8 @@ } else #endif ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 05:26:34 -0000 1.6 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/futimesat.c 3 Feb 2006 09:43:55 -0000 1.1.2.7 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/futimesat.c ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/futimesat.c @@ -37,14 +37,14 @@ futimesat (fd, file, tvp) { int result; @@ -1848,93 +1848,8 @@ { size_t filelen = strlen (file); static const char procfd[] = "/proc/self/fd/%d/%s"; ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/netlinkaccess.h 8 Jan 2006 08:21:15 -0000 1.3 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/netlinkaccess.h 10 Dec 2006 10:51:12 -0000 1.1.2.3 -@@ -25,6 +25,24 @@ - - #include - -+#ifndef IFA_MAX -+/* 2.6.19 kernel headers helpfully removed some macros and -+ moved lots of stuff into new headers, some of which aren't -+ included by linux/rtnetlink.h. */ -+#include -+#endif -+ -+#ifndef IFA_RTA -+# define IFA_RTA(r) \ -+ ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifaddrmsg)))) -+# define IFA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifaddrmsg)) -+#endif -+ -+#ifndef IFLA_RTA -+# define IFLA_RTA(r) \ -+ ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifinfomsg)))) -+# define IFLA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifinfomsg)) -+#endif - - struct netlink_res - { ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/paths.h 23 Apr 2009 18:29:16 -0000 1.12 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/paths.h 24 Apr 2009 08:00:37 -0000 1.11.4.2 -@@ -62,7 +62,7 @@ - #define _PATH_TTY "/dev/tty" - #define _PATH_UNIX "/boot/vmlinux" - #define _PATH_UTMP "/var/run/utmp" --#define _PATH_VI "/usr/bin/vi" -+#define _PATH_VI "/bin/vi" - #define _PATH_WTMP "/var/log/wtmp" - - /* Provide trailing slash, since mostly used for building pathnames. */ ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/tcsetattr.c 10 Sep 2003 19:16:07 -0000 1.16 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/tcsetattr.c 22 Sep 2004 21:21:08 -0000 1.16.2.1 -@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios - { - struct __kernel_termios k_termios; - unsigned long int cmd; -+ int retval; - - switch (optional_actions) - { -@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios - memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], - __KERNEL_NCCS * sizeof (cc_t)); - -- return INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios); -+ retval = INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios); -+ -+ if (retval == 0 && cmd == TCSETS) -+ { -+ /* The Linux kernel has a bug which silently ignore the invalid -+ c_cflag on pty. We have to check it here. */ -+ int save = errno; -+ retval = INLINE_SYSCALL (ioctl, 3, fd, TCGETS, &k_termios); -+ if (retval) -+ { -+ /* We cannot verify if the setting is ok. We don't return -+ an error (?). */ -+ __set_errno (save); -+ retval = 0; -+ } -+ else if ((termios_p->c_cflag & (PARENB | CREAD)) -+ != (k_termios.c_cflag & (PARENB | CREAD)) -+ || ((termios_p->c_cflag & CSIZE) -+ && ((termios_p->c_cflag & CSIZE) -+ != (k_termios.c_cflag & CSIZE)))) -+ { -+ /* It looks like the Linux kernel silently changed the -+ PARENB/CREAD/CSIZE bits in c_cflag. Report it as an -+ error. */ -+ __set_errno (EINVAL); -+ retval = -1; -+ } -+ } -+ -+ return retval; - } - libc_hidden_def (tcsetattr) ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/i386/clone.S 3 Dec 2006 23:12:36 -0000 1.27 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/i386/clone.S 14 Dec 2006 09:06:34 -0000 1.22.2.6 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/i386/clone.S ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/i386/clone.S @@ -120,9 +120,6 @@ L(pseudo_end): ret @@ -1953,8 +1868,8 @@ cfi_startproc PSEUDO_END (BP_SYM (__clone)) ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h 22 Sep 2004 21:21:08 -0000 1.1.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/i386/dl-cache.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/i386/dl-cache.h @@ -0,0 +1,59 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 2004 Free Software Foundation, Inc. @@ -2015,8 +1930,8 @@ + } while (0) + +#include_next ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/ia64/dl-cache.h 6 Jul 2001 04:56:17 -0000 1.2 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h 22 Sep 2004 21:21:09 -0000 1.2.4.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/ia64/dl-cache.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/ia64/dl-cache.h @@ -22,4 +22,31 @@ #define _dl_cache_check_flags(flags) \ ((flags) == _DL_CACHE_DEFAULT_ID) @@ -2049,29 +1964,114 @@ + } while (0) + #include_next ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 22 Sep 2004 21:21:09 -0000 1.1.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 17 Jan 2002 06:49:28 -0000 1.2 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 22 Sep 2004 21:21:09 -0000 1.2.2.1 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed @@ -1 +1 @@ -s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 \2\3"_ +s_^\(RTLDLIST=\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 /emul/ia32-linux\2\3"_ ---- glibc-20090510T1842/sysdeps/unix/sysv/linux/x86_64/clone.S 3 Dec 2006 23:12:36 -0000 1.7 -+++ glibc-20090510T1842-fedora/sysdeps/unix/sysv/linux/x86_64/clone.S 14 Dec 2006 09:06:34 -0000 1.4.2.4 +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/netlinkaccess.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/netlinkaccess.h +@@ -25,6 +25,24 @@ + + #include + ++#ifndef IFA_MAX ++/* 2.6.19 kernel headers helpfully removed some macros and ++ moved lots of stuff into new headers, some of which aren't ++ included by linux/rtnetlink.h. */ ++#include ++#endif ++ ++#ifndef IFA_RTA ++# define IFA_RTA(r) \ ++ ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifaddrmsg)))) ++# define IFA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifaddrmsg)) ++#endif ++ ++#ifndef IFLA_RTA ++# define IFLA_RTA(r) \ ++ ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifinfomsg)))) ++# define IFLA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifinfomsg)) ++#endif + + struct netlink_res + { +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/paths.h ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/paths.h +@@ -62,7 +62,7 @@ + #define _PATH_TTY "/dev/tty" + #define _PATH_UNIX "/boot/vmlinux" + #define _PATH_UTMP "/var/run/utmp" +-#define _PATH_VI "/usr/bin/vi" ++#define _PATH_VI "/bin/vi" + #define _PATH_WTMP "/var/log/wtmp" + + /* Provide trailing slash, since mostly used for building pathnames. */ +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/tcsetattr.c ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/tcsetattr.c +@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios_p) + { + struct __kernel_termios k_termios; + unsigned long int cmd; ++ int retval; + + switch (optional_actions) + { +@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios_p) + memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], + __KERNEL_NCCS * sizeof (cc_t)); + +- return INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios); ++ retval = INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios); ++ ++ if (retval == 0 && cmd == TCSETS) ++ { ++ /* The Linux kernel has a bug which silently ignore the invalid ++ c_cflag on pty. We have to check it here. */ ++ int save = errno; ++ retval = INLINE_SYSCALL (ioctl, 3, fd, TCGETS, &k_termios); ++ if (retval) ++ { ++ /* We cannot verify if the setting is ok. We don't return ++ an error (?). */ ++ __set_errno (save); ++ retval = 0; ++ } ++ else if ((termios_p->c_cflag & (PARENB | CREAD)) ++ != (k_termios.c_cflag & (PARENB | CREAD)) ++ || ((termios_p->c_cflag & CSIZE) ++ && ((termios_p->c_cflag & CSIZE) ++ != (k_termios.c_cflag & CSIZE)))) ++ { ++ /* It looks like the Linux kernel silently changed the ++ PARENB/CREAD/CSIZE bits in c_cflag. Report it as an ++ error. */ ++ __set_errno (EINVAL); ++ retval = -1; ++ } ++ } ++ ++ return retval; + } + libc_hidden_def (tcsetattr) +--- glibc-2.10.1-65-gc97164f/sysdeps/unix/sysv/linux/x86_64/clone.S ++++ glibc-2.10.1-3/sysdeps/unix/sysv/linux/x86_64/clone.S @@ -89,9 +89,6 @@ L(pseudo_end): ret diff --git a/glibc-nscd-avc_destroy.patch b/glibc-nscd-avc_destroy.patch deleted file mode 100644 index 6af077e..0000000 --- a/glibc-nscd-avc_destroy.patch +++ /dev/null @@ -1,57 +0,0 @@ -2009-05-14 Jakub Jelinek - - * nscd/selinux.c (nscd_avc_destroy): Removed. - * nscd/selinux.h (nscd_avc_destroy): Likewise. - * nscd/nscd.c (termination_handler): Don't call - nscd_avc_destroy. - ---- libc/nscd/nscd.c -+++ libc/nscd/nscd.c -@@ -488,10 +488,6 @@ termination_handler (int signum) - msync (dbs[cnt].head, dbs[cnt].memsize, MS_ASYNC); - } - -- /* Shutdown the SELinux AVC. */ -- if (selinux_enabled) -- nscd_avc_destroy (); -- - _exit (EXIT_SUCCESS); - } - ---- libc/nscd/selinux.c -+++ libc/nscd/selinux.c -@@ -418,15 +418,4 @@ nscd_avc_print_stats (struct avc_cache_stats *cstats) - cstats->cav_probes, cstats->cav_misses); - } - -- --/* Clean up the AVC before exiting. */ --void --nscd_avc_destroy (void) --{ -- avc_destroy (); --#ifdef HAVE_LIBAUDIT -- audit_close (audit_fd); --#endif --} -- - #endif /* HAVE_SELINUX */ ---- libc/nscd/selinux.h -+++ libc/nscd/selinux.h -@@ -35,8 +35,6 @@ struct avc_cache_stats; - - /* Initialize the userspace AVC. */ - extern void nscd_avc_init (void); --/* Destroy the userspace AVC. */ --extern void nscd_avc_destroy (void); - /* Determine if we are running on an SELinux kernel. */ - extern void nscd_selinux_enabled (int *selinux_enabled); - /* Check if the client has permission for the request type. */ -@@ -55,7 +53,6 @@ extern void install_real_capabilities (cap_t new_caps); - #else - # define selinux_enabled 0 - # define nscd_avc_init() (void) 0 --# define nscd_avc_destroy() (void) 0 - # define nscd_selinux_enabled(selinux_enabled) (void) 0 - # define nscd_request_avc_has_perm(fd, req) 0 - # define nscd_avc_cache_stats(cstats) (void) 0 diff --git a/glibc-nscd-cache-search.patch b/glibc-nscd-cache-search.patch deleted file mode 100644 index 304f222..0000000 --- a/glibc-nscd-cache-search.patch +++ /dev/null @@ -1,228 +0,0 @@ -2009-05-18 Jakub Jelinek - Ulrich Drepper - - * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. - (__nscd_cache_search): Assume each entry in the - hash chain needs one hashentry and half of datahead. Use - MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). - -2009-05-16 Ulrich Drepper - - * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last - patch. - -2009-05-15 Ulrich Drepper - - * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. - Use it if we absolutely cannot reach any more correct list elements - because that many do not fit into the currently mapped database. - -2009-05-14 Jakub Jelinek - - * nscd/nscd_helper.c: Include stddef.h. - (__nscd_cache_search): Add datalen argument. Use atomic_forced_read - in a couple of places. Return NULL if trail is not less than - datasize, don't consider dataheads with length smaller than - offsetof (struct datahead, data) + datalen. - * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. - * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/nscd_getai.c (__nscd_getai): Likewise. - * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. - * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. - ---- libc/nscd/nscd-client.h -+++ libc/nscd/nscd-client.h -@@ -44,7 +44,7 @@ - /* Path for the configuration file. */ - #define _PATH_NSCDCONF "/etc/nscd.conf" - --/* Maximu allowed length for the key. */ -+/* Maximum allowed length for the key. */ - #define MAXKEYLEN 1024 - - -@@ -329,7 +329,8 @@ static inline int __nscd_drop_map_ref (struct mapped_database *map, - extern struct datahead *__nscd_cache_search (request_type type, - const char *key, - size_t keylen, -- const struct mapped_database *mapped); -+ const struct mapped_database *mapped, -+ size_t datalen); - - /* Wrappers around read, readv and write that only read/write less than LEN - bytes on error or EOF. */ ---- libc/nscd/nscd_getai.c -+++ libc/nscd/nscd_getai.c -@@ -75,7 +76,7 @@ __nscd_getai (const char *key, struct nscd_ai_result **result, int *h_errnop) - if (mapped != NO_MAPPING) - { - struct datahead *found = __nscd_cache_search (GETAI, key, keylen, -- mapped); -+ mapped, sizeof ai_resp); - if (found != NULL) - { - respdata = (char *) (&found->data[0].aidata + 1); ---- libc/nscd/nscd_getgr_r.c -+++ libc/nscd/nscd_getgr_r.c -@@ -107,7 +107,8 @@ nscd_getgr_r (const char *key, size_t keylen, request_type type, - - if (mapped != NO_MAPPING) - { -- struct datahead *found = __nscd_cache_search (type, key, keylen, mapped); -+ struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, -+ sizeof gr_resp); - if (found != NULL) - { - len = (const uint32_t *) (&found->data[0].grdata + 1); ---- libc/nscd/nscd_gethst_r.c -+++ libc/nscd/nscd_gethst_r.c -@@ -137,7 +138,8 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type, - if (mapped != NO_MAPPING) - { - /* No const qualifier, as it can change during garbage collection. */ -- struct datahead *found = __nscd_cache_search (type, key, keylen, mapped); -+ struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, -+ sizeof hst_resp); - if (found != NULL) - { - h_name = (char *) (&found->data[0].hstdata + 1); ---- libc/nscd/nscd_getpw_r.c -+++ libc/nscd/nscd_getpw_r.c -@@ -104,7 +104,8 @@ nscd_getpw_r (const char *key, size_t keylen, request_type type, - - if (mapped != NO_MAPPING) - { -- struct datahead *found = __nscd_cache_search (type, key, keylen, mapped); -+ struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, -+ sizeof pw_resp); - if (found != NULL) - { - pw_name = (const char *) (&found->data[0].pwdata + 1); ---- libc/nscd/nscd_getserv_r.c -+++ libc/nscd/nscd_getserv_r.c -@@ -104,7 +104,8 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto, - - if (mapped != NO_MAPPING) - { -- struct datahead *found = __nscd_cache_search (type, key, keylen, mapped); -+ struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, -+ sizeof serv_resp); - - if (found != NULL) - { ---- libc/nscd/nscd_helper.c -+++ libc/nscd/nscd_helper.c -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -467,23 +468,36 @@ __nscd_get_map_ref (request_type type, const char *name, - } - - -+/* Using sizeof (hashentry) is not always correct to determine the size of -+ the data structure as found in the nscd cache. The program could be -+ a 64-bit process and nscd could be a 32-bit process. In this case -+ sizeof (hashentry) would overestimate the size. The following is -+ the minimum size of such an entry, good enough for our tests here. */ -+#define MINIMUM_HASHENTRY_SIZE \ -+ (offsetof (struct hashentry, dellist) + sizeof (int32_t)) -+ -+ - /* Don't return const struct datahead *, as eventhough the record - is normally constant, it can change arbitrarily during nscd - garbage collection. */ - struct datahead * - __nscd_cache_search (request_type type, const char *key, size_t keylen, -- const struct mapped_database *mapped) -+ const struct mapped_database *mapped, size_t datalen) - { - unsigned long int hash = __nis_hash (key, keylen) % mapped->head->module; - size_t datasize = mapped->datasize; - - ref_t trail = mapped->head->array[hash]; -+ trail = atomic_forced_read (trail); - ref_t work = trail; -+ size_t loop_cnt = datasize / (MINIMUM_HASHENTRY_SIZE -+ + offsetof (struct datahead, data) / 2); - int tick = 0; - -- while (work != ENDREF && work + sizeof (struct hashentry) <= datasize) -+ while (work != ENDREF && work + MINIMUM_HASHENTRY_SIZE <= datasize) - { - struct hashentry *here = (struct hashentry *) (mapped->data + work); -+ ref_t here_key, here_packet; - - #ifndef _STRING_ARCH_unaligned - /* Although during garbage collection when moving struct hashentry -@@ -498,13 +512,14 @@ __nscd_cache_search (request_type type, const char *key, size_t keylen, - - if (type == here->type - && keylen == here->len -- && here->key + keylen <= datasize -- && memcmp (key, mapped->data + here->key, keylen) == 0 -- && here->packet + sizeof (struct datahead) <= datasize) -+ && (here_key = atomic_forced_read (here->key)) + keylen <= datasize -+ && memcmp (key, mapped->data + here_key, keylen) == 0 -+ && ((here_packet = atomic_forced_read (here->packet)) -+ + sizeof (struct datahead) <= datasize)) - { - /* We found the entry. Increment the appropriate counter. */ - struct datahead *dh -- = (struct datahead *) (mapped->data + here->packet); -+ = (struct datahead *) (mapped->data + here_packet); - - #ifndef _STRING_ARCH_unaligned - if ((uintptr_t) dh & (__alignof__ (*dh) - 1)) -@@ -513,14 +528,17 @@ __nscd_cache_search (request_type type, const char *key, size_t keylen, - - /* See whether we must ignore the entry or whether something - is wrong because garbage collection is in progress. */ -- if (dh->usable && here->packet + dh->allocsize <= datasize) -+ if (dh->usable -+ && here_packet + dh->allocsize <= datasize -+ && (here_packet + offsetof (struct datahead, data) + datalen -+ <= datasize)) - return dh; - } - -- work = here->next; -+ work = atomic_forced_read (here->next); - /* Prevent endless loops. This should never happen but perhaps - the database got corrupted, accidentally or deliberately. */ -- if (work == trail) -+ if (work == trail || loop_cnt-- == 0) - break; - if (tick) - { -@@ -532,7 +550,11 @@ __nscd_cache_search (request_type type, const char *key, size_t keylen, - if ((uintptr_t) trailelem & (__alignof__ (*trailelem) - 1)) - return NULL; - #endif -- trail = trailelem->next; -+ -+ if (trail + MINIMUM_HASHENTRY_SIZE > datasize) -+ return NULL; -+ -+ trail = atomic_forced_read (trailelem->next); - } - tick = 1 - tick; - } ---- libc/nscd/nscd_initgroups.c -+++ libc/nscd/nscd_initgroups.c -@@ -55,7 +55,8 @@ __nscd_getgrouplist (const char *user, gid_t group, long int *size, - if (mapped != NO_MAPPING) - { - struct datahead *found = __nscd_cache_search (INITGROUPS, user, -- userlen, mapped); -+ userlen, mapped, -+ sizeof initgr_resp); - if (found != NULL) - { - respdata = (char *) (&found->data[0].initgrdata + 1); diff --git a/glibc-ppc-math-errno.patch b/glibc-ppc-math-errno.patch deleted file mode 100644 index 1355586..0000000 --- a/glibc-ppc-math-errno.patch +++ /dev/null @@ -1,101 +0,0 @@ -2009-05-22 Andreas Schwab - - * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. - * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. - ---- libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c -+++ libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c -@@ -44,6 +44,7 @@ - * TRIG(x) returns trig(x) nearly rounded - */ - -+#include - #include "math.h" - #include "math_private.h" - #include -@@ -67,9 +68,11 @@ - return __kernel_cosl(x,z); - - /* cos(Inf or NaN) is NaN */ -- else if (ix>=0x7ff0000000000000LL) -+ else if (ix>=0x7ff0000000000000LL) { -+ if (ix == 0x7ff0000000000000LL) -+ __set_errno (EDOM); - return x-x; -- -+ } - /* argument reduction needed */ - else { - n = __ieee754_rem_pio2l(x,y); ---- libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c -+++ libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c -@@ -51,6 +51,7 @@ - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - -+#include - #include "math.h" - #include "math_private.h" - #include -@@ -120,7 +121,10 @@ __expm1l (long double x) - - /* Overflow. */ - if (x > maxlog) -- return (big * big); -+ { -+ __set_errno (ERANGE); -+ return (big * big); -+ } - - /* Minimum value. */ - if (x < minarg) ---- libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c -+++ libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c -@@ -44,6 +44,7 @@ - * TRIG(x) returns trig(x) nearly rounded - */ - -+#include - #include "math.h" - #include "math_private.h" - #include -@@ -67,8 +68,11 @@ - return __kernel_sinl(x,z,0); - - /* sin(Inf or NaN) is NaN */ -- else if (ix>=0x7ff0000000000000LL) return x-x; -- -+ else if (ix>=0x7ff0000000000000LL) { -+ if (ix == 0x7ff0000000000000LL) -+ __set_errno (EDOM); -+ return x-x; -+ } - /* argument reduction needed */ - else { - n = __ieee754_rem_pio2l(x,y); ---- libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c -+++ libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c -@@ -44,6 +44,7 @@ - * TRIG(x) returns trig(x) nearly rounded - */ - -+#include - #include "math.h" - #include "math_private.h" - #include -@@ -66,8 +67,11 @@ - if(ix <= 0x3fe921fb54442d10LL) return __kernel_tanl(x,z,1); - - /* tanl(Inf or NaN) is NaN */ -- else if (ix>=0x7ff0000000000000LL) return x-x; /* NaN */ -- -+ else if (ix>=0x7ff0000000000000LL) { -+ if (ix == 0x7ff0000000000000LL) -+ __set_errno (EDOM); -+ return x-x; /* NaN */ -+ } - /* argument reduction needed */ - else { - n = __ieee754_rem_pio2l(x,y); diff --git a/glibc-sunrpc-license.patch b/glibc-sunrpc-license.patch deleted file mode 100644 index 348d6d2..0000000 --- a/glibc-sunrpc-license.patch +++ /dev/null @@ -1,6523 +0,0 @@ -2009-05-20 Ulrich Drepper - - Sun approved the change of the license. - * sunrpc/auth_des.c: Replace license text. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/des_crypt.c: Likewise. - * sunrpc/des_soft.c: Likewise. - * sunrpc/get_myaddr.c: Likewise. - * sunrpc/getrpcport.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc/auth.h: Likewise. - * sunrpc/rpc/auth_unix.h: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/des_crypt.h: Likewise. - * sunrpc/rpc/key_prot.h: Likewise. - * sunrpc/rpc/netdb.h: Likewise. - * sunrpc/rpc/pmap_clnt.h: Likewise. - * sunrpc/rpc/pmap_prot.h: Likewise. - * sunrpc/rpc/pmap_rmt.h: Likewise. - * sunrpc/rpc/rpc.h: Likewise. - * sunrpc/rpc/rpc_des.h: Likewise. - * sunrpc/rpc/rpc_msg.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/rpc/svc_auth.h: Likewise. - * sunrpc/rpc/types.h: Likewise. - * sunrpc/rpc/xdr.h: Likewise. - * sunrpc/rpc_clntout.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_common.c: Likewise. - * sunrpc/rpc_cout.c: Likewise. - * sunrpc/rpc_dtable.c: Likewise. - * sunrpc/rpc_hout.c: Likewise. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc_parse.c: Likewise. - * sunrpc/rpc_parse.h: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/rpc_sample.c: Likewise. - * sunrpc/rpc_scan.c: Likewise. - * sunrpc/rpc_scan.h: Likewise. - * sunrpc/rpc_svcout.c: Likewise. - * sunrpc/rpc_tblout.c: Likewise. - * sunrpc/rpc_util.c: Likewise. - * sunrpc/rpc_util.h: Likewise. - * sunrpc/rpcinfo.c: Likewise. - * sunrpc/rpcsvc/bootparam_prot.x: Likewise. - * sunrpc/rpcsvc/key_prot.x: Likewise. - * sunrpc/rpcsvc/klm_prot.x: Likewise. - * sunrpc/rpcsvc/mount.x: Likewise. - * sunrpc/rpcsvc/nfs_prot.x: Likewise. - * sunrpc/rpcsvc/rex.x: Likewise. - * sunrpc/rpcsvc/rstat.x: Likewise. - * sunrpc/rpcsvc/rusers.x: Likewise. - * sunrpc/rpcsvc/sm_inter.x: Likewise. - * sunrpc/rpcsvc/spray.x: Likewise. - * sunrpc/rpcsvc/yppasswd.x: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/svcauth_des.c: Likewise. - * sunrpc/xcrypt.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_float.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_sizeof.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - ---- libc/sunrpc/auth_des.c -+++ libc/sunrpc/auth_des.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * auth_des.c, client-side implementation of DES authentication ---- libc/sunrpc/auth_none.c -+++ libc/sunrpc/auth_none.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * auth_none.c ---- libc/sunrpc/auth_unix.c -+++ libc/sunrpc/auth_unix.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * auth_unix.c, Implements UNIX style authentication parameters. ---- libc/sunrpc/authdes_prot.c -+++ libc/sunrpc/authdes_prot.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * authdes_prot.c, XDR routines for DES authentication ---- libc/sunrpc/authuxprot.c -+++ libc/sunrpc/authuxprot.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * authunix_prot.c ---- libc/sunrpc/bindrsvprt.c -+++ libc/sunrpc/bindrsvprt.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1987 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (c) 1987 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/clnt_gen.c -+++ libc/sunrpc/clnt_gen.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1987, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (C) 1987, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/clnt_perr.c -+++ libc/sunrpc/clnt_perr.c -@@ -1,41 +1,34 @@ --/* @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro"; --#endif -- - /* - * clnt_perror.c - * - * Copyright (C) 1984, Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - #include - #include ---- libc/sunrpc/clnt_raw.c -+++ libc/sunrpc/clnt_raw.c -@@ -1,40 +1,34 @@ --/* @(#)clnt_raw.c 2.2 88/08/01 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * clnt_raw.c - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * clnt_raw.c -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Memory based rpc for simple testing and timing. - * Interface to create an rpc client and server in the same process. ---- libc/sunrpc/clnt_simp.c -+++ libc/sunrpc/clnt_simp.c -@@ -1,41 +1,35 @@ --/* @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * clnt_simple.c - * Simplified front end to rpc. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/clnt_tcp.c -+++ libc/sunrpc/clnt_tcp.c -@@ -1,40 +1,34 @@ --/* @(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * clnt_tcp.c, Implements a TCP/IP based, client side RPC. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro"; --#endif -- --/* -- * clnt_tcp.c, Implements a TCP/IP based, client side RPC. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * TCP based RPC supports 'batched calls'. - * A sequence of calls may be batched-up in a send buffer. The rpc call ---- libc/sunrpc/clnt_udp.c -+++ libc/sunrpc/clnt_udp.c -@@ -1,40 +1,34 @@ --/* @(#)clnt_udp.c 2.2 88/08/01 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * clnt_udp.c, Implements a UDP/IP based, client side RPC. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * clnt_udp.c, Implements a UDP/IP based, client side RPC. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/clnt_unix.c -+++ libc/sunrpc/clnt_unix.c -@@ -1,36 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * clnt_unix.c, Implements a TCP/IP based, client side RPC. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * clnt_unix.c, Implements a TCP/IP based, client side RPC. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * TCP based RPC supports 'batched calls'. - * A sequence of calls may be batched-up in a send buffer. The rpc call ---- libc/sunrpc/des_crypt.c -+++ libc/sunrpc/des_crypt.c -@@ -1,37 +1,33 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSID) --static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; --#endif --/* - * des_crypt.c, DES encryption library routines - * Copyright (C) 1986, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include -@@ -80,7 +76,7 @@ common_crypt (char *key, char *buf, register unsigned len, - - desdev = mode & DES_DEVMASK; - COPY8 (key, desp->des_key); -- /* -+ /* - * software - */ - if (!_des_crypt (buf, len, desp)) ---- libc/sunrpc/des_soft.c -+++ libc/sunrpc/des_soft.c -@@ -2,32 +2,32 @@ - static char sccsid[] = "@(#)des_soft.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; - #endif - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/get_myaddr.c -+++ libc/sunrpc/get_myaddr.c -@@ -1,41 +1,35 @@ --/* @(#)get_myaddress.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * get_myaddress.c - * - * Get client's IP address via ioctl. This avoids using the yellowpages. - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/getrpcport.c -+++ libc/sunrpc/getrpcport.c -@@ -1,38 +1,32 @@ --/* @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI"; --#endif - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1985 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * Copyright (c) 1985 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/key_call.c -+++ libc/sunrpc/key_call.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * The original source is from the RPCSRC 4.0 package from Sun Microsystems. ---- libc/sunrpc/key_prot.c -+++ libc/sunrpc/key_prot.c -@@ -1,36 +1,32 @@ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ --#if 0 --#pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI" --#endif -- --/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */ - - #include "rpc/key_prot.h" - ---- libc/sunrpc/openchild.c -+++ libc/sunrpc/openchild.c -@@ -1,34 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/pm_getmaps.c -+++ libc/sunrpc/pm_getmaps.c -@@ -1,42 +1,36 @@ --/* @(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * pmap_getmap.c - * Client interface to pmap rpc service. - * contains pmap_getmaps, which is only tcp service involved - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/pm_getport.c -+++ libc/sunrpc/pm_getport.c -@@ -1,41 +1,35 @@ --/* @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * pmap_getport.c - * Client interface to pmap rpc service. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/pmap_clnt.c -+++ libc/sunrpc/pmap_clnt.c -@@ -1,33 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * pmap_clnt.c ---- libc/sunrpc/pmap_prot.c -+++ libc/sunrpc/pmap_prot.c -@@ -1,41 +1,35 @@ --/* @(#)pmap_prot.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * pmap_prot.c - * Protocol for the local binder service, or pmap. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/pmap_prot2.c -+++ libc/sunrpc/pmap_prot2.c -@@ -1,41 +1,35 @@ --/* @(#)pmap_prot2.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * pmap_prot2.c - * Protocol for the local binder service, or pmap. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/pmap_rmt.c -+++ libc/sunrpc/pmap_rmt.c -@@ -1,42 +1,36 @@ --/* @(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro"; --#endif -- - /* - * pmap_rmt.c - * Client interface to pmap rpc service. - * remote call and broadcast service - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/rpc/auth.h -+++ libc/sunrpc/rpc/auth.h -@@ -1,37 +1,34 @@ --/* @(#)auth.h 2.3 88/08/07 4.0 RPCSRC; from 1.17 88/02/08 SMI */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * auth.h, Authentication interface. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * auth.h, Authentication interface. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * The data structures are completely opaque to the client. The client - * is required to pass a AUTH * to routines that create rpc ---- libc/sunrpc/rpc/auth_unix.h -+++ libc/sunrpc/rpc/auth_unix.h -@@ -1,38 +1,34 @@ --/* @(#)auth_unix.h 2.2 88/07/29 4.0 RPCSRC; from 1.8 88/02/08 SMI */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * auth_unix.h, Protocol for UNIX style authentication parameters for RPC - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* @(#)auth_unix.h 1.5 86/07/16 SMI */ -- --/* -- * auth_unix.h, Protocol for UNIX style authentication parameters for RPC -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc/clnt.h -+++ libc/sunrpc/rpc/clnt.h -@@ -1,37 +1,34 @@ --/* @(#)clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.31 88/02/08 SMI*/ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * clnt.h - Client side remote procedure call interface. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * clnt.h - Client side remote procedure call interface. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_CLNT_H ---- libc/sunrpc/rpc/des_crypt.h -+++ libc/sunrpc/rpc/des_crypt.h -@@ -3,34 +3,33 @@ - * - * des_crypt.h, des library routine interface - * Copyright (C) 1986, Sun Microsystems, Inc. -- */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef __DES_CRYPT_H__ ---- libc/sunrpc/rpc/key_prot.h -+++ libc/sunrpc/rpc/key_prot.h -@@ -8,40 +8,37 @@ - - #include - --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ --#if 0 --#pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI" --#endif --/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */ - --/* -+/* - * Compiled from key_prot.x using rpcgen. - * DO NOT EDIT THIS FILE! - * This is NOT source code! -@@ -60,33 +57,33 @@ enum keystatus { - KEY_SYSTEMERR = 3, - }; - typedef enum keystatus keystatus; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_keystatus(XDR *, keystatus*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_keystatus(XDR *, keystatus*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_keystatus(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - typedef char keybuf[HEXKEYBYTES]; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_keybuf(XDR *, keybuf); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_keybuf(XDR *, keybuf); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_keybuf(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - typedef char *netnamestr; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_netnamestr(XDR *, netnamestr*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_netnamestr(XDR *, netnamestr*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_netnamestr(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct cryptkeyarg { -@@ -94,13 +91,13 @@ struct cryptkeyarg { - des_block deskey; - }; - typedef struct cryptkeyarg cryptkeyarg; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_cryptkeyarg(XDR *, cryptkeyarg*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_cryptkeyarg(XDR *, cryptkeyarg*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_cryptkeyarg(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct cryptkeyarg2 { -@@ -109,13 +106,13 @@ struct cryptkeyarg2 { - des_block deskey; - }; - typedef struct cryptkeyarg2 cryptkeyarg2; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_cryptkeyarg2(XDR *, cryptkeyarg2*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_cryptkeyarg2(XDR *, cryptkeyarg2*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_cryptkeyarg2(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct cryptkeyres { -@@ -125,13 +122,13 @@ struct cryptkeyres { - } cryptkeyres_u; - }; - typedef struct cryptkeyres cryptkeyres; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_cryptkeyres(XDR *, cryptkeyres*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_cryptkeyres(XDR *, cryptkeyres*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_cryptkeyres(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - #define MAXGIDS 16 - -@@ -144,13 +141,13 @@ struct unixcred { - } gids; - }; - typedef struct unixcred unixcred; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_unixcred(XDR *, unixcred*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_unixcred(XDR *, unixcred*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_unixcred(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct getcredres { -@@ -160,13 +157,13 @@ struct getcredres { - } getcredres_u; - }; - typedef struct getcredres getcredres; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_getcredres(XDR *, getcredres*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_getcredres(XDR *, getcredres*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_getcredres(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct key_netstarg { -@@ -175,13 +172,13 @@ struct key_netstarg { - netnamestr st_netname; - }; - typedef struct key_netstarg key_netstarg; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_key_netstarg(XDR *, key_netstarg*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_key_netstarg(XDR *, key_netstarg*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_key_netstarg(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - struct key_netstres { -@@ -191,13 +188,13 @@ struct key_netstres { - } key_netstres_u; - }; - typedef struct key_netstres key_netstres; --#ifdef __cplusplus -+#ifdef __cplusplus - extern "C" bool_t xdr_key_netstres(XDR *, key_netstres*); --#elif __STDC__ -+#elif __STDC__ - extern bool_t xdr_key_netstres(XDR *, key_netstres*); --#else /* Old Style C */ -+#else /* Old Style C */ - bool_t xdr_key_netstres(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - - #ifndef opaque -@@ -242,7 +239,7 @@ extern des_block * key_gen_1_svc(void *, struct svc_req *); - extern getcredres * key_getcred_1(netnamestr *, CLIENT *); - extern getcredres * key_getcred_1_svc(netnamestr *, struct svc_req *); - --#else /* Old Style C */ -+#else /* Old Style C */ - #define KEY_SET ((u_long)1) - extern keystatus * key_set_1(); - extern keystatus * key_set_1_svc(); -@@ -258,7 +255,7 @@ extern des_block * key_gen_1_svc(); - #define KEY_GETCRED ((u_long)5) - extern getcredres * key_getcred_1(); - extern getcredres * key_getcred_1_svc(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - #define KEY_VERS2 ((u_long)2) - - #ifdef __cplusplus -@@ -315,7 +312,7 @@ extern key_netstres * key_net_get_2_svc(void *, struct svc_req *); - extern cryptkeyres * key_get_conv_2(opaque *, CLIENT *); - extern cryptkeyres * key_get_conv_2_svc(opaque *, struct svc_req *); - --#else /* Old Style C */ -+#else /* Old Style C */ - extern keystatus * key_set_2(); - extern keystatus * key_set_2_svc(); - extern cryptkeyres * key_encrypt_2(); -@@ -341,6 +338,6 @@ extern key_netstres * key_net_get_2_svc(); - #define KEY_GET_CONV ((u_long)10) - extern cryptkeyres * key_get_conv_2(); - extern cryptkeyres * key_get_conv_2_svc(); --#endif /* Old Style C */ -+#endif /* Old Style C */ - - #endif /* !_KEY_PROT_H_RPCGEN */ ---- libc/sunrpc/rpc/netdb.h -+++ libc/sunrpc/rpc/netdb.h -@@ -1,31 +1,31 @@ - /* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* @(#)rpc.h 1.8 87/07/24 SMI */ - ---- libc/sunrpc/rpc/pmap_clnt.h -+++ libc/sunrpc/rpc/pmap_clnt.h -@@ -1,38 +1,35 @@ --/* @(#)pmap_clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.11 88/02/08 SMI */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - /* - * pmap_clnt.h - * Supplies C routines to get to portmap services. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_PMAP_CLNT_H ---- libc/sunrpc/rpc/pmap_prot.h -+++ libc/sunrpc/rpc/pmap_prot.h -@@ -1,38 +1,35 @@ --/* @(#)pmap_prot.h 2.1 88/07/29 4.0 RPCSRC; from 1.14 88/02/08 SMI */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - /* - * pmap_prot.h - * Protocol for the local binder service, or pmap. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_PMAP_PROT_H ---- libc/sunrpc/rpc/pmap_rmt.h -+++ libc/sunrpc/rpc/pmap_rmt.h -@@ -1,38 +1,35 @@ --/* @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - /* - * Structures and XDR routines for parameters to and replies from - * the portmapper remote-call-service. - * - * Copyright (C) 1986, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_PMAP_RMT_H ---- libc/sunrpc/rpc/rpc.h -+++ libc/sunrpc/rpc/rpc.h -@@ -1,38 +1,35 @@ --/* @(#)rpc.h 2.3 88/08/10 4.0 RPCSRC; from 1.9 88/02/08 SMI */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - /* - * rpc.h, Just includes the billions of rpc header files necessary to - * do remote procedure calling. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_RPC_H ---- libc/sunrpc/rpc/rpc_des.h -+++ libc/sunrpc/rpc/rpc_des.h -@@ -1,35 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* - * Generic DES driver interface - * Keep this file hardware independent! - * Copyright (c) 1986 by Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _DES_H ---- libc/sunrpc/rpc/rpc_msg.h -+++ libc/sunrpc/rpc/rpc_msg.h -@@ -1,33 +1,36 @@ --/* @(#)rpc_msg.h 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * rpc_msg.h -+ * rpc message definition - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ --/* @(#)rpc_msg.h 1.7 86/07/16 SMI */ - - #ifndef _RPC_MSG_H - #define _RPC_MSG_H 1 -@@ -37,13 +40,6 @@ - #include - #include - --/* -- * rpc_msg.h -- * rpc message definition -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -- */ -- - #define RPC_MSG_VERSION ((u_long) 2) - #define RPC_SERVICE_PORT ((u_short) 2048) - ---- libc/sunrpc/rpc/svc.h -+++ libc/sunrpc/rpc/svc.h -@@ -1,36 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * svc.h, Server-side remote procedure call interface. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * svc.h, Server-side remote procedure call interface. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_SVC_H ---- libc/sunrpc/rpc/svc_auth.h -+++ libc/sunrpc/rpc/svc_auth.h -@@ -1,38 +1,34 @@ --/* @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * svc_auth.h, Service side of rpc authentication. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* @(#)svc_auth.h 1.6 86/07/16 SMI */ -- --/* -- * svc_auth.h, Service side of rpc authentication. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_SVC_AUTH_H ---- libc/sunrpc/rpc/types.h -+++ libc/sunrpc/rpc/types.h -@@ -1,30 +1,30 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* fixincludes should not add extern "C" to this file */ - /* ---- libc/sunrpc/rpc/xdr.h -+++ libc/sunrpc/rpc/xdr.h -@@ -1,36 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * xdr.h, External Data Representation Serialization Routines. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * xdr.h, External Data Representation Serialization Routines. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #ifndef _RPC_XDR_H ---- libc/sunrpc/rpc_clntout.c -+++ libc/sunrpc/rpc_clntout.c -@@ -1,40 +1,33 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * rpc_clntout.c, Client-stub outputter for the RPC protocol compiler -+ * Copyright (C) 1987, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_clntout.c 1.11 89/02/22 (C) 1987 SMI -- */ -- --/* -- * rpc_clntout.c, Client-stub outputter for the RPC protocol compiler -- * Copyright (C) 1987, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - #include - #include ---- libc/sunrpc/rpc_cmsg.c -+++ libc/sunrpc/rpc_cmsg.c -@@ -1,41 +1,34 @@ --/* @(#)rpc_callmsg.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * rpc_callmsg.c - * - * Copyright (C) 1984, Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/rpc_common.c -+++ libc/sunrpc/rpc_common.c -@@ -1,30 +1,30 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - #include - ---- libc/sunrpc/rpc_cout.c -+++ libc/sunrpc/rpc_cout.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_cout.c 1.13 89/02/22 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_cout.c 1.13 89/02/22 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_dtable.c -+++ libc/sunrpc/rpc_dtable.c -@@ -1,35 +1,32 @@ - /* @(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro"; --#endif - - #include - #include ---- libc/sunrpc/rpc_hout.c -+++ libc/sunrpc/rpc_hout.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_hout.c 1.12 89/02/22 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_hout.c 1.12 89/02/22 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_main.c -+++ libc/sunrpc/rpc_main.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From @(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI; - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From @(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI; -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_parse.c -+++ libc/sunrpc/rpc_parse.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_parse.h -+++ libc/sunrpc/rpc_parse.h -@@ -1,36 +1,33 @@ -+/* @(#)rpc_parse.h 1.3 90/08/29 (C) 1987 SMI */ -+ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* @(#)rpc_parse.h 1.3 90/08/29 (C) 1987 SMI */ -- --/* - * rpc_parse.h, Definitions for the RPCL parser - */ - ---- libc/sunrpc/rpc_prot.c -+++ libc/sunrpc/rpc_prot.c -@@ -1,40 +1,34 @@ --/* @(#)rpc_prot.c 2.3 88/08/07 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * rpc_prot.c - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * rpc_prot.c -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This set of routines implements the rpc message definition, - * its serializer and some common rpc utility routines. ---- libc/sunrpc/rpc_sample.c -+++ libc/sunrpc/rpc_sample.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_scan.c -+++ libc/sunrpc/rpc_scan.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_scan.h -+++ libc/sunrpc/rpc_scan.h -@@ -1,41 +1,38 @@ -+/* @(#)rpc_scan.h 1.3 90/08/29 (C) 1987 SMI */ -+ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* @(#)rpc_scan.h 1.3 90/08/29 (C) 1987 SMI */ -- --/* -- * rpc_scan.h, Definitions for the RPCL scanner -+ * rpc_scan.h, Definitions for the RPCL scanner - */ - - /* -- * kinds of tokens -+ * kinds of tokens - */ - enum tok_kind { - TOK_IDENT, -@@ -81,7 +78,7 @@ enum tok_kind { - typedef enum tok_kind tok_kind; - - /* -- * a token -+ * a token - */ - struct token { - tok_kind kind; -@@ -91,7 +88,7 @@ typedef struct token token; - - - /* -- * routine interface -+ * routine interface - */ - void scan(tok_kind expect, token *tokp); - void scan2(tok_kind expect1, tok_kind expect2, token *tokp); -@@ -104,4 +101,3 @@ void expected1(tok_kind exp1) __attribute__ ((noreturn)); - void expected2(tok_kind exp1, tok_kind exp2) __attribute__ ((noreturn)); - void expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3) - __attribute__ ((noreturn)); -- ---- libc/sunrpc/rpc_svcout.c -+++ libc/sunrpc/rpc_svcout.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_tblout.c -+++ libc/sunrpc/rpc_tblout.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_util.c -+++ libc/sunrpc/rpc_util.c -@@ -1,35 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * From: @(#)rpc_util.c 1.11 89/02/22 (C) 1987 SMI - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * From: @(#)rpc_util.c 1.11 89/02/22 (C) 1987 SMI -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpc_util.h -+++ libc/sunrpc/rpc_util.h -@@ -1,36 +1,33 @@ -+/* @(#)rpc_util.h 1.5 90/08/29 (C) 1987 SMI */ -+ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user or with the express written consent of -- * Sun Microsystems, Inc. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* @(#)rpc_util.h 1.5 90/08/29 (C) 1987 SMI */ -- --/* - * rpc_util.h, Useful definitions for the RPC protocol compiler - */ - ---- libc/sunrpc/rpcinfo.c -+++ libc/sunrpc/rpcinfo.c -@@ -1,11 +1,32 @@ -- --/* @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC */ --#if !defined(lint) && defined (SCCSID) --static char sccsid[] = "@(#)rpcinfo.c 1.22 87/08/12 SMI"; --#endif -- - /* - * Copyright (C) 1986, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* -@@ -13,35 +34,6 @@ static char sccsid[] = "@(#)rpcinfo.c 1.22 87/08/12 SMI"; - * or dump the portmapper - */ - --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - #include - #include - #include ---- libc/sunrpc/rpcsvc/bootparam_prot.x -+++ libc/sunrpc/rpcsvc/bootparam_prot.x -@@ -2,32 +2,32 @@ - /* @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* -@@ -82,7 +82,7 @@ struct bp_getfile_arg { - bp_machine_name_t client_name; - bp_fileid_t file_id; - }; -- -+ - struct bp_getfile_res { - bp_machine_name_t server_name; - bp_address server_address; ---- libc/sunrpc/rpcsvc/key_prot.x -+++ libc/sunrpc/rpcsvc/key_prot.x -@@ -1,35 +1,34 @@ --%/* --% * Sun RPC is a product of Sun Microsystems, Inc. and is provided for --% * unrestricted use provided that this legend is included on all tape --% * media and as a part of the software program in whole or part. Users --% * may copy or modify Sun RPC without charge, but are not authorized --% * to license or distribute it to anyone else except as part of a product or --% * program developed by the user. --% * --% * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE --% * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR --% * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. --% * --% * Sun RPC is provided with no support and without any obligation on the --% * part of Sun Microsystems, Inc. to assist in its use, correction, --% * modification or enhancement. --% * --% * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE --% * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC --% * OR ANY PART THEREOF. --% * --% * In no event will Sun Microsystems, Inc. be liable for any lost revenue --% * or profits or other special, indirect and consequential damages, even if --% * Sun has been advised of the possibility of such damages. --% * --% * Sun Microsystems, Inc. --% * 2550 Garcia Avenue --% * Mountain View, California 94043 --% */ - /* - * Key server protocol definition - * Copyright (C) 1990, 1991 Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ * - * The keyserver is a public key storage/encryption/decryption service - * The encryption method used is based on the Diffie-Hellman exponential - * key exchange technology. -@@ -49,7 +48,7 @@ - % - %/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */ - % --%/* -+%/* - % * Compiled from key_prot.x using rpcgen. - % * DO NOT EDIT THIS FILE! - % * This is NOT source code! -@@ -95,7 +94,7 @@ typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */ - typedef string netnamestr; - - /* -- * Argument to ENCRYPT or DECRYPT -+ * Argument to ENCRYPT or DECRYPT - */ - struct cryptkeyarg { - netnamestr remotename; -@@ -125,12 +124,12 @@ default: - const MAXGIDS = 16; /* max number of gids in gid list */ - - /* -- * Unix credential -- */ -+ * Unix credential -+ */ - struct unixcred { - u_int uid; - u_int gid; -- u_int gids; -+ u_int gids; - }; - - /* -@@ -157,7 +156,7 @@ case KEY_SUCCESS: - key_netstarg knet; - default: - void; --}; -+}; - - #ifdef RPC_HDR - % -@@ -173,15 +172,15 @@ program KEY_PROG { - * This is my secret key. - * Store it for me. - */ -- keystatus -- KEY_SET(keybuf) = 1; -- -+ keystatus -+ KEY_SET(keybuf) = 1; -+ - /* - * I want to talk to X. - * Encrypt a conversation key for me. - */ - cryptkeyres -- KEY_ENCRYPT(cryptkeyarg) = 2; -+ KEY_ENCRYPT(cryptkeyarg) = 2; - - /* - * X just sent me a message. -@@ -193,7 +192,7 @@ program KEY_PROG { - /* - * Generate a secure conversation key for me - */ -- des_block -+ des_block - KEY_GEN(void) = 4; - - /* -@@ -215,15 +214,15 @@ program KEY_PROG { - * This is my secret key. - * Store it for me. - */ -- keystatus -- KEY_SET(keybuf) = 1; -- -+ keystatus -+ KEY_SET(keybuf) = 1; -+ - /* - * I want to talk to X. - * Encrypt a conversation key for me. - */ - cryptkeyres -- KEY_ENCRYPT(cryptkeyarg) = 2; -+ KEY_ENCRYPT(cryptkeyarg) = 2; - - /* - * X just sent me a message. -@@ -235,7 +234,7 @@ program KEY_PROG { - /* - * Generate a secure conversation key for me - */ -- des_block -+ des_block - KEY_GEN(void) = 4; - - /* -@@ -244,13 +243,13 @@ program KEY_PROG { - */ - getcredres - KEY_GETCRED(netnamestr) = 5; -- -+ - /* - * I want to talk to X. and I know X's public key - * Encrypt a conversation key for me. - */ - cryptkeyres -- KEY_ENCRYPT_PK(cryptkeyarg2) = 6; -+ KEY_ENCRYPT_PK(cryptkeyarg2) = 6; - - /* - * X just sent me a message. and I know X's public key -@@ -258,29 +257,27 @@ program KEY_PROG { - */ - cryptkeyres - KEY_DECRYPT_PK(cryptkeyarg2) = 7; -- -- /* -- * Store my public key, netname and private key. -+ -+ /* -+ * Store my public key, netname and private key. - */ - keystatus - KEY_NET_PUT(key_netstarg) = 8; -- -+ - /* -- * Retrieve my public key, netname and private key. -+ * Retrieve my public key, netname and private key. - */ - key_netstres - KEY_NET_GET(void) = 9; -- -+ - /* -- * Return me the conversation key that is constructed -- * from my secret key and this publickey. -+ * Return me the conversation key that is constructed -+ * from my secret key and this publickey. - */ - -- cryptkeyres -- KEY_GET_CONV(keybuf) = 10; -+ cryptkeyres -+ KEY_GET_CONV(keybuf) = 10; -+ - -- - } = 2; - } = 100029; -- -- ---- libc/sunrpc/rpcsvc/klm_prot.x -+++ libc/sunrpc/rpcsvc/klm_prot.x -@@ -2,38 +2,36 @@ - /* @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* - * Kernel/lock manager protocol definition - * Copyright (C) 1986 Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ * - * protocol used between the UNIX kernel (the "client") and the - * local lock manager. The local lock manager is a deamon running - * above the kernel. -@@ -131,4 +129,3 @@ lock request */ - klm_stat KLM_UNLOCK (struct klm_unlockargs) = 4; - } = 1; - } = 100020; -- ---- libc/sunrpc/rpcsvc/mount.x -+++ libc/sunrpc/rpcsvc/mount.x -@@ -2,32 +2,32 @@ - /* @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpcsvc/nfs_prot.x -+++ libc/sunrpc/rpcsvc/nfs_prot.x -@@ -1,37 +1,35 @@ - /* @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * nfs_prot.x 1.2 87/10/12 -+ * Copyright 1987 Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * nfs_prot.x 1.2 87/10/12 -- * Copyright 1987 Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - const NFS_PORT = 2049; - const NFS_MAXDATA = 8192; ---- libc/sunrpc/rpcsvc/rex.x -+++ libc/sunrpc/rpcsvc/rex.x -@@ -2,32 +2,32 @@ - /* @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpcsvc/rstat.x -+++ libc/sunrpc/rpcsvc/rstat.x -@@ -2,32 +2,32 @@ - /* @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* ---- libc/sunrpc/rpcsvc/rusers.x -+++ libc/sunrpc/rpcsvc/rusers.x -@@ -1,32 +1,31 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -- - %/* - % * Find out about remote users - % */ ---- libc/sunrpc/rpcsvc/sm_inter.x -+++ libc/sunrpc/rpcsvc/sm_inter.x -@@ -1,39 +1,33 @@ --/* @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC */ --/* @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro */ -- --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- - /* - * Status monitor protocol specification - * Copyright (C) 1986 Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - ---- libc/sunrpc/rpcsvc/spray.x -+++ libc/sunrpc/rpcsvc/spray.x -@@ -2,32 +2,32 @@ - /* @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* -@@ -62,7 +62,7 @@ program SPRAYPROG { - version SPRAYVERS { - /* - * Just throw away the data and increment the counter -- * This call never returns, so the client should always -+ * This call never returns, so the client should always - * time it out. - */ - void -@@ -72,7 +72,7 @@ program SPRAYPROG { - * Get the value of the counter and elapsed time since - * last CLEAR. - */ -- spraycumul -+ spraycumul - SPRAYPROC_GET(void) = 2; - - /* ---- libc/sunrpc/rpcsvc/yppasswd.x -+++ libc/sunrpc/rpcsvc/yppasswd.x -@@ -2,32 +2,32 @@ - /* @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro */ - - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - /* -@@ -37,7 +37,7 @@ - program YPPASSWDPROG { - version YPPASSWDVERS { - /* -- * Update my passwd entry -+ * Update my passwd entry - */ - int - YPPASSWDPROC_UPDATE(yppasswd) = 1; -@@ -59,5 +59,3 @@ struct yppasswd { - string oldpass<>; /* unencrypted old password */ - passwd newpw; /* new passwd entry */ - }; -- -- ---- libc/sunrpc/rtime.c -+++ libc/sunrpc/rtime.c -@@ -1,37 +1,32 @@ --#if defined(LIBC_SCCS) && !defined(lint) --static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 SMI"; --#endif - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /* - * rtime - get time from remote machine ---- libc/sunrpc/svc.c -+++ libc/sunrpc/svc.c -@@ -1,32 +1,4 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* - * svc.c, Server-side remote procedure call interface. - * - * There are two sets of procedures here. The xprt routines are -@@ -34,6 +6,33 @@ - * list of service routines. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_auth.c -+++ libc/sunrpc/svc_auth.c -@@ -1,40 +1,34 @@ --/* @(#)svc_auth.c 2.4 88/08/15 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * svc_auth.c, Server-side rpc authenticator interface. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)svc_auth.c 1.19 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * svc_auth.c, Server-side rpc authenticator interface. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_authux.c -+++ libc/sunrpc/svc_authux.c -@@ -1,33 +1,4 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* - * svc_auth_unix.c - * Handles UNIX flavor authentication parameters on the service side of rpc. - * There are two svc auth implementations here: AUTH_UNIX and AUTH_SHORT. -@@ -36,6 +7,33 @@ - * Note: the shorthand has been gutted for efficiency. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_raw.c -+++ libc/sunrpc/svc_raw.c -@@ -1,36 +1,3 @@ --/* @(#)svc_raw.c 2.1 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * svc_raw.c, This a toy for simple testing and timing. - * Interface to create an rpc client and server in the same UNIX process. -@@ -38,6 +5,33 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro"; - * any interference from the kernel. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_run.c -+++ libc/sunrpc/svc_run.c -@@ -1,32 +1,31 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* - * This is the rpc server side idle loop - * Wait for input, call server program. - */ ---- libc/sunrpc/svc_simple.c -+++ libc/sunrpc/svc_simple.c -@@ -1,41 +1,35 @@ --/* @(#)svc_simple.c 2.2 88/08/01 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * svc_simple.c - * Simplified front end to rpc. - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_tcp.c -+++ libc/sunrpc/svc_tcp.c -@@ -1,40 +1,34 @@ --/* @(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * svc_tcp.c, Server side for TCP/IP based RPC. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * svc_tcp.c, Server side for TCP/IP based RPC. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Actually implements two flavors of transporter - - * a tcp rendezvouser (a listener and connection establisher) ---- libc/sunrpc/svc_udp.c -+++ libc/sunrpc/svc_udp.c -@@ -1,42 +1,36 @@ --/* @(#)svc_udp.c 2.2 88/07/29 4.0 RPCSRC */ --/* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro"; --#endif -- - /* - * svc_udp.c, - * Server side for UDP/IP based RPC. (Does some caching in the hopes of - * achieving execute-at-most-once semantics.) - * - * Copyright (C) 1984, Sun Microsystems, Inc. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #include ---- libc/sunrpc/svc_unix.c -+++ libc/sunrpc/svc_unix.c -@@ -1,36 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * svc_unix.c, Server side for TCP/IP based RPC. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * svc_unix.c, Server side for TCP/IP based RPC. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Actually implements two flavors of transporter - - * a unix rendezvouser (a listener and connection establisher) ---- libc/sunrpc/svcauth_des.c -+++ libc/sunrpc/svcauth_des.c -@@ -1,35 +1,33 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * Copyright (c) 1988 by Sun Microsystems, Inc. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -- */ --/* - * svcauth_des.c, server-side des authentication - * - * We insure for the service the following: ---- libc/sunrpc/xcrypt.c -+++ libc/sunrpc/xcrypt.c -@@ -1,34 +1,32 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (c) 1986-1991 by Sun Microsystems Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * Copyright (c) 1986-1991 by Sun Microsystems Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - #if 0 ---- libc/sunrpc/xdr.c -+++ libc/sunrpc/xdr.c -@@ -1,40 +1,34 @@ --/* @(#)xdr.c 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr.c, Generic XDR routines implementation. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1986, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)xdr.c 1.35 87/08/12"; --#endif -- --/* -- * xdr.c, Generic XDR routines implementation. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1986, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * These are the "generic" xdr routines used to serialize and de-serialize - * most common data items. See xdr.h for more info on the interface to ---- libc/sunrpc/xdr_array.c -+++ libc/sunrpc/xdr_array.c -@@ -1,43 +1,37 @@ --/* @(#)xdr_array.c 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr_array.c, Generic XDR routines implementation. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * xdr_array.c, Generic XDR routines implementation. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * These are the "non-trivial" xdr primitives used to serialize and de-serialize -- * arrays. See xdr.h for more info on the interface to xdr. -+ * These are the "non-trivial" xdr primitives used to serialize and -+ * de-serialize arrays. See xdr.h for more info on the interface to xdr. - */ - - #include ---- libc/sunrpc/xdr_float.c -+++ libc/sunrpc/xdr_float.c -@@ -1,40 +1,34 @@ --/* @(#)xdr_float.c 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr_float.c, Generic XDR routines implementation. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro"; --#endif -- --/* -- * xdr_float.c, Generic XDR routines implementation. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * These are the "floating point" xdr routines used to (de)serialize - * most common data items. See xdr.h for more info on the interface to ---- libc/sunrpc/xdr_mem.c -+++ libc/sunrpc/xdr_mem.c -@@ -1,41 +1,38 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr_mem.h, XDR implementation using memory buffers. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * xdr_mem.h, XDR implementation using memory buffers. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * If you have some data to be interpreted as external data representation - * or to be converted to external data representation in a memory buffer, - * then this is the package for you. -- * - */ - - #include ---- libc/sunrpc/xdr_rec.c -+++ libc/sunrpc/xdr_rec.c -@@ -1,38 +1,36 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -- * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -- * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -- * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* - * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking" - * layer above tcp (for rpc's use). - * - * Copyright (C) 1984, Sun Microsystems, Inc. - * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ * - * These routines interface XDRSTREAMS to a tcp/ip connection. - * There is a record marking layer between the xdr stream - * and the tcp transport level. A record is composed on one or more ---- libc/sunrpc/xdr_ref.c -+++ libc/sunrpc/xdr_ref.c -@@ -1,43 +1,37 @@ --/* @(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC */ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr_reference.c, Generic XDR routines implementation. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright (C) 1987, Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --#if !defined(lint) && defined(SCCSIDS) --static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI"; --#endif -- --/* -- * xdr_reference.c, Generic XDR routines implementation. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright (C) 1987, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * -- * These are the "non-trivial" xdr primitives used to serialize and de-serialize -- * "pointers". See xdr.h for more info on the interface to xdr. -+ * These are the "non-trivial" xdr primitives used to serialize and -+ * de-serialize "pointers". See xdr.h for more info on the interface to xdr. - */ - - #include ---- libc/sunrpc/xdr_sizeof.c -+++ libc/sunrpc/xdr_sizeof.c -@@ -1,35 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -- * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * xdr_sizeof.c - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Copyright 1990 Sun Microsystems, Inc. - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ --/* -- * xdr_sizeof.c -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Copyright 1990 Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * General purpose routine to see how much space something will use - * when serialized using XDR. ---- libc/sunrpc/xdr_stdio.c -+++ libc/sunrpc/xdr_stdio.c -@@ -1,36 +1,34 @@ - /* -- * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -- * unrestricted use provided that this legend is included on all tape -- * media and as a part of the software program in whole or part. Users -- * may copy or modify Sun RPC without charge, but are not authorized -- * to license or distribute it to anyone else except as part of a product or -- * program developed by the user. -- * -- * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -- * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * xdr_stdio.c, XDR implementation on standard i/o file. - * -- * Sun RPC is provided with no support and without any obligation on the -- * part of Sun Microsystems, Inc. to assist in its use, correction, -- * modification or enhancement. -+ * Copyright (C) 1984, Sun Microsystems, Inc. - * -- * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -- * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -- * OR ANY PART THEREOF. -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: - * -- * In no event will Sun Microsystems, Inc. be liable for any lost revenue -- * or profits or other special, indirect and consequential damages, even if -- * Sun has been advised of the possibility of such damages. -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following -+ * disclaimer in the documentation and/or other materials -+ * provided with the distribution. -+ * * Neither the name of Sun Microsystems, Inc. nor the names of its -+ * contributors may be used to endorse or promote products derived -+ * from this software without specific prior written permission. - * -- * Sun Microsystems, Inc. -- * 2550 Garcia Avenue -- * Mountain View, California 94043 -- */ -- --/* -- * xdr_stdio.c, XDR implementation on standard i/o file. -- * -- * Copyright (C) 1984, Sun Microsystems, Inc. -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This set of routines implements a XDR on a stdio stream. - * XDR_ENCODE serializes onto the stream, XDR_DECODE de-serializes diff --git a/glibc.spec b/glibc.spec index 97fb319..5eb04ee 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1,7 +1,6 @@ -%define glibcdate 20090510T1842 -%define glibcname glibc -%define glibcsrcdir glibc-20090510T1842 -%define glibc_release_tarballs 0 +%define glibcsrcdir glibc-2.10.1-65-gc97164f +%define glibcversion 2.10.1 +### glibc.spec.in follows: %define run_glibc_tests 1 %define auxarches i686 athlon sparcv9v sparc64v alphaev6 %define xenarches i686 athlon @@ -20,10 +19,11 @@ %define rtkaioarches %{ix86} x86_64 ia64 ppc ppc64 s390 s390x %define debuginfocommonarches %{ix86} alpha alphaev6 sparc sparcv9 sparcv9v sparc64 sparc64v %define _unpackaged_files_terminate_build 0 + Summary: The GNU libc libraries Name: glibc -Version: 2.10.1 -Release: 2 +Version: %{glibcversion} +Release: 3 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries. # Things that are linked directly into dynamically linked programs # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional @@ -32,21 +32,16 @@ Release: 2 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Group: System Environment/Libraries URL: http://sources.redhat.com/glibc/ -Source0: %{glibcsrcdir}.tar.bz2 -%if %{glibc_release_tarballs} -Source1: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-linuxthreads-/).tar.bz2 -Source2: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/).tar.bz2 -%define glibc_release_unpack -a1 -a2 +Source0: %{?glibc_release_url}%{glibcsrcdir}.tar.bz2 +%if 0%{?glibc_release_url:1} +%define glibc_libidn_srcdir %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/) +Source1: %{glibc_release_url}%{glibc_libidn_srcdir}.tar.bz2 +%define glibc_release_unpack -a1 +%define glibc_release_setup mv %{glibc_libidn_srcdir} libidn %endif -Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2 -Patch0: %{glibcname}-fedora.patch +Source2: %{glibcsrcdir}-fedora.tar.bz2 +Patch0: %{name}-fedora.patch Patch1: %{name}-ia64-lib64.patch -Patch2: glibc-accept4.patch -Patch3: glibc-bz10162.patch -Patch4: glibc-nscd-avc_destroy.patch -Patch5: glibc-nscd-cache-search.patch -Patch6: glibc-ppc-math-errno.patch -Patch7: glibc-sunrpc-license.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Obsoletes: glibc-profile < 2.4 Provides: ldconfig @@ -231,19 +226,14 @@ package or when debugging this package. %endif %prep -%setup -q -n %{glibcsrcdir} %{glibc_release_unpack} -a3 +%setup -q -n %{glibcsrcdir} %{?glibc_release_unpack} -b2 +%{?glibc_release_setup} %patch0 -E -p1 %ifarch ia64 %if "%{_lib}" == "lib64" %patch1 -p1 %endif %endif -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 # A lot of programs still misuse memcpy when they have to use # memmove. The memcpy implementation below is not tolerant at @@ -1025,6 +1015,26 @@ rm -f *.filelist* %endif %changelog +* Wed Jul 31 2009 Andreas Schwab - 2.10.1-3 +- Update from release/2.10/master. + - handle missing NSS modules (#513698) + - Handle SERVFAIL, NOTIMP, REFUSED replies from DNS server better + - Fix handling of xmm6 in ld.so audit hooks on x86-64 + - Fix possible race when freeing object in fast bin list + - Fix NIS and NIS+ getnetbyaddr backends + - Fix getent networks lookup and resulting incorrect NSS change + - Fix getnetbyaddr implementation + - Fix cfa offset for saved registers in PPC sqrt implementations + - Handle empty TZ strings at the end of new-style timzeone files correctly + - Add 802.15.4 definitions to header files + - Fix incorrect use of cmpldi in 32-bit PPC code + - Define week, first_weekday, first_workday in de_AT locale (BZ#10011) + - Fix permission of slave device on devpts if necessary + - When iterating over CPU bitmask, don't try more than CPU_SETSIZE + - Fix memory leak when batch-reading large NIS password maps + - Handle leap seconds even if no DST rule exists + - Fix errno for IBM long double + * Fri May 22 2009 Jakub Jelinek 2.10.1-2 - fix accept4 on architectures other than i?86/x86_64 - robustify nscd client code during server GC diff --git a/import.log b/import.log index 48ba978..1789fba 100644 --- a/import.log +++ b/import.log @@ -21,3 +21,4 @@ glibc-2_9_90-22:F-11:glibc-2.9.90-22.src.rpm:1240843823 glibc-2_10-1:F-11:glibc-2.10-1.src.rpm:1241896636 glibc-2_10-2:F-11:glibc-2.10-2.src.rpm:1241907762 glibc-2_10_1-1:F-11:glibc-2.10.1-1.src.rpm:1241982035 +glibc-2_10_1-3:F-11:glibc-2.10.1-3.src.rpm:1249041173 diff --git a/sources b/sources index 674c8f8..ac50859 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -693892ae9e1643b7d8017e71cf1d8c70 glibc-20090510T1842.tar.bz2 -e4a59f07896976185966c2e5e6a12cc9 glibc-fedora-20090510T1842.tar.bz2 +8bdb1d7fc8fa4be2bd5117542042fd4c glibc-2.10.1-65-gc97164f-fedora.tar.bz2 +ba8e5fbcc320129c6b42715e8f74d8a3 glibc-2.10.1-65-gc97164f.tar.bz2