CVS commit: src/tests/include/sys

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 07:06:35 UTC 2011

Modified Files:
src/tests/include/sys: t_bitops.c

Log Message:
Add some naive test cases for the ffs32(3) family of functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/include/sys/t_bitops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/include/sys/t_bitops.c
diff -u src/tests/include/sys/t_bitops.c:1.1 src/tests/include/sys/t_bitops.c:1.2
--- src/tests/include/sys/t_bitops.c:1.1	Sat Mar 19 06:39:17 2011
+++ src/tests/include/sys/t_bitops.c	Thu Mar 24 07:06:34 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_bitops.c,v 1.1 2011/03/19 06:39:17 jruoho Exp $ */
+/*	$NetBSD: t_bitops.c,v 1.2 2011/03/24 07:06:34 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -31,9 +31,73 @@
 
 #include atf-c.h
 
+#include sys/cdefs.h
 #include sys/bitops.h
+
 #include math.h
 
+static const struct {
+	uint32_t	val;
+	int		ffs;
+	int		fls;
+} bits[] = {
+
+	{ 0x00, 0, 0 }, { 0x01, 1, 1 },	{ 0x02, 2, 2 },	{ 0x03, 1, 2 },
+	{ 0x04, 3, 3 }, { 0x05, 1, 3 },	{ 0x06, 2, 3 },	{ 0x07, 1, 3 },
+	{ 0x08, 4, 4 }, { 0x09, 1, 4 },	{ 0x0A, 2, 4 },	{ 0x0B, 1, 4 },
+	{ 0x0C, 3, 4 }, { 0x0D, 1, 4 },	{ 0x0E, 2, 4 },	{ 0x0F, 1, 4 },
+
+	{ 0x10, 5, 5 },	{ 0x11, 1, 5 },	{ 0x12, 2, 5 },	{ 0x13, 1, 5 },
+	{ 0x14, 3, 5 },	{ 0x15, 1, 5 },	{ 0x16, 2, 5 },	{ 0x17, 1, 5 },
+	{ 0x18, 4, 5 },	{ 0x19, 1, 5 },	{ 0x1A, 2, 5 },	{ 0x1B, 1, 5 },
+	{ 0x1C, 3, 5 },	{ 0x1D, 1, 5 },	{ 0x1E, 2, 5 },	{ 0x1F, 1, 5 },
+
+	{ 0xF0, 5, 8 },	{ 0xF1, 1, 8 },	{ 0xF2, 2, 8 },	{ 0xF3, 1, 8 },
+	{ 0xF4, 3, 8 },	{ 0xF5, 1, 8 },	{ 0xF6, 2, 8 },	{ 0xF7, 1, 8 },
+	{ 0xF8, 4, 8 },	{ 0xF9, 1, 8 },	{ 0xFA, 2, 8 },	{ 0xFB, 1, 8 },
+	{ 0xFC, 3, 8 },	{ 0xFD, 1, 8 },	{ 0xFE, 2, 8 },	{ 0xFF, 1, 8 },
+
+};
+
+ATF_TC(ffsfls);
+ATF_TC_HEAD(ffsfls, tc)
+{
+	atf_tc_set_md_var(tc, descr, Test ffs32(3)-family for correctness);
+}
+
+ATF_TC_BODY(ffsfls, tc)
+{
+	uint8_t i;
+
+	ATF_REQUIRE(ffs32(0) == 0x00);
+	ATF_REQUIRE(fls32(0) == 0x00);
+	ATF_REQUIRE(ffs64(0) == 0x00);
+	ATF_REQUIRE(fls64(0) == 0x00);
+
+	ATF_REQUIRE(ffs32(UINT32_MAX) == 0x01);
+	ATF_REQUIRE(fls32(UINT32_MAX) == 0x20);
+	ATF_REQUIRE(ffs64(UINT64_MAX) == 0x01);
+	ATF_REQUIRE(fls64(UINT64_MAX) == 0x40);
+
+	for (i = 1; i  __arraycount(bits); i++) {
+
+		ATF_REQUIRE(ffs32(bits[i].val) == bits[i].ffs);
+		ATF_REQUIRE(fls32(bits[i].val) == bits[i].fls);
+		ATF_REQUIRE(ffs64(bits[i].val) == bits[i].ffs);
+		ATF_REQUIRE(fls64(bits[i].val) == bits[i].fls);
+
+		ATF_REQUIRE(ffs32(bits[i].val  1) == bits[i].ffs + 1);
+		ATF_REQUIRE(fls32(bits[i].val  1) == bits[i].fls + 1);
+		ATF_REQUIRE(ffs64(bits[i].val  1) == bits[i].ffs + 1);
+		ATF_REQUIRE(fls64(bits[i].val  1) == bits[i].fls + 1);
+
+		ATF_REQUIRE(ffs32(bits[i].val  9) == bits[i].ffs + 9);
+		ATF_REQUIRE(fls32(bits[i].val  9) == bits[i].fls + 9);
+		ATF_REQUIRE(ffs64(bits[i].val  9) == bits[i].ffs + 9);
+		ATF_REQUIRE(fls64(bits[i].val  9) == bits[i].fls + 9);
+	}
+}
+
 ATF_TC(ilog2_1);
 ATF_TC_HEAD(ilog2_1, tc)
 {
@@ -76,6 +140,7 @@
 ATF_TP_ADD_TCS(tp)
 {
 
+	ATF_TP_ADD_TC(tp, ffsfls);
 	ATF_TP_ADD_TC(tp, ilog2_1);
 	ATF_TP_ADD_TC(tp, ilog2_2);
 



CVS commit: src/sys/sys

2011-03-24 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Mar 24 07:28:29 UTC 2011

Modified Files:
src/sys/sys: cdefs_elf.h

Log Message:
use a comma in attribute list; from from gcc.info (5.25 Attribute Syntax):

  An attribute specifier is of the form `__attribute__
  ((ATTRIBUTE-LIST))'.  An attribute list is a possibly empty
  comma-separated sequence of attributes, where each attribute is
  [...]


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/cdefs_elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/cdefs_elf.h
diff -u src/sys/sys/cdefs_elf.h:1.36 src/sys/sys/cdefs_elf.h:1.37
--- src/sys/sys/cdefs_elf.h:1.36	Tue Feb 22 05:45:08 2011
+++ src/sys/sys/cdefs_elf.h	Thu Mar 24 07:28:28 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: cdefs_elf.h,v 1.36 2011/02/22 05:45:08 joerg Exp $	*/
+/*	$NetBSD: cdefs_elf.h,v 1.37 2011/03/24 07:28:28 plunky Exp $	*/
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -196,7 +196,7 @@
 __attribute__((__section__(.data.read_mostly)))
 
 #define	__cacheline_aligned	\
-__attribute__((__aligned__(COHERENCY_UNIT)			\
+__attribute__((__aligned__(COHERENCY_UNIT),			\
 		 __section__(.data.cacheline_aligned)))
 
 #endif /* _KERNEL */



CVS commit: src/tests/include/sys

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 07:37:05 UTC 2011

Modified Files:
src/tests/include/sys: t_bitops.c

Log Message:
Add also a basic, naive, test for fast_divide32(3).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/include/sys/t_bitops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/include/sys/t_bitops.c
diff -u src/tests/include/sys/t_bitops.c:1.2 src/tests/include/sys/t_bitops.c:1.3
--- src/tests/include/sys/t_bitops.c:1.2	Thu Mar 24 07:06:34 2011
+++ src/tests/include/sys/t_bitops.c	Thu Mar 24 07:37:04 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_bitops.c,v 1.2 2011/03/24 07:06:34 jruoho Exp $ */
+/*	$NetBSD: t_bitops.c,v 1.3 2011/03/24 07:37:04 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -59,6 +59,42 @@
 
 };
 
+ATF_TC(fast_divide32);
+ATF_TC_HEAD(fast_divide32, tc)
+{
+	atf_tc_set_md_var(tc, descr, A basic test of fast_divide32(3));
+}
+
+ATF_TC_BODY(fast_divide32, tc)
+{
+	uint32_t a, b, q, r, m;
+	uint8_t i, s1, s2;
+
+	a = 0x;
+	b = 0x000F;
+
+	fast_divide32_prepare(b, m, s1, s2);
+
+	q = fast_divide32(a, b, m, s1, s2);
+	r = fast_remainder32(a, b, m, s1, s2);
+
+	ATF_REQUIRE(q == 0x  r == 0);
+
+	for (i = 1; i  __arraycount(bits); i++) {
+
+		a = bits[i].val;
+		b = bits[i].ffs;
+
+		fast_divide32_prepare(b, m, s1, s2);
+
+		q = fast_divide32(a, b, m, s1, s2);
+		r = fast_remainder32(a, b, m, s1, s2);
+
+		ATF_REQUIRE(q == a / b);
+		ATF_REQUIRE(r == a % b);
+	}
+}
+
 ATF_TC(ffsfls);
 ATF_TC_HEAD(ffsfls, tc)
 {
@@ -140,6 +176,7 @@
 ATF_TP_ADD_TCS(tp)
 {
 
+	ATF_TP_ADD_TC(tp, fast_divide32);
 	ATF_TP_ADD_TC(tp, ffsfls);
 	ATF_TP_ADD_TC(tp, ilog2_1);
 	ATF_TP_ADD_TC(tp, ilog2_2);



CVS commit: src/sys/arch/x86/acpi

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 11:52:53 UTC 2011

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Reset APERF and MPERF only after interrupts have been enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/acpi/acpi_cpu_md.c
diff -u src/sys/arch/x86/acpi/acpi_cpu_md.c:1.56 src/sys/arch/x86/acpi/acpi_cpu_md.c:1.57
--- src/sys/arch/x86/acpi/acpi_cpu_md.c:1.56	Thu Mar 24 05:10:05 2011
+++ src/sys/arch/x86/acpi/acpi_cpu_md.c	Thu Mar 24 11:52:53 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.56 2011/03/24 05:10:05 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.57 2011/03/24 11:52:53 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010, 2011 Jukka Ruohonen jruoho...@iki.fi
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: acpi_cpu_md.c,v 1.56 2011/03/24 05:10:05 jruoho Exp $);
+__KERNEL_RCSID(0, $NetBSD: acpi_cpu_md.c,v 1.57 2011/03/24 11:52:53 jruoho Exp $);
 
 #include sys/param.h
 #include sys/bus.h
@@ -475,6 +475,16 @@
 int
 acpicpu_md_pstate_start(struct acpicpu_softc *sc)
 {
+	uint64_t xc;
+
+	/*
+	 * Reset the APERF and MPERF counters.
+	 */
+	if ((sc-sc_flags  ACPICPU_FLAG_P_HWF) != 0) {
+		xc = xc_broadcast(0, acpicpu_md_pstate_hwf_reset, NULL, NULL);
+		xc_wait(xc);
+	}
+
 	return acpicpu_md_pstate_sysctl_init();
 }
 
@@ -493,7 +503,7 @@
 	struct cpu_info *ci = sc-sc_ci;
 	struct acpicpu_pstate *ps, msr;
 	uint32_t family, i = 0;
-	uint64_t val, xc;
+	uint64_t val;
 
 	(void)memset(msr, 0, sizeof(struct acpicpu_pstate));
 
@@ -616,14 +626,6 @@
 		i++;
 	}
 
-	/*
-	 * Reset the APERF and MPERF counters.
-	 */
-	if ((sc-sc_flags  ACPICPU_FLAG_P_HWF) != 0) {
-		xc = xc_unicast(0, acpicpu_md_pstate_hwf_reset, sc, NULL, ci);
-		xc_wait(xc);
-	}
-
 	return 0;
 }
 



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 12:40:59 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libpthread: Makefile
Added Files:
src/tests/lib/libpthread: t_equal.c

Log Message:
A dummy conformance-test of pthread_equal(3).


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libpthread/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread/t_equal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.273 src/distrib/sets/lists/tests/mi:1.274
--- src/distrib/sets/lists/tests/mi:1.273	Tue Mar 22 23:07:49 2011
+++ src/distrib/sets/lists/tests/mi	Thu Mar 24 12:40:59 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.273 2011/03/22 23:07:49 jmmv Exp $
+# $NetBSD: mi,v 1.274 2011/03/24 12:40:59 jruoho Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -467,6 +467,7 @@
 ./usr/libdata/debug/usr/tests/lib/libpthread/h_resolv.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_barrier.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_cond.debug		tests-lib-tests		debug,atf
+./usr/libdata/debug/usr/tests/lib/libpthread/t_equal.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_fork.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_fpu.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_join.debug		tests-lib-tests		debug,atf
@@ -1932,6 +1933,7 @@
 ./usr/tests/lib/libpthread/t_barrier		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_cancel		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_cond		tests-lib-tests		atf
+./usr/tests/lib/libpthread/t_equal		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_exit		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_fork		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_fpu		tests-lib-tests		atf

Index: src/tests/lib/libpthread/Makefile
diff -u src/tests/lib/libpthread/Makefile:1.4 src/tests/lib/libpthread/Makefile:1.5
--- src/tests/lib/libpthread/Makefile:1.4	Wed Dec  8 23:50:14 2010
+++ src/tests/lib/libpthread/Makefile	Thu Mar 24 12:40:59 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/12/08 23:50:14 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2011/03/24 12:40:59 jruoho Exp $
 
 NOMAN=		# defined
 
@@ -17,6 +17,7 @@
 TESTS_C+=	t_barrier
 TESTS_SH+=	t_cancel
 TESTS_C+=	t_cond
+TESTS_C+=	t_equal
 TESTS_SH+=	t_exit
 TESTS_C+=	t_fork
 TESTS_C+=	t_fpu

Added files:

Index: src/tests/lib/libpthread/t_equal.c
diff -u /dev/null src/tests/lib/libpthread/t_equal.c:1.1
--- /dev/null	Thu Mar 24 12:40:59 2011
+++ src/tests/lib/libpthread/t_equal.c	Thu Mar 24 12:40:59 2011
@@ -0,0 +1,74 @@
+/* $NetBSD: t_equal.c,v 1.1 2011/03/24 12:40:59 jruoho Exp $ */
+
+/*-
+ * Copyright (c) 2011 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Jukka Ruohonen.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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 sys/cdefs.h
+__RCSID($NetBSD: t_equal.c,v 1.1 2011/03/24 12:40:59 jruoho Exp $);
+
+#include pthread.h
+
+#include atf-c.h
+
+#include h_common.h
+
+static void	*func(void *);
+
+static void *
+func(void *arg)
+{
+	return NULL;
+}
+
+ATF_TC(pthread_equal);
+ATF_TC_HEAD(pthread_equal, tc)
+{
+	atf_tc_set_md_var(tc, descr, A test of pthread_equal(3));
+}
+
+ATF_TC_BODY(pthread_equal, tc)
+{
+	pthread_t t1, t2;
+
+	

CVS commit: src/gnu/dist/gcc4/gcc

2011-03-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Mar 24 13:31:31 UTC 2011

Modified Files:
src/gnu/dist/gcc4/gcc: Makefile.in

Log Message:
Don't install stddef.h and friends, they don't work as intended without
patching. Since our own versions are fine, don't bother.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/gnu/dist/gcc4/gcc/Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/dist/gcc4/gcc/Makefile.in
diff -u src/gnu/dist/gcc4/gcc/Makefile.in:1.8 src/gnu/dist/gcc4/gcc/Makefile.in:1.9
--- src/gnu/dist/gcc4/gcc/Makefile.in:1.8	Tue Aug 12 10:09:31 2008
+++ src/gnu/dist/gcc4/gcc/Makefile.in	Thu Mar 24 13:31:30 2011
@@ -3138,7 +3138,7 @@
 # Using basename would be simpler, but some systems don't have it.
 # The touch command is here to workaround an AIX/Linux NFS bug.
 	-if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
-	for file in .. $(USER_H); do \
+	if false; then for file in .. $(USER_H); do \
 	  if [ X$$file != X.. ]; then \
 	realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
 	$(STAMP) include/$$realfile; \
@@ -3146,11 +3146,11 @@
 	cp $$file include; \
 	chmod a+r include/$$realfile; \
 	  fi; \
-	done
-	rm -f include/limits.h
+	done; \
+	rm -f include/limits.h; \
+	chmod a+r include/limits.h; fi
 	cp xlimits.h include/limits.h
 	cp $(UNWIND_H) include/unwind.h
-	chmod a+r include/limits.h
 # Install the README
 	rm -f include/README
 	cp $(srcdir)/../fixincludes/README-fixinc include/README



CVS commit: src/tools

2011-03-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Mar 24 13:33:42 UTC 2011

Modified Files:
src/tools/binutils: Makefile
src/tools/gcc: Makefile

Log Message:
Enable support for --sysroot in binutils and gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/tools/binutils/Makefile
cvs rdiff -u -r1.34 -r1.35 src/tools/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/binutils/Makefile
diff -u src/tools/binutils/Makefile:1.18 src/tools/binutils/Makefile:1.19
--- src/tools/binutils/Makefile:1.18	Fri Nov 20 22:51:29 2009
+++ src/tools/binutils/Makefile	Thu Mar 24 13:33:42 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2009/11/20 22:51:29 skrll Exp $
+#	$NetBSD: Makefile,v 1.19 2011/03/24 13:33:42 joerg Exp $
 
 .include bsd.own.mk
 
@@ -9,7 +9,8 @@
 
 BRANDING?=	\
 	--with-pkgversion=NetBSD Binutils nb1 \
-	--with-bugurl=http://www.NetBSD.org/support/send-pr.html;
+	--with-bugurl=http://www.NetBSD.org/support/send-pr.html; \
+	--with-lib-path==/usr/lib --with-sysroot
 .else
 BRANDING?=	
 .endif

Index: src/tools/gcc/Makefile
diff -u src/tools/gcc/Makefile:1.34 src/tools/gcc/Makefile:1.35
--- src/tools/gcc/Makefile:1.34	Wed Dec 23 20:17:13 2009
+++ src/tools/gcc/Makefile	Thu Mar 24 13:33:42 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.34 2009/12/23 20:17:13 mrg Exp $
+#	$NetBSD: Makefile,v 1.35 2011/03/24 13:33:42 joerg Exp $
 
 .include bsd.own.mk
 
@@ -34,9 +34,12 @@
 		--program-transform-name=s,^,${MACHINE_GNU_PLATFORM}-, \
 		--enable-languages=${GCC_LANGUAGES}
 
+GCC_CPPFLAGS=	-DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 \
+		-DTARGET_SYSTEM_ROOT_RELOCATABLE
+
 MAKE_ARGS=	MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q} \
 		LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= \
-		EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS \
+		EXTRA_PARTS= CPPFLAGS=${GCC_CPPFLAGS:Q} \
 		AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q}
 
 CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 13:52:05 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libpthread: Makefile
Added Files:
src/tests/lib/libpthread: t_detach.c

Log Message:
A dummy conformance-test for pthread_detach(3). I will extend this later.


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libpthread/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread/t_detach.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.274 src/distrib/sets/lists/tests/mi:1.275
--- src/distrib/sets/lists/tests/mi:1.274	Thu Mar 24 12:40:59 2011
+++ src/distrib/sets/lists/tests/mi	Thu Mar 24 13:52:04 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.274 2011/03/24 12:40:59 jruoho Exp $
+# $NetBSD: mi,v 1.275 2011/03/24 13:52:04 jruoho Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -467,6 +467,7 @@
 ./usr/libdata/debug/usr/tests/lib/libpthread/h_resolv.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_barrier.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_cond.debug		tests-lib-tests		debug,atf
+./usr/libdata/debug/usr/tests/lib/libpthread/t_detach.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_equal.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_fork.debug		tests-lib-tests		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libpthread/t_fpu.debug		tests-lib-tests		debug,atf
@@ -1933,6 +1934,7 @@
 ./usr/tests/lib/libpthread/t_barrier		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_cancel		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_cond		tests-lib-tests		atf
+./usr/tests/lib/libpthread/t_detach		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_equal		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_exit		tests-lib-tests		atf
 ./usr/tests/lib/libpthread/t_fork		tests-lib-tests		atf

Index: src/tests/lib/libpthread/Makefile
diff -u src/tests/lib/libpthread/Makefile:1.5 src/tests/lib/libpthread/Makefile:1.6
--- src/tests/lib/libpthread/Makefile:1.5	Thu Mar 24 12:40:59 2011
+++ src/tests/lib/libpthread/Makefile	Thu Mar 24 13:52:04 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/03/24 12:40:59 jruoho Exp $
+# $NetBSD: Makefile,v 1.6 2011/03/24 13:52:04 jruoho Exp $
 
 NOMAN=		# defined
 
@@ -17,6 +17,7 @@
 TESTS_C+=	t_barrier
 TESTS_SH+=	t_cancel
 TESTS_C+=	t_cond
+TESTS_C+=	t_detach
 TESTS_C+=	t_equal
 TESTS_SH+=	t_exit
 TESTS_C+=	t_fork

Added files:

Index: src/tests/lib/libpthread/t_detach.c
diff -u /dev/null src/tests/lib/libpthread/t_detach.c:1.1
--- /dev/null	Thu Mar 24 13:52:05 2011
+++ src/tests/lib/libpthread/t_detach.c	Thu Mar 24 13:52:04 2011
@@ -0,0 +1,91 @@
+/* $NetBSD: t_detach.c,v 1.1 2011/03/24 13:52:04 jruoho Exp $ */
+
+/*-
+ * Copyright (c) 2011 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Jukka Ruohonen.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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 sys/cdefs.h
+__RCSID($NetBSD: t_detach.c,v 1.1 2011/03/24 13:52:04 jruoho Exp $);
+
+#include pthread.h
+#include errno.h
+
+#include atf-c.h
+
+#include h_common.h
+
+static void	*func(void *);
+
+static void *
+func(void *arg)
+{
+	return NULL;
+}
+
+ATF_TC(pthread_detach);
+ATF_TC_HEAD(pthread_detach, tc)
+{
+	atf_tc_set_md_var(tc, descr, A test of pthread_detach(3));
+}
+

CVS commit: src/sys/arch/x68k/include

2011-03-24 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Mar 24 14:58:33 UTC 2011

Modified Files:
src/sys/arch/x68k/include: bus.h

Log Message:
- make X68K_BUS_PERFORMANCE_HACK part default
- use volatile rather than dummy __asm() statements to avoid optimization

Tested on X68030.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x68k/include/bus.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/include/bus.h
diff -u src/sys/arch/x68k/include/bus.h:1.22 src/sys/arch/x68k/include/bus.h:1.23
--- src/sys/arch/x68k/include/bus.h:1.22	Fri Mar 19 14:20:56 2010
+++ src/sys/arch/x68k/include/bus.h	Thu Mar 24 14:58:33 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.22 2010/03/19 14:20:56 tsutsui Exp $	*/
+/*	$NetBSD: bus.h,v 1.23 2011/03/24 14:58:33 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -37,14 +37,6 @@
 #ifndef _X68K_BUS_H_
 #define _X68K_BUS_H_
 
-#ifndef X68K_BUS_PERFORMANCE_HACK
-#if defined(__GNUC__)  defined(__STDC__)
-#define X68K_BUS_PERFORMANCE_HACK	1
-#else
-#define X68K_BUS_PERFORMANCE_HACK	0
-#endif
-#endif
-
 /*
  * Bus address and size types
  */
@@ -293,120 +285,72 @@
 _bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint8_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint8_t *regadr = (uint8_t *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint8_t *regadr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_multi_1 : : : memory);
-		*datap++ = *regadr;
-	}
-#else
+	regadr = (volatile uint8_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
-		*datap++ = *(volatile uint8_t *)
-__X68K_BUS_ADDR(t, bsh, offset);
-	}
-#endif
+	for (; count; count--)
+		*datap++ = *regadr;
 }
 
 static __inline void
 _bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint16_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint16_t *regadr = (uint16_t *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint16_t *regadr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_multi_2 : : : memory);
-		*datap++ = *regadr;
-	}
-#else
+	regadr = (volatile uint16_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
-		*datap++ = *(volatile uint16_t *)
-__X68K_BUS_ADDR(t, bsh, offset);
-	}
-#endif
+	for (; count; count--)
+		*datap++ = *regadr;
 }
 
 static __inline void
 _bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint32_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint32_t *regadr = (uint32_t *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint32_t *regadr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_multi_4 : : : memory);
-		*datap++ = *regadr;
-	}
-#else
+	regadr = (volatile uint32_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
-		*datap++ = *(volatile uint32_t *)
-__X68K_BUS_ADDR(t, bsh, offset);
-	}
-#endif
+	for (; count; count--)
+		*datap++ = *regadr;
 }
 
 static __inline void
 _bus_space_read_region_1(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint8_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint8_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint8_t *addr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_region_1 : : : memory);
-		*datap++ = *addr++;
-	}
-#else
-	volatile uint8_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	addr = (volatile uint8_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
+	for (; count; count--)
 		*datap++ = *addr++;
-	}
-#endif
 }
 
 static __inline void
 _bus_space_read_region_2(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint16_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint16_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint16_t *addr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_region_2 : : : memory);
-		*datap++ = *addr++;
-	}
-#else
-	volatile uint16_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	addr = (volatile uint16_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
+	for (; count; count--)
 		*datap++ = *addr++;
-	}
-#endif
 }
 
 static __inline void
 _bus_space_read_region_4(bus_space_tag_t t, bus_space_handle_t bsh,
 bus_size_t offset, uint32_t *datap, bus_size_t count)
 {
-#if X68K_BUS_PERFORMANCE_HACK
-	uint32_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	volatile uint32_t *addr;
 
-	for (; count; count--) {
-		__asm(| avoid optim. _bus_space_read_region_4 : : : memory);
-		*datap++ = *addr++;
-	}
-#else
-	volatile uint32_t *addr = (void *) __X68K_BUS_ADDR(t, bsh, offset);
+	addr = (volatile uint32_t *)__X68K_BUS_ADDR(t, bsh, offset);
 
-	while (count--  0) {
+	for (; count; count--)
 		*datap++ = 

CVS commit: src/sys/arch/x68k/include

2011-03-24 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Mar 24 15:05:55 UTC 2011

Modified Files:
src/sys/arch/x68k/include: bus.h

Log Message:
Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/include/bus.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/include/bus.h
diff -u src/sys/arch/x68k/include/bus.h:1.23 src/sys/arch/x68k/include/bus.h:1.24
--- src/sys/arch/x68k/include/bus.h:1.23	Thu Mar 24 14:58:33 2011
+++ src/sys/arch/x68k/include/bus.h	Thu Mar 24 15:05:55 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.23 2011/03/24 14:58:33 tsutsui Exp $	*/
+/*	$NetBSD: bus.h,v 1.24 2011/03/24 15:05:55 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -120,7 +120,7 @@
 #define BUS_SPACE_MAP_LINEAR		0x0002
 #define BUS_SPACE_MAP_PREFETCHABLE	0x0004
 /*
- * For simpler hadware, many x68k devices are mapped with shifted address
+ * For simpler hardware, many x68k devices are mapped with shifted address
  * i.e. only on even or odd addresses.
  */
 #define BUS_SPACE_MAP_SHIFTED_MASK	0x1001



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 15:43:06 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libm: Makefile
Added Files:
src/tests/lib/libm: t_ceil.c t_floor.c

Log Message:
Add dummy test cases for ceil(3) and floor(3). It is expected that at least
one of these will fail on guest x86_64 NetBSD under Qemu. Thanks to pgoyette@
for checking the broken floor(16.99...) = 17.


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libm/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libm/t_ceil.c \
src/tests/lib/libm/t_floor.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.275 src/distrib/sets/lists/tests/mi:1.276
--- src/distrib/sets/lists/tests/mi:1.275	Thu Mar 24 13:52:04 2011
+++ src/distrib/sets/lists/tests/mi	Thu Mar 24 15:43:06 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.275 2011/03/24 13:52:04 jruoho Exp $
+# $NetBSD: mi,v 1.276 2011/03/24 15:43:06 jruoho Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -448,6 +448,8 @@
 ./usr/libdata/debug/usr/tests/lib/libeventtests-lib-debug
 ./usr/libdata/debug/usr/tests/lib/libevent/h_event.debug		tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libm	tests-lib-debug
+./usr/libdata/debug/usr/tests/lib/libm/t_ceil.debug			tests-lib-debug		debug,atf
+./usr/libdata/debug/usr/tests/lib/libm/t_floor.debug			tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libm/t_libm.debug			tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libobjctests-lib-debug
 ./usr/libdata/debug/usr/tests/lib/libobjc/t_threads.debug		tests-lib-debug		debug,atf
@@ -1905,6 +1907,8 @@
 ./usr/tests/lib/libevent/t_event		tests-lib-tests		atf
 ./usr/tests/lib/libmtests-lib-tests		atf
 ./usr/tests/lib/libm/Atffile			tests-lib-tests		atf
+./usr/tests/lib/libm/t_ceil			tests-lib-tests		atf
+./usr/tests/lib/libm/t_floor			tests-lib-tests		atf
 ./usr/tests/lib/libm/t_libm			tests-lib-tests		atf
 ./usr/tests/lib/libobjctests-lib-tests		atf
 ./usr/tests/lib/libobjc/Atffile			tests-lib-tests		atf

Index: src/tests/lib/libm/Makefile
diff -u src/tests/lib/libm/Makefile:1.1 src/tests/lib/libm/Makefile:1.2
--- src/tests/lib/libm/Makefile:1.1	Mon Dec 20 23:47:23 2010
+++ src/tests/lib/libm/Makefile	Thu Mar 24 15:43:06 2011
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2010/12/20 23:47:23 pgoyette Exp $
+# $NetBSD: Makefile,v 1.2 2011/03/24 15:43:06 jruoho Exp $
 
 .include bsd.own.mk
 
 TESTSDIR=	${TESTSBASE}/lib/libm
 
-TESTS_C+=	t_libm
+TESTS_C+=	t_ceil t_floor t_libm
 
 LDADD+=-lm
 

Added files:

Index: src/tests/lib/libm/t_ceil.c
diff -u /dev/null src/tests/lib/libm/t_ceil.c:1.1
--- /dev/null	Thu Mar 24 15:43:06 2011
+++ src/tests/lib/libm/t_ceil.c	Thu Mar 24 15:43:06 2011
@@ -0,0 +1,66 @@
+/* $NetBSD: t_ceil.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $ */
+
+/*-
+ * Copyright (c) 2011 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Jukka Ruohonen.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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 sys/cdefs.h
+__RCSID($NetBSD: t_ceil.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $);
+
+#include math.h
+#include limits.h
+
+#include atf-c.h
+
+ATF_TC(ceil);
+ATF_TC_HEAD(ceil, tc)
+{
+	atf_tc_set_md_var(tc, descr, A basic test of ceil(3));
+}
+
+ATF_TC_BODY(ceil, tc)
+{
+	const int n = 10240;
+	double x, y;
+	int i;
+
+	for (i = 0; i  n; i++) {
+
+	

CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 16:56:38 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/gen: Makefile
Added Files:
src/tests/lib/libc/gen: t_raise.c

Log Message:
Add a naive test case for raise(3).


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/gen/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/gen/t_raise.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.276 src/distrib/sets/lists/tests/mi:1.277
--- src/distrib/sets/lists/tests/mi:1.276	Thu Mar 24 15:43:06 2011
+++ src/distrib/sets/lists/tests/mi	Thu Mar 24 16:56:37 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.276 2011/03/24 15:43:06 jruoho Exp $
+# $NetBSD: mi,v 1.277 2011/03/24 16:56:37 jruoho Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -338,6 +338,7 @@
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_glob_star.debug		tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_humanize_number.debug	tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_ldexp.debug		tests-lib-debug		debug,atf
+./usr/libdata/debug/usr/tests/lib/libc/gen/t_raise.debug		tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_randomid.debug		tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_rbstress.debug		tests-lib-debug		debug,atf
 ./usr/libdata/debug/usr/tests/lib/libc/gen/t_syslog_pthread.debug	tests-lib-debug		debug,atf
@@ -1705,6 +1706,7 @@
 ./usr/tests/lib/libc/gen/t_glob_star		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_humanize_number	tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_ldexp		tests-lib-tests		atf
+./usr/tests/lib/libc/gen/t_raise		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_randomid		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_rbstress		tests-lib-tests		atf
 ./usr/tests/lib/libc/gen/t_syslog_pthread	tests-lib-tests		atf

Index: src/tests/lib/libc/gen/Makefile
diff -u src/tests/lib/libc/gen/Makefile:1.13 src/tests/lib/libc/gen/Makefile:1.14
--- src/tests/lib/libc/gen/Makefile:1.13	Thu Jan 13 02:40:43 2011
+++ src/tests/lib/libc/gen/Makefile	Thu Mar 24 16:56:38 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2011/01/13 02:40:43 pgoyette Exp $
+# $NetBSD: Makefile,v 1.14 2011/03/24 16:56:38 jruoho Exp $
 
 .include bsd.own.mk
 
@@ -12,6 +12,7 @@
 TESTS_C+=	t_ldexp
 TESTS_C+=	t_randomid
 TESTS_C+=	t_rbstress
+TESTS_C+=	t_raise
 TESTS_C+=	t_siginfo
 TESTS_C+=	t_syslog_pthread
 TESTS_C+=	t_vis

Added files:

Index: src/tests/lib/libc/gen/t_raise.c
diff -u /dev/null src/tests/lib/libc/gen/t_raise.c:1.1
--- /dev/null	Thu Mar 24 16:56:38 2011
+++ src/tests/lib/libc/gen/t_raise.c	Thu Mar 24 16:56:38 2011
@@ -0,0 +1,116 @@
+/*	$NetBSD: t_raise.c,v 1.1 2011/03/24 16:56:38 jruoho Exp $ */
+
+/*-
+ * Copyright (c) 2011 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Jukka Ruohonen.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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 atf-c.h
+
+#include signal.h
+#include string.h
+#include time.h
+#include unistd.h
+
+static bool	fail;
+static void	handler(int);
+static int	sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR };
+
+static void
+handler(int signo)
+{
+	size_t i;
+
+	for (i = 0; i  __arraycount(sig); i++) {
+
+		if (sig[i] == signo) {
+			fail = false;
+			break;
+		}
+	}
+}
+
+ATF_TC(raise_1);
+ATF_TC_HEAD(raise_1, tc)

CVS commit: src/tests/lib/libc/gen

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 16:58:01 UTC 2011

Modified Files:
src/tests/lib/libc/gen: Makefile

Log Message:
Sort.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/gen/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/gen/Makefile
diff -u src/tests/lib/libc/gen/Makefile:1.14 src/tests/lib/libc/gen/Makefile:1.15
--- src/tests/lib/libc/gen/Makefile:1.14	Thu Mar 24 16:56:38 2011
+++ src/tests/lib/libc/gen/Makefile	Thu Mar 24 16:58:01 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/03/24 16:56:38 jruoho Exp $
+# $NetBSD: Makefile,v 1.15 2011/03/24 16:58:01 jruoho Exp $
 
 .include bsd.own.mk
 
@@ -10,9 +10,9 @@
 TESTS_C+=	t_glob_star
 TESTS_C+=	t_humanize_number
 TESTS_C+=	t_ldexp
+TESTS_C+=	t_raise
 TESTS_C+=	t_randomid
 TESTS_C+=	t_rbstress
-TESTS_C+=	t_raise
 TESTS_C+=	t_siginfo
 TESTS_C+=	t_syslog_pthread
 TESTS_C+=	t_vis



CVS commit: src/share/misc

2011-03-24 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Thu Mar 24 17:00:31 UTC 2011

Modified Files:
src/share/misc: acronyms.comp

Log Message:
+SCADA (supervisory control and data acquisition)


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.122 src/share/misc/acronyms.comp:1.123
--- src/share/misc/acronyms.comp:1.122	Wed Mar  9 17:52:45 2011
+++ src/share/misc/acronyms.comp	Thu Mar 24 17:00:31 2011
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.122 2011/03/09 17:52:45 jruoho Exp $
+$NetBSD: acronyms.comp,v 1.123 2011/03/24 17:00:31 ginsbach Exp $
 
 3WHS	three-way handshake
 AA	anti-aliasing
@@ -934,6 +934,7 @@
 SBU	standard build unit
 SC	store conditional
 SCA	source code analyzer
+SCADA	supervisory control and data acquisition
 SCC	single chip cloud
 SCC	source code control
 SCCS	source code control system



CVS commit: src/doc

2011-03-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Mar 24 19:29:43 UTC 2011

Modified Files:
src/doc: CHANGES

Log Message:
match brackets.


To generate a diff of this commit:
cvs rdiff -u -r1.1528 -r1.1529 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.1528 src/doc/CHANGES:1.1529
--- src/doc/CHANGES:1.1528	Wed Mar 23 20:22:33 2011
+++ src/doc/CHANGES	Thu Mar 24 19:29:43 2011
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			$Revision: 1.1528 $
+# LIST OF CHANGES FROM LAST RELEASE:			$Revision: 1.1529 $
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -961,8 +961,8 @@
 		[bouyer 20110306]
 	tmux(1): First import of tmux (version 1.4).  [jmmv 20110310]
 	powerpc: add TLS (thread local storage) support.  [matt 20110311]
-	sh3: add TLS (thread locale storage) support.  [joerg 20110312
-	x86: add TLS (thread locale storage) support.  [joerg 20110312
+	sh3: add TLS (thread locale storage) support.  [joerg 20110312]
+	x86: add TLS (thread locale storage) support.  [joerg 20110312]
 	mips: add TLS (thread local storage) support.  [matt 20110314]
 	mips: add MIPS32R2 and MIPS64R2 support.  [matt 20110314]
 	shmif_dumpbus(1): Make endian-independent.  [pooka 20110314]



CVS commit: src/external/bsd/atf/dist/atf-c

2011-03-24 Thread Julio Merino
Module Name:src
Committed By:   jmmv
Date:   Thu Mar 24 19:50:30 UTC 2011

Modified Files:
src/external/bsd/atf/dist/atf-c: Atffile

Log Message:
Enable the execution of pkg_config_test; it has been present for a while
and it is even being built and installed already.

Partial pull up of 0930d2c3f44a9c8fcaf0a960ab51c5e8f320684d.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/atf/dist/atf-c/Atffile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/atf/dist/atf-c/Atffile
diff -u src/external/bsd/atf/dist/atf-c/Atffile:1.1.1.2 src/external/bsd/atf/dist/atf-c/Atffile:1.2
--- src/external/bsd/atf/dist/atf-c/Atffile:1.1.1.2	Wed Oct 20 09:14:19 2010
+++ src/external/bsd/atf/dist/atf-c/Atffile	Thu Mar 24 19:50:30 2011
@@ -10,6 +10,7 @@
 tp: config_test
 tp: error_test
 tp: macros_test
+tp: pkg_config_test
 tp: tc_test
 tp: tp_test
 tp: utils_test



CVS commit: [netbsd-5] src/external/ibm-public/postfix/dist

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 19:54:09 UTC 2011

Modified Files:
src/external/ibm-public/postfix/dist [netbsd-5]: HISTORY makedefs
src/external/ibm-public/postfix/dist/src/cleanup [netbsd-5]:
cleanup_map1n.c
src/external/ibm-public/postfix/dist/src/global [netbsd-5]:
mail_version.h
src/external/ibm-public/postfix/dist/src/local [netbsd-5]: recipient.c
src/external/ibm-public/postfix/dist/src/master [netbsd-5]:
master_sig.c
src/external/ibm-public/postfix/dist/src/smtp [netbsd-5]: smtp_proto.c
src/external/ibm-public/postfix/dist/src/smtpd [netbsd-5]: smtpd.c
src/external/ibm-public/postfix/dist/src/util [netbsd-5]: host_port.c
make_dirs.c sys_defs.h watchdog.c

Log Message:
Apply patches (requested by tron in ticket #1576):
Update postfix to version 2.7.3:
- Fix for CVE-2011-0411: discard buffered plaintext input, after
  reading the SMTP STARTTLS command or response.
- Fix to the local delivery agent: look up the unextended address
  in the local aliases database, when that address has a malformed
  address extension.
- Fix to virtual alias expansion: report a tempfail error, instead of
  silently ignoring recipients that exceed the
  virtual_alias_expansion_limit or the virtual_alias_recursion_limit.
- Fix for BSD-ish mkdir() to prevent maildir directories from
  inheriting their group ownership from the parent directory.
- Fix to the SMTP client: missing support for mail to [ipv6:ipv6addr]
  address literal destinations.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.2.4 -r1.1.1.2.2.5 \
src/external/ibm-public/postfix/dist/HISTORY
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/makedefs
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c
cvs rdiff -u -r1.1.1.2.2.4 -r1.1.1.2.2.5 \
src/external/ibm-public/postfix/dist/src/global/mail_version.h
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/local/recipient.c
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/master/master_sig.c
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/smtp/smtp_proto.c
cvs rdiff -u -r1.2.2.4 -r1.2.2.5 \
src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/util/host_port.c \
src/external/ibm-public/postfix/dist/src/util/make_dirs.c \
src/external/ibm-public/postfix/dist/src/util/watchdog.c
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/util/sys_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/ibm-public/postfix/dist/HISTORY
diff -u src/external/ibm-public/postfix/dist/HISTORY:1.1.1.2.2.4 src/external/ibm-public/postfix/dist/HISTORY:1.1.1.2.2.5
--- src/external/ibm-public/postfix/dist/HISTORY:1.1.1.2.2.4	Fri Jan  7 01:23:55 2011
+++ src/external/ibm-public/postfix/dist/HISTORY	Thu Mar 24 19:54:07 2011
@@ -15730,6 +15730,18 @@
 	The last protocol change was in Postfix 2.1. File:
 	util/dict_open.c.
 
+20100422
+
+	Workaround (introduced: postfix-19990906 a.k.a. Postfix
+	0.8.0).  The Postfix local delivery agent did not properly
+	distinguish between address has no extension and address
+	has an extension, but the extension is invalid. In both
+	cases it would run only the full recipient local-part through
+	the alias maps.  Instead, it now drops the faulty extension
+	from the recipient address local-part (it would be too
+	error-prone to replace all tests for no extension by tests
+	for no valid extension.  File: local/recipient.c.
+
 20100515
 
 	Bugfix (introduced Postfix 2.6): the Postfix SMTP client
@@ -15816,3 +15828,59 @@
 	compliance. We now make an exception for final replies,
 	as permitted by RFC. Solution by Victor Duchovni. File:
 	smtpd/smtpd.c.
+
+20101201
+
+	Workaround: BSD-ish mkdir() ignores the effective GID and
+	copies group ownership from the parent directory.  File:
+	util/make_dirs.c.
+
+20101202
+
+	Cleanup: the cleanup server now reports a temporary delivery
+	error when it reaches the virtual_alias_expansion_limit or
+	virtual_alias_recursion_limit. Previously, it would silently
+	ignore the excess recipients and deliver the message.  File:
+	cleanup/cleanup_map1n.c.
+
+20110105
+
+	Bugfix (introduced with the Postfix TLS patch): discard
+	plaintext following the STARTTLS command or response. This
+	matters only for the minority of SMTP clients that actually
+	verify server certificates.  Files: smtpd/smtpd.c,
+	smtp/smtp_proto.c.
+
+	This vulnerability is also known as 

CVS commit: [netbsd-5] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 19:55:41 UTC 2011

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1576.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.67 -r1.1.2.68 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-5.2
diff -u src/doc/CHANGES-5.2:1.1.2.67 src/doc/CHANGES-5.2:1.1.2.68
--- src/doc/CHANGES-5.2:1.1.2.67	Sun Mar 20 21:33:13 2011
+++ src/doc/CHANGES-5.2	Thu Mar 24 19:55:41 2011
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.2,v 1.1.2.67 2011/03/20 21:33:13 bouyer Exp $
+# $NetBSD: CHANGES-5.2,v 1.1.2.68 2011/03/24 19:55:41 riz Exp $
 
 A complete list of changes from the NetBSD 5.1 release to the NetBSD 5.2
 release:
@@ -4880,3 +4880,31 @@
 	Reported by Maksymilian Arciemowicz
 	[spz, ticket #1574]
 
+external/ibm-public/postfix/dist/HISTORY			patch
+external/ibm-public/postfix/dist/makedefs			patch
+external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c	patch
+external/ibm-public/postfix/dist/src/global/mail_version.h	patch
+external/ibm-public/postfix/dist/src/local/recipient.c		patch
+external/ibm-public/postfix/dist/src/master/master_sig.c	patch
+external/ibm-public/postfix/dist/src/smtp/smtp_proto.c		patch
+external/ibm-public/postfix/dist/src/smtpd/smtpd.c		patch
+external/ibm-public/postfix/dist/src/util/host_port.c		patch
+external/ibm-public/postfix/dist/src/util/make_dirs.c		patch
+external/ibm-public/postfix/dist/src/util/sys_defs.h		patch
+external/ibm-public/postfix/dist/src/util/watchdog.c		patch
+
+	Update postfix to version 2.7.3:
+	- Fix for CVE-2011-0411: discard buffered plaintext input, after
+  reading the SMTP STARTTLS command or response.  
+- Fix to the local delivery agent: look up the unextended address 
+  in the local aliases database, when that address has a malformed  
+  address extension.
+- Fix to virtual alias expansion: report a tempfail error, instead of   
+  silently ignoring recipients that exceed the  
+  virtual_alias_expansion_limit or the virtual_alias_recursion_limit.   
+- Fix for BSD-ish mkdir() to prevent maildir directories from   
+  inheriting their group ownership from the parent directory.   
+- Fix to the SMTP client: missing support for mail to [ipv6:ipv6addr]   
+  address literal destinations. 
+	[tron, ticket #1576]
+



CVS commit: [netbsd-5-0] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:11:25 UTC 2011

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.3

Log Message:
Ticket 1578.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/doc/CHANGES-5.0.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-5.0.3
diff -u src/doc/CHANGES-5.0.3:1.1.2.31 src/doc/CHANGES-5.0.3:1.1.2.32
--- src/doc/CHANGES-5.0.3:1.1.2.31	Tue Mar 22 20:03:04 2011
+++ src/doc/CHANGES-5.0.3	Thu Mar 24 20:11:25 2011
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.0.3,v 1.1.2.31 2011/03/22 20:03:04 bouyer Exp $
+# $NetBSD: CHANGES-5.0.3,v 1.1.2.32 2011/03/24 20:11:25 riz Exp $
 
 A complete list of changes from the NetBSD 5.0.2 release to the NetBSD 5.0.3
 release:
@@ -2612,3 +2612,64 @@
 	like len / 0 = 1
 	[spz, ticket #1571]
 
+gnu/dist/postfix/HISTORYpatch
+gnu/dist/postfix/RELEASE_NOTESpatch
+gnu/dist/postfix/makedefspatch
+gnu/dist/postfix/conf/postfix-files			patch
+gnu/dist/postfix/conf/transportpatch
+gnu/dist/postfix/html/oqmgr.8.html			patch
+gnu/dist/postfix/html/pcre_table.5.html			patch
+gnu/dist/postfix/html/pickup.8.html			patch
+gnu/dist/postfix/html/postconf.5.html			patch
+gnu/dist/postfix/html/qmgr.8.html			patch
+gnu/dist/postfix/html/transport.5.html			patch
+gnu/dist/postfix/man/man5/pcre_table.5			patch
+gnu/dist/postfix/man/man5/postconf.5			patch
+gnu/dist/postfix/man/man5/transport.5			patch
+gnu/dist/postfix/man/man8/oqmgr.8			patch
+gnu/dist/postfix/man/man8/pickup.8			patch
+gnu/dist/postfix/man/man8/qmgr.8			patch
+gnu/dist/postfix/mantools/postlink			patch
+gnu/dist/postfix/proto/pcre_table			patch
+gnu/dist/postfix/proto/postconf.proto			patch
+gnu/dist/postfix/proto/transport			patch
+gnu/dist/postfix/src/cleanup/cleanup_map1n.c		patch
+gnu/dist/postfix/src/global/cleanup_user.h		patch
+gnu/dist/postfix/src/global/db_common.c			patch
+gnu/dist/postfix/src/global/mail_params.h		patch
+gnu/dist/postfix/src/global/mail_version.h		patch
+gnu/dist/postfix/src/global/pipe_command.c		patch
+gnu/dist/postfix/src/local/recipient.c			patch
+gnu/dist/postfix/src/master/master_sig.c		patch
+gnu/dist/postfix/src/milter/milter8.c			patch
+gnu/dist/postfix/src/oqmgr/qmgr.c			patch
+gnu/dist/postfix/src/oqmgr/qmgr_transport.c		patch
+gnu/dist/postfix/src/pickup/pickup.c			patch
+gnu/dist/postfix/src/postdrop/postdrop.c		patch
+gnu/dist/postfix/src/postsuper/postsuper.c		patch
+gnu/dist/postfix/src/qmgr/qmgr.c			patch
+gnu/dist/postfix/src/qmgr/qmgr.h			patch
+gnu/dist/postfix/src/qmgr/qmgr_entry.c			patch
+gnu/dist/postfix/src/qmgr/qmgr_job.c			patch
+gnu/dist/postfix/src/qmgr/qmgr_queue.c			patch
+gnu/dist/postfix/src/qmgr/qmgr_transport.c		patch
+gnu/dist/postfix/src/smtp/smtp_proto.c			patch
+gnu/dist/postfix/src/smtp/smtp_reuse.c			patch
+gnu/dist/postfix/src/smtpd/smtpd.c			patch
+gnu/dist/postfix/src/smtpd/smtpd_check.c		patch
+gnu/dist/postfix/src/smtpd/smtpd_proxy.c		patch
+gnu/dist/postfix/src/tls/Makefile.in			patch
+gnu/dist/postfix/src/tls/tls_certkey.c			patch
+gnu/dist/postfix/src/tls/tls_misc.c			patch
+gnu/dist/postfix/src/trivial-rewrite/resolve.c		patch
+gnu/dist/postfix/src/util/events.c			patch
+gnu/dist/postfix/src/util/host_port.c			patch
+gnu/dist/postfix/src/util/make_dirs.c			patch
+gnu/dist/postfix/src/util/sys_defs.h			patch
+gnu/dist/postfix/src/util/valid_hostname.c		patch
+gnu/dist/postfix/src/util/watchdog.c			patch
+
+	Update Postfix to version 2.5.12. This update fixes many bugs   
+	including the vulnerability reported in CVE-2011-0411.
+	[tron, ticket #1578]
+



CVS commit: [netbsd-5-1] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:20:04 UTC 2011

Modified Files:
src/doc [netbsd-5-1]: CHANGES-5.1.1

Log Message:
Ticket 1577.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/doc/CHANGES-5.1.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-5.1.1
diff -u src/doc/CHANGES-5.1.1:1.1.2.16 src/doc/CHANGES-5.1.1:1.1.2.17
--- src/doc/CHANGES-5.1.1:1.1.2.16	Sun Mar 20 21:33:56 2011
+++ src/doc/CHANGES-5.1.1	Thu Mar 24 20:20:04 2011
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.1.1,v 1.1.2.16 2011/03/20 21:33:56 bouyer Exp $
+# $NetBSD: CHANGES-5.1.1,v 1.1.2.17 2011/03/24 20:20:04 riz Exp $
 
 A complete list of changes from the NetBSD 5.1 release to the NetBSD 5.1.1
 release:
@@ -2301,3 +2301,48 @@
 	Reported by Maksymilian Arciemowicz
 	[spz, ticket #1574]
 
+external/ibm-public/postfix/dist/HISTORY			patch
+external/ibm-public/postfix/dist/RELEASE_NOTES			patch
+external/ibm-public/postfix/dist/makedefs			patch
+external/ibm-public/postfix/dist/conf/access			patch
+external/ibm-public/postfix/dist/html/access.5.html		patch
+external/ibm-public/postfix/dist/html/postconf.5.html		patch
+external/ibm-public/postfix/dist/man/man5/access.5		patch
+external/ibm-public/postfix/dist/man/man5/postconf.5		patch
+external/ibm-public/postfix/dist/mantools/postlink		patch
+external/ibm-public/postfix/dist/proto/access			patch
+external/ibm-public/postfix/dist/proto/postconf.proto		patch
+external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c	patch
+external/ibm-public/postfix/dist/src/dns/dns.h			patch
+external/ibm-public/postfix/dist/src/global/cleanup_user.h	patch
+external/ibm-public/postfix/dist/src/global/db_common.c		patch
+external/ibm-public/postfix/dist/src/global/dict_ldap.c		patch
+external/ibm-public/postfix/dist/src/global/mail_params.c	patch
+external/ibm-public/postfix/dist/src/global/mail_params.h	patch
+external/ibm-public/postfix/dist/src/global/mail_version.h	patch
+external/ibm-public/postfix/dist/src/global/pipe_command.c	patch
+external/ibm-public/postfix/dist/src/local/recipient.c		patch
+external/ibm-public/postfix/dist/src/master/master_sig.c	patch
+external/ibm-public/postfix/dist/src/milter/milter8.c		patch
+external/ibm-public/postfix/dist/src/pickup/pickup.c		patch
+external/ibm-public/postfix/dist/src/postmulti/postmulti.c	patch
+external/ibm-public/postfix/dist/src/smtp/smtp_proto.c		patch
+external/ibm-public/postfix/dist/src/smtpd/smtpd.c		patch
+external/ibm-public/postfix/dist/src/smtpd/smtpd_check.c	patch
+external/ibm-public/postfix/dist/src/smtpd/smtpd_proxy.c	patch
+external/ibm-public/postfix/dist/src/tls/Makefile.in		patch
+external/ibm-public/postfix/dist/src/tls/tls_certkey.c		patch
+external/ibm-public/postfix/dist/src/tls/tls_dh.c		patch
+external/ibm-public/postfix/dist/src/tls/tls_misc.c		patch
+external/ibm-public/postfix/dist/src/trivial-rewrite/resolve.c	patch
+external/ibm-public/postfix/dist/src/util/dict_db.c		patch
+external/ibm-public/postfix/dist/src/util/host_port.c		patch
+external/ibm-public/postfix/dist/src/util/make_dirs.c		patch
+external/ibm-public/postfix/dist/src/util/sys_defs.h		patch
+external/ibm-public/postfix/dist/src/util/valid_hostname.c	patch
+external/ibm-public/postfix/dist/src/util/watchdog.c		patch
+
+	Update Postfix to version 2.6.9. This update fixes many bugs
+including the vulnerability reported in CVE-2011-0411. 
+	[tron, ticket #1577]
+



CVS commit: src/tests

2011-03-24 Thread Julio Merino
Module Name:src
Committed By:   jmmv
Date:   Thu Mar 24 21:52:51 UTC 2011

Modified Files:
src/tests/fs/tmpfs: t_vnd.sh
src/tests/modules: t_modload.sh

Log Message:
Prevent failures from cleanup routines.  Do so by only attempting to do the
cleanup if the test case did not succeed (as, when it succeeds, the cleanup
has already happened).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/fs/tmpfs/t_vnd.sh
cvs rdiff -u -r1.8 -r1.9 src/tests/modules/t_modload.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/tmpfs/t_vnd.sh
diff -u src/tests/fs/tmpfs/t_vnd.sh:1.6 src/tests/fs/tmpfs/t_vnd.sh:1.7
--- src/tests/fs/tmpfs/t_vnd.sh:1.6	Sun Nov  7 17:51:18 2010
+++ src/tests/fs/tmpfs/t_vnd.sh	Thu Mar 24 21:52:51 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_vnd.sh,v 1.6 2010/11/07 17:51:18 jmmv Exp $
+# $NetBSD: t_vnd.sh,v 1.7 2011/03/24 21:52:51 jmmv Exp $
 #
 # Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -61,10 +61,13 @@
 	atf_check -s eq:0 -o empty -e empty vnconfig -u /dev/vnd3
 
 	test_unmount
+	touch done
 }
 basic_cleanup() {
-	umount mnt 2/dev/null 12
-	vnconfig -u /dev/vnd3 2/dev/null 12
+	if [ ! -f done ]; then
+		umount mnt 2/dev/null 12
+		vnconfig -u /dev/vnd3 2/dev/null 12
+	fi
 }
 
 atf_init_test_cases() {

Index: src/tests/modules/t_modload.sh
diff -u src/tests/modules/t_modload.sh:1.8 src/tests/modules/t_modload.sh:1.9
--- src/tests/modules/t_modload.sh:1.8	Sun Nov  7 17:51:20 2010
+++ src/tests/modules/t_modload.sh	Thu Mar 24 21:52:51 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_modload.sh,v 1.8 2010/11/07 17:51:20 jmmv Exp $
+# $NetBSD: t_modload.sh,v 1.9 2011/03/24 21:52:51 jmmv Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,9 +47,10 @@
 	check_sysctl vendor.k_helper.prop_int_ok 0
 	check_sysctl vendor.k_helper.prop_str_ok 0
 	atf_check -s eq:0 -o empty -e empty modunload k_helper
+	touch done
 }
 plain_cleanup() {
-	modunload k_helper /dev/null 21
+	test -f done || modunload k_helper /dev/null 21
 }
 
 atf_test_case bflag cleanup
@@ -89,7 +90,7 @@
 	#echo Checking valid values
 }
 bflag_cleanup() {
-	modunload k_helper /dev/null 21
+	modunload k_helper /dev/null 21 || true
 }
 
 atf_test_case iflag cleanup
@@ -130,9 +131,10 @@
 		check_sysctl vendor.k_helper.prop_int_val ${v}
 		atf_check -s eq:0 -o empty -e empty modunload k_helper
 	done
+	touch done
 }
 iflag_cleanup() {
-	modunload k_helper /dev/null 21
+	test -f done || modunload k_helper /dev/null 21
 }
 
 atf_test_case sflag cleanup
@@ -158,9 +160,10 @@
 		check_sysctl vendor.k_helper.prop_str_val ${v}
 		atf_check -s eq:0 -o empty -e empty modunload k_helper
 	done
+	touch done
 }
 sflag_cleanup() {
-	modunload k_helper /dev/null 21
+	test -f done || modunload k_helper /dev/null 21
 }
 
 atf_init_test_cases()



CVS commit: src/distrib/notes/common

2011-03-24 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Mar 25 00:03:27 UTC 2011

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Sync: no more chuck@ et al clause.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/common/legal.common
diff -u src/distrib/notes/common/legal.common:1.90 src/distrib/notes/common/legal.common:1.91
--- src/distrib/notes/common/legal.common:1.90	Sat Apr 24 20:56:19 2010
+++ src/distrib/notes/common/legal.common	Fri Mar 25 00:03:27 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: legal.common,v 1.90 2010/04/24 20:56:19 snj Exp $
+.\	$NetBSD: legal.common,v 1.91 2011/03/25 00:03:27 rmind Exp $
 .\
 .\ Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -125,22 +125,6 @@
 .It
 This product includes software developed by Causality Limited.
 .It
-This product includes software developed by Charles D. Cranor
-and Seth Widoff.
-.It
-This product includes software developed by Charles D. Cranor and
-Washington University.
-.It
-This product includes software developed by Charles D. Cranor,
-Washington University, and the University of California, Berkeley
-and its contributors.
-.It
-This product includes software developed by Charles D. Cranor,
-Washington University, the University of California, Berkeley and
-its contributors.
-.It
-This product includes software developed by Charles D. Cranor.
-.It
 This product includes software developed by Charles Hannum.
 .It
 This product includes software developed by Charles M. Hannum, by the



CVS commit: src/lib/libc/locale

2011-03-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Mar 25 00:45:24 UTC 2011

Modified Files:
src/lib/libc/locale: bsdctype.c bsdctype_file.h rune.c

Log Message:
Remove support for the old BSDCTYPE format.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/locale/bsdctype.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/locale/bsdctype_file.h
cvs rdiff -u -r1.41 -r1.42 src/lib/libc/locale/rune.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/locale/bsdctype.c
diff -u src/lib/libc/locale/bsdctype.c:1.9 src/lib/libc/locale/bsdctype.c:1.10
--- src/lib/libc/locale/bsdctype.c:1.9	Sun Jun 20 02:23:15 2010
+++ src/lib/libc/locale/bsdctype.c	Fri Mar 25 00:45:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bsdctype.c,v 1.9 2010/06/20 02:23:15 tnozaki Exp $ */
+/* $NetBSD: bsdctype.c,v 1.10 2011/03/25 00:45:24 joerg Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include sys/cdefs.h
 #if defined(LIBC_SCCS)  !defined(lint)
-__RCSID($NetBSD: bsdctype.c,v 1.9 2010/06/20 02:23:15 tnozaki Exp $);
+__RCSID($NetBSD: bsdctype.c,v 1.10 2011/03/25 00:45:24 joerg Exp $);
 #endif /* LIBC_SCCS and not lint */
 
 #include sys/endian.h
@@ -79,35 +79,6 @@
 }
 
 static __inline int
-_bsdctype_read_file(const char * __restrict var, size_t lenvar,
-_BSDCTypeLocalePriv * __restrict blp)
-{
-	const _FileBSDCTypeLocale *fbl;
-	uint32_t value;
-	int i;
-
-	_DIAGASSERT(blp != NULL);
-
-	if (lenvar  sizeof(*fbl))
-		return EFTYPE;
-	fbl = (const _FileBSDCTypeLocale *)(const void *)var;
-	if (memcmp(fbl-fbl_id[0], _CTYPE_ID, sizeof(fbl-fbl_id)))
-		return EFTYPE;
-	value = be32toh(fbl-fbl_rev);
-	if (value != _CTYPE_REV)
-		return EFTYPE;
-	value = be32toh(fbl-fbl_num_chars);
-	if (value != _CTYPE_CACHE_SIZE)
-		return EFTYPE;
-	for (i = 0; i  _CTYPE_CACHE_SIZE; ++i) {
-		blp-blp_ctype_tab  [i + 1] = fbl-fbl_ctype_tab[i];
-		blp-blp_tolower_tab[i + 1] = be16toh(fbl-fbl_tolower_tab[i]);
-		blp-blp_toupper_tab[i + 1] = be16toh(fbl-fbl_toupper_tab[i]);
-	}
-	return 0;
-}
-
-static __inline int
 _bsdctype_read_runetype(const char * __restrict var, size_t lenvar,
 _BSDCTypeLocalePriv * __restrict blp)
 {
@@ -161,9 +132,6 @@
 		return errno;
 	_bsdctype_init_priv(blp);
 	switch (*var) {
-	case 'B':
-		_bsdctype_read_file(var, lenvar, blp);
-		break;
 	case 'R':
 		_bsdctype_read_runetype(var, lenvar, blp);
 		break;

Index: src/lib/libc/locale/bsdctype_file.h
diff -u src/lib/libc/locale/bsdctype_file.h:1.1 src/lib/libc/locale/bsdctype_file.h:1.2
--- src/lib/libc/locale/bsdctype_file.h:1.1	Sun Jun 13 04:14:57 2010
+++ src/lib/libc/locale/bsdctype_file.h	Fri Mar 25 00:45:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bsdctype_file.h,v 1.1 2010/06/13 04:14:57 tnozaki Exp $ */
+/* $NetBSD: bsdctype_file.h,v 1.2 2011/03/25 00:45:24 joerg Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -40,7 +40,6 @@
 	int16_t			fbl_toupper_tab[_CTYPE_CACHE_SIZE];
 } __packed _FileBSDCTypeLocale;
 
-#define _CTYPE_ID		BSDCTYPE
 #define _CTYPE_REV		2
 
 #endif /*_BSDCTYPE_FILE_H_*/

Index: src/lib/libc/locale/rune.c
diff -u src/lib/libc/locale/rune.c:1.41 src/lib/libc/locale/rune.c:1.42
--- src/lib/libc/locale/rune.c:1.41	Tue Nov 30 15:25:05 2010
+++ src/lib/libc/locale/rune.c	Fri Mar 25 00:45:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: rune.c,v 1.41 2010/11/30 15:25:05 tnozaki Exp $ */
+/* $NetBSD: rune.c,v 1.42 2011/03/25 00:45:24 joerg Exp $ */
 
 /*-
  * Copyright (c)2010 Citrus Project,
@@ -280,52 +280,6 @@
 	return ret;
 }
 
-static __inline int
-_rune_read_bsdctype(const char * __restrict var, size_t lenvar,
-_RuneLocale ** __restrict prl)
-{
-	const _FileBSDCTypeLocale *fbl;
-	uint32_t value;
-	int i, bits;
-	uint16_t lower, upper;
-	_RuneLocalePriv *rlp;
-	_RuneLocale *rl;
-
-if (lenvar  sizeof(*fbl))
-		return EFTYPE;
-	fbl = (const _FileBSDCTypeLocale *)(const void *)var;
-	if (memcmp(fbl-fbl_id[0], _CTYPE_ID, sizeof(fbl-fbl_id)))
-		return EFTYPE;
-	value = be32toh(fbl-fbl_rev);
-	if (value != _CTYPE_REV)
-		return EFTYPE;
-	value = be32toh(fbl-fbl_num_chars);
-	if (value != _CTYPE_CACHE_SIZE)
-		return EFTYPE;
-	rlp = (_RuneLocalePriv *)malloc(sizeof(*rlp));
-	if (rlp == NULL)
-		return ENOMEM;
-	_rune_init_priv(rlp);
-	rlp-rlp_codeset[0] = '\0';
-
-	rl = rlp-rl;
-	for (i = 0; i  _CTYPE_CACHE_SIZE; ++i) {
-		bits  = fbl-fbl_ctype_tab[i];
-		lower = be16toh(fbl-fbl_tolower_tab[i]);
-		upper = be16toh(fbl-fbl_toupper_tab[i]);
-
-		rlp-rlp_ctype_tab  [i + 1] = (unsigned char)bits;
-		rlp-rlp_tolower_tab[i + 1] = (short)lower;
-		rlp-rlp_toupper_tab[i + 1] = (short)upper;
-
-		rl-rl_runetype[i] = _runetype_from_ctype(bits, i);
-		rl-rl_maplower[i] = (__nbrune_t)lower;
-		rl-rl_mapupper[i] = (__nbrune_t)upper;
-	}
-	*prl = rl;
-	return 0;
-}
-
 int
 _rune_load(const char * __restrict var, size_t lenvar,
 _RuneLocale ** __restrict prl)
@@ -341,9 +295,6 @@
 	case 'R':
 		ret = 

CVS commit: src/tests

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Mar 25 04:26:42 UTC 2011

Modified Files:
src/tests/include/sys: t_bitops.c
src/tests/lib/libm: t_floor.c

Log Message:
Even these naive test cases caught one (QEMU?) bug; comment PR # 44767.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/include/sys/t_bitops.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libm/t_floor.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/include/sys/t_bitops.c
diff -u src/tests/include/sys/t_bitops.c:1.3 src/tests/include/sys/t_bitops.c:1.4
--- src/tests/include/sys/t_bitops.c:1.3	Thu Mar 24 07:37:04 2011
+++ src/tests/include/sys/t_bitops.c	Fri Mar 25 04:26:42 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_bitops.c,v 1.3 2011/03/24 07:37:04 jruoho Exp $ */
+/*	$NetBSD: t_bitops.c,v 1.4 2011/03/25 04:26:42 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -155,6 +155,9 @@
 ATF_TC(ilog2_2);
 ATF_TC_HEAD(ilog2_2, tc)
 {
+	/*
+	 * This may fail under QEMU; see PR misc/44767.
+	 */
 	atf_tc_set_md_var(tc, descr, Test log2(3) vs. ilog2(3));
 }
 

Index: src/tests/lib/libm/t_floor.c
diff -u src/tests/lib/libm/t_floor.c:1.1 src/tests/lib/libm/t_floor.c:1.2
--- src/tests/lib/libm/t_floor.c:1.1	Thu Mar 24 15:43:06 2011
+++ src/tests/lib/libm/t_floor.c	Fri Mar 25 04:26:41 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_floor.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $ */
+/* $NetBSD: t_floor.c,v 1.2 2011/03/25 04:26:41 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include sys/cdefs.h
-__RCSID($NetBSD: t_floor.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $);
+__RCSID($NetBSD: t_floor.c,v 1.2 2011/03/25 04:26:41 jruoho Exp $);
 
 #include math.h
 #include limits.h
@@ -41,6 +41,9 @@
 ATF_TC(floor);
 ATF_TC_HEAD(floor, tc)
 {
+	/*
+	 * This may fail under QEMU; see PR misc/44767.
+	 */
 	atf_tc_set_md_var(tc, descr, A basic test of floor(3));
 }
 



CVS commit: src/tests/include/sys

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 07:06:35 UTC 2011

Modified Files:
src/tests/include/sys: t_bitops.c

Log Message:
Add some naive test cases for the ffs32(3) family of functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/include/sys/t_bitops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2011-03-24 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Mar 24 07:28:29 UTC 2011

Modified Files:
src/sys/sys: cdefs_elf.h

Log Message:
use a comma in attribute list; from from gcc.info (5.25 Attribute Syntax):

  An attribute specifier is of the form `__attribute__
  ((ATTRIBUTE-LIST))'.  An attribute list is a possibly empty
  comma-separated sequence of attributes, where each attribute is
  [...]


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/sys/cdefs_elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/include/sys

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 07:37:05 UTC 2011

Modified Files:
src/tests/include/sys: t_bitops.c

Log Message:
Add also a basic, naive, test for fast_divide32(3).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/include/sys/t_bitops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/acpi

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 11:52:53 UTC 2011

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Reset APERF and MPERF only after interrupts have been enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 12:40:59 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libpthread: Makefile
Added Files:
src/tests/lib/libpthread: t_equal.c

Log Message:
A dummy conformance-test of pthread_equal(3).


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libpthread/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread/t_equal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/dist/gcc4/gcc

2011-03-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Mar 24 13:31:31 UTC 2011

Modified Files:
src/gnu/dist/gcc4/gcc: Makefile.in

Log Message:
Don't install stddef.h and friends, they don't work as intended without
patching. Since our own versions are fine, don't bother.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/gnu/dist/gcc4/gcc/Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools

2011-03-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Mar 24 13:33:42 UTC 2011

Modified Files:
src/tools/binutils: Makefile
src/tools/gcc: Makefile

Log Message:
Enable support for --sysroot in binutils and gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/tools/binutils/Makefile
cvs rdiff -u -r1.34 -r1.35 src/tools/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 13:52:05 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libpthread: Makefile
Added Files:
src/tests/lib/libpthread: t_detach.c

Log Message:
A dummy conformance-test for pthread_detach(3). I will extend this later.


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libpthread/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread/t_detach.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/include

2011-03-24 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Mar 24 14:58:33 UTC 2011

Modified Files:
src/sys/arch/x68k/include: bus.h

Log Message:
- make X68K_BUS_PERFORMANCE_HACK part default
- use volatile rather than dummy __asm() statements to avoid optimization

Tested on X68030.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x68k/include/bus.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/include

2011-03-24 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Mar 24 15:05:55 UTC 2011

Modified Files:
src/sys/arch/x68k/include: bus.h

Log Message:
Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/include/bus.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 16:56:38 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/gen: Makefile
Added Files:
src/tests/lib/libc/gen: t_raise.c

Log Message:
Add a naive test case for raise(3).


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/gen/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/gen/t_raise.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/gen

2011-03-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Mar 24 16:58:01 UTC 2011

Modified Files:
src/tests/lib/libc/gen: Makefile

Log Message:
Sort.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/gen/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2011-03-24 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Thu Mar 24 17:00:31 UTC 2011

Modified Files:
src/share/misc: acronyms.comp

Log Message:
+SCADA (supervisory control and data acquisition)


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-03-24 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Mar 24 17:05:48 UTC 2011

Modified Files:
src/common/include/prop: prop_array.h prop_dictionary.h
src/common/lib/libprop: prop_array_util.3 prop_array_util.c
prop_dictionary_util.3 prop_dictionary_util.c
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/etc/mtree: NetBSD.dist.base
src/include: Makefile
src/lib: Makefile
src/libexec/rpc.rquotad: Makefile rquotad.c
src/share/mk: bsd.README bsd.hostprog.mk
src/sys/compat/common: vfs_syscalls_50.c
src/sys/lib/libkern: Makefile.libkern
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs
src/sys/sys: quota.h
src/sys/ufs: files.ufs
src/sys/ufs/ufs: quota.h quota1.h quota1_subr.c quota2.h quota2_subr.c
ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c
src/usr.bin/quota: Makefile getvfsquota.c getvfsquota.h printquota.c
printquota.h quota.c quotautil.c quotautil.h
src/usr.sbin/edquota: Makefile edquota.c
src/usr.sbin/quotactl: quotactl.c
src/usr.sbin/quotaon: Makefile quotaon.c
src/usr.sbin/repquota: Makefile repquota.c
Added Files:
src/common/include/quota: Makefile quota.h quotaprop.h
src/common/lib/libquota: Makefile.inc quotaprop.c quotasubr.c
src/lib/libquota: Makefile getfsquota.c getnfsquota.c getufsquota.c
shlib_version
Removed Files:
src/sys/ufs/ufs: quota2_prop.c quota2_prop.h

Log Message:
Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quickdirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/common/include/prop/prop_array.h
cvs rdiff -u -r1.12 -r1.13 src/common/include/prop/prop_dictionary.h
cvs rdiff -u -r0 -r1.1 src/common/include/quota/Makefile \
src/common/include/quota/quota.h src/common/include/quota/quotaprop.h
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libprop/prop_array_util.3 \
src/common/lib/libprop/prop_dictionary_util.3
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libprop/prop_array_util.c
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libprop/prop_dictionary_util.c
cvs rdiff -u -r0 -r1.1 src/common/lib/libquota/Makefile.inc \
src/common/lib/libquota/quotaprop.c src/common/lib/libquota/quotasubr.c
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.117 -r1.118 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.110 -r1.111 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.926 -r1.927 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.578 -r1.579 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.25 -r1.26 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.103 -r1.104 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1602 -r1.1603 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.163 -r1.164 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.78 -r1.79 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.133 -r1.134 src/include/Makefile
cvs rdiff -u -r1.164 -r1.165 src/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/libquota/Makefile \
src/lib/libquota/getfsquota.c src/lib/libquota/getnfsquota.c \
src/lib/libquota/getufsquota.c src/lib/libquota/shlib_version
cvs rdiff -u -r1.7 -r1.8 src/libexec/rpc.rquotad/Makefile
cvs rdiff -u -r1.26 -r1.27 src/libexec/rpc.rquotad/rquotad.c
cvs rdiff -u -r1.279 -r1.280 src/share/mk/bsd.README
cvs rdiff -u -r1.61 -r1.62 src/share/mk/bsd.hostprog.mk
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/common/vfs_syscalls_50.c
cvs rdiff -u -r1.12 -r1.13 src/sys/lib/libkern/Makefile.libkern
cvs rdiff -u -r1.29 -r1.30 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/quota.h
cvs rdiff 

CVS commit: [netbsd-5] src/external/ibm-public/postfix/dist

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 19:54:09 UTC 2011

Modified Files:
src/external/ibm-public/postfix/dist [netbsd-5]: HISTORY makedefs
src/external/ibm-public/postfix/dist/src/cleanup [netbsd-5]:
cleanup_map1n.c
src/external/ibm-public/postfix/dist/src/global [netbsd-5]:
mail_version.h
src/external/ibm-public/postfix/dist/src/local [netbsd-5]: recipient.c
src/external/ibm-public/postfix/dist/src/master [netbsd-5]:
master_sig.c
src/external/ibm-public/postfix/dist/src/smtp [netbsd-5]: smtp_proto.c
src/external/ibm-public/postfix/dist/src/smtpd [netbsd-5]: smtpd.c
src/external/ibm-public/postfix/dist/src/util [netbsd-5]: host_port.c
make_dirs.c sys_defs.h watchdog.c

Log Message:
Apply patches (requested by tron in ticket #1576):
Update postfix to version 2.7.3:
- Fix for CVE-2011-0411: discard buffered plaintext input, after
  reading the SMTP STARTTLS command or response.
- Fix to the local delivery agent: look up the unextended address
  in the local aliases database, when that address has a malformed
  address extension.
- Fix to virtual alias expansion: report a tempfail error, instead of
  silently ignoring recipients that exceed the
  virtual_alias_expansion_limit or the virtual_alias_recursion_limit.
- Fix for BSD-ish mkdir() to prevent maildir directories from
  inheriting their group ownership from the parent directory.
- Fix to the SMTP client: missing support for mail to [ipv6:ipv6addr]
  address literal destinations.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.2.4 -r1.1.1.2.2.5 \
src/external/ibm-public/postfix/dist/HISTORY
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/makedefs
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c
cvs rdiff -u -r1.1.1.2.2.4 -r1.1.1.2.2.5 \
src/external/ibm-public/postfix/dist/src/global/mail_version.h
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/local/recipient.c
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/master/master_sig.c
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/smtp/smtp_proto.c
cvs rdiff -u -r1.2.2.4 -r1.2.2.5 \
src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/ibm-public/postfix/dist/src/util/host_port.c \
src/external/ibm-public/postfix/dist/src/util/make_dirs.c \
src/external/ibm-public/postfix/dist/src/util/watchdog.c
cvs rdiff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 \
src/external/ibm-public/postfix/dist/src/util/sys_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 19:55:41 UTC 2011

Modified Files:
src/doc [netbsd-5]: CHANGES-5.2

Log Message:
Ticket 1576.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.67 -r1.1.2.68 src/doc/CHANGES-5.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-0] src/gnu/dist/postfix

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:02:47 UTC 2011

Modified Files:
src/gnu/dist/postfix [netbsd-5-0]: HISTORY RELEASE_NOTES makedefs
src/gnu/dist/postfix/conf [netbsd-5-0]: postfix-files transport
src/gnu/dist/postfix/html [netbsd-5-0]: oqmgr.8.html pcre_table.5.html
pickup.8.html postconf.5.html qmgr.8.html transport.5.html
src/gnu/dist/postfix/man/man5 [netbsd-5-0]: pcre_table.5 postconf.5
transport.5
src/gnu/dist/postfix/man/man8 [netbsd-5-0]: oqmgr.8 pickup.8 qmgr.8
src/gnu/dist/postfix/mantools [netbsd-5-0]: postlink
src/gnu/dist/postfix/proto [netbsd-5-0]: pcre_table postconf.proto
transport
src/gnu/dist/postfix/src/cleanup [netbsd-5-0]: cleanup_map1n.c
src/gnu/dist/postfix/src/global [netbsd-5-0]: cleanup_user.h
db_common.c mail_params.h mail_version.h pipe_command.c
src/gnu/dist/postfix/src/local [netbsd-5-0]: recipient.c
src/gnu/dist/postfix/src/master [netbsd-5-0]: master_sig.c
src/gnu/dist/postfix/src/milter [netbsd-5-0]: milter8.c
src/gnu/dist/postfix/src/oqmgr [netbsd-5-0]: qmgr.c qmgr_transport.c
src/gnu/dist/postfix/src/pickup [netbsd-5-0]: pickup.c
src/gnu/dist/postfix/src/postdrop [netbsd-5-0]: postdrop.c
src/gnu/dist/postfix/src/postsuper [netbsd-5-0]: postsuper.c
src/gnu/dist/postfix/src/qmgr [netbsd-5-0]: qmgr.c qmgr.h qmgr_entry.c
qmgr_job.c qmgr_queue.c qmgr_transport.c
src/gnu/dist/postfix/src/smtp [netbsd-5-0]: smtp_proto.c smtp_reuse.c
src/gnu/dist/postfix/src/smtpd [netbsd-5-0]: smtpd.c smtpd_check.c
smtpd_proxy.c
src/gnu/dist/postfix/src/tls [netbsd-5-0]: Makefile.in tls_certkey.c
tls_misc.c
src/gnu/dist/postfix/src/trivial-rewrite [netbsd-5-0]: resolve.c
src/gnu/dist/postfix/src/util [netbsd-5-0]: events.c host_port.c
make_dirs.c sys_defs.h valid_hostname.c watchdog.c

Log Message:
Apply patch (requested by tron in ticket #1578):

Update Postfix to version 2.5.12. This update fixes many bugs
including the vulnerability reported in CVE-2011-0411.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.36 -r1.1.1.36.8.1 src/gnu/dist/postfix/HISTORY
cvs rdiff -u -r1.3 -r1.3.8.1 src/gnu/dist/postfix/RELEASE_NOTES
cvs rdiff -u -r1.18 -r1.18.8.1 src/gnu/dist/postfix/makedefs
cvs rdiff -u -r1.11 -r1.11.8.1 src/gnu/dist/postfix/conf/postfix-files
cvs rdiff -u -r1.1.1.12 -r1.1.1.12.8.1 src/gnu/dist/postfix/conf/transport
cvs rdiff -u -r1.1.1.5 -r1.1.1.5.8.1 src/gnu/dist/postfix/html/oqmgr.8.html
cvs rdiff -u -r1.1.1.9 -r1.1.1.9.22.1 \
src/gnu/dist/postfix/html/pcre_table.5.html
cvs rdiff -u -r1.1.1.10 -r1.1.1.10.22.1 \
src/gnu/dist/postfix/html/pickup.8.html
cvs rdiff -u -r1.3 -r1.3.8.1 src/gnu/dist/postfix/html/postconf.5.html
cvs rdiff -u -r1.1.1.11 -r1.1.1.11.8.1 src/gnu/dist/postfix/html/qmgr.8.html
cvs rdiff -u -r1.1.1.12 -r1.1.1.12.8.1 \
src/gnu/dist/postfix/html/transport.5.html
cvs rdiff -u -r1.1.1.11 -r1.1.1.11.8.1 \
src/gnu/dist/postfix/man/man5/pcre_table.5
cvs rdiff -u -r1.16 -r1.16.8.1 src/gnu/dist/postfix/man/man5/postconf.5
cvs rdiff -u -r1.1.1.14 -r1.1.1.14.8.1 \
src/gnu/dist/postfix/man/man5/transport.5
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.8.1 src/gnu/dist/postfix/man/man8/oqmgr.8
cvs rdiff -u -r1.1.1.10 -r1.1.1.10.8.1 src/gnu/dist/postfix/man/man8/pickup.8
cvs rdiff -u -r1.1.1.11 -r1.1.1.11.8.1 src/gnu/dist/postfix/man/man8/qmgr.8
cvs rdiff -u -r1.1.1.14 -r1.1.1.14.8.1 src/gnu/dist/postfix/mantools/postlink
cvs rdiff -u -r1.1.1.9 -r1.1.1.9.22.1 src/gnu/dist/postfix/proto/pcre_table
cvs rdiff -u -r1.3 -r1.3.8.1 src/gnu/dist/postfix/proto/postconf.proto
cvs rdiff -u -r1.1.1.11 -r1.1.1.11.8.1 src/gnu/dist/postfix/proto/transport
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.8.1 \
src/gnu/dist/postfix/src/cleanup/cleanup_map1n.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.8.1 \
src/gnu/dist/postfix/src/global/cleanup_user.h
cvs rdiff -u -r1.1.1.4 -r1.1.1.4.8.1 \
src/gnu/dist/postfix/src/global/db_common.c
cvs rdiff -u -r1.18 -r1.18.8.1 src/gnu/dist/postfix/src/global/mail_params.h
cvs rdiff -u -r1.1.1.32 -r1.1.1.32.8.1 \
src/gnu/dist/postfix/src/global/mail_version.h
cvs rdiff -u -r1.1.1.14 -r1.1.1.14.8.1 \
src/gnu/dist/postfix/src/global/pipe_command.c
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.8.1 \
src/gnu/dist/postfix/src/local/recipient.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.8.1 \
src/gnu/dist/postfix/src/master/master_sig.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.8.1 \
src/gnu/dist/postfix/src/milter/milter8.c
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.8.1 src/gnu/dist/postfix/src/oqmgr/qmgr.c
cvs rdiff -u -r1.1.1.6 -r1.1.1.6.8.1 \
src/gnu/dist/postfix/src/oqmgr/qmgr_transport.c
cvs rdiff -u -r1.1.1.16 -r1.1.1.16.8.1 \
src/gnu/dist/postfix/src/pickup/pickup.c
cvs rdiff -u -r1.1.1.12 -r1.1.1.12.8.1 \
src/gnu/dist/postfix/src/postdrop/postdrop.c

CVS commit: [netbsd-5-0] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:11:25 UTC 2011

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.3

Log Message:
Ticket 1578.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/doc/CHANGES-5.0.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-5-1] src/external/ibm-public/postfix/dist

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:17:24 UTC 2011

Modified Files:
src/external/ibm-public/postfix/dist [netbsd-5-1]: HISTORY
RELEASE_NOTES makedefs
src/external/ibm-public/postfix/dist/conf [netbsd-5-1]: access
src/external/ibm-public/postfix/dist/html [netbsd-5-1]: access.5.html
postconf.5.html
src/external/ibm-public/postfix/dist/man/man5 [netbsd-5-1]: access.5
postconf.5
src/external/ibm-public/postfix/dist/mantools [netbsd-5-1]: postlink
src/external/ibm-public/postfix/dist/proto [netbsd-5-1]: access
postconf.proto
src/external/ibm-public/postfix/dist/src/cleanup [netbsd-5-1]:
cleanup_map1n.c
src/external/ibm-public/postfix/dist/src/dns [netbsd-5-1]: dns.h
src/external/ibm-public/postfix/dist/src/global [netbsd-5-1]:
cleanup_user.h db_common.c dict_ldap.c mail_params.c mail_params.h
mail_version.h pipe_command.c
src/external/ibm-public/postfix/dist/src/local [netbsd-5-1]:
recipient.c
src/external/ibm-public/postfix/dist/src/master [netbsd-5-1]:
master_sig.c
src/external/ibm-public/postfix/dist/src/milter [netbsd-5-1]: milter8.c
src/external/ibm-public/postfix/dist/src/pickup [netbsd-5-1]: pickup.c
src/external/ibm-public/postfix/dist/src/postmulti [netbsd-5-1]:
postmulti.c
src/external/ibm-public/postfix/dist/src/smtp [netbsd-5-1]:
smtp_proto.c
src/external/ibm-public/postfix/dist/src/smtpd [netbsd-5-1]: smtpd.c
smtpd_check.c smtpd_proxy.c
src/external/ibm-public/postfix/dist/src/tls [netbsd-5-1]: Makefile.in
tls_certkey.c tls_dh.c tls_misc.c
src/external/ibm-public/postfix/dist/src/trivial-rewrite [netbsd-5-1]:
resolve.c
src/external/ibm-public/postfix/dist/src/util [netbsd-5-1]: dict_db.c
host_port.c make_dirs.c sys_defs.h valid_hostname.c watchdog.c

Log Message:
Apply patch (requested by tron in ticket #1577):

Update Postfix to version 2.6.9. This update fixes many bugs
including the vulnerability reported in CVE-2011-0411.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.2.2 -r1.1.1.2.2.2.2.1 \
src/external/ibm-public/postfix/dist/HISTORY
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/RELEASE_NOTES \
src/external/ibm-public/postfix/dist/makedefs
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/conf/access
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/html/access.5.html
cvs rdiff -u -r1.3.2.2 -r1.3.2.2.2.1 \
src/external/ibm-public/postfix/dist/html/postconf.5.html
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/man/man5/access.5
cvs rdiff -u -r1.3.2.2 -r1.3.2.2.2.1 \
src/external/ibm-public/postfix/dist/man/man5/postconf.5
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/mantools/postlink
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/proto/access
cvs rdiff -u -r1.3.2.2 -r1.3.2.2.2.1 \
src/external/ibm-public/postfix/dist/proto/postconf.proto
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/dns/dns.h
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/global/cleanup_user.h \
src/external/ibm-public/postfix/dist/src/global/db_common.c \
src/external/ibm-public/postfix/dist/src/global/dict_ldap.c \
src/external/ibm-public/postfix/dist/src/global/mail_params.c \
src/external/ibm-public/postfix/dist/src/global/pipe_command.c
cvs rdiff -u -r1.2.2.2 -r1.2.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/global/mail_params.h
cvs rdiff -u -r1.1.1.2.2.2 -r1.1.1.2.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/global/mail_version.h
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/local/recipient.c
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/master/master_sig.c
cvs rdiff -u -r1.1.1.2.2.2 -r1.1.1.2.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/milter/milter8.c
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/pickup/pickup.c
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/postmulti/postmulti.c
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/smtp/smtp_proto.c
cvs rdiff -u -r1.2.2.2 -r1.2.2.2.2.1 \
src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c
cvs rdiff -u -r1.1.1.2.2.2 -r1.1.1.2.2.2.2.1 \

CVS commit: [netbsd-5-1] src/doc

2011-03-24 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Mar 24 20:20:04 UTC 2011

Modified Files:
src/doc [netbsd-5-1]: CHANGES-5.1.1

Log Message:
Ticket 1577.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/doc/CHANGES-5.1.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2011-03-24 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Mar 25 00:03:27 UTC 2011

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Sync: no more chuck@ et al clause.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.