CVS commit: src/lib

2024-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 20:25:09 UTC 2024

Modified Files:
src/lib: Makefile

Log Message:
skip sanitizers if MKSANITIZER "no".


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 src/lib/Makefile

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



CVS commit: src/lib

2024-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 25 20:25:09 UTC 2024

Modified Files:
src/lib: Makefile

Log Message:
skip sanitizers if MKSANITIZER "no".


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 src/lib/Makefile

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

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.297 src/lib/Makefile:1.298
--- src/lib/Makefile:1.297	Wed Sep  6 23:44:43 2023
+++ src/lib/Makefile	Sun Feb 25 20:25:09 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.297 2023/09/06 23:44:43 riastradh Exp $
+#	$NetBSD: Makefile,v 1.298 2024/02/25 20:25:09 mrg Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include 
@@ -193,7 +193,7 @@ SUBDIR+=	.WAIT
 
 SUBDIR+=	libwrap
 
-.if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no")
+.if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no" && ${MKSANITIZER:Uno} == "yes")
 .for sanitizer in asan lsan ubsan
 .if exists(../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer})
 SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer}



CVS commit: src/lib/libm/src

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 19:26:34 UTC 2024

Modified Files:
src/lib/libm/src: s_fabsl.c

Log Message:
fabsl is defined in libc...


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libm/src/s_fabsl.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/libm/src/s_fabsl.c
diff -u src/lib/libm/src/s_fabsl.c:1.5 src/lib/libm/src/s_fabsl.c:1.6
--- src/lib/libm/src/s_fabsl.c:1.5	Sat Feb 24 10:16:53 2024
+++ src/lib/libm/src/s_fabsl.c	Sun Feb 25 14:26:33 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: s_fabsl.c,v 1.5 2024/02/24 15:16:53 christos Exp $	*/
+/*	$NetBSD: s_fabsl.c,v 1.6 2024/02/25 19:26:33 christos Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__RCSID("$NetBSD: s_fabsl.c,v 1.5 2024/02/24 15:16:53 christos Exp $");
+__RCSID("$NetBSD: s_fabsl.c,v 1.6 2024/02/25 19:26:33 christos Exp $");
 
 #include 
 #include 
@@ -47,9 +47,12 @@ fabsl(long double x)
 	return (ux.extu_ld);
 }
 #else
+#if 0
+/* defined in libc */
 long double
 fabsl(long double x)
 {
 	return fabs(x);
 }
 #endif
+#endif



CVS commit: src/lib/libm/src

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 19:26:34 UTC 2024

Modified Files:
src/lib/libm/src: s_fabsl.c

Log Message:
fabsl is defined in libc...


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libm/src/s_fabsl.c

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



CVS commit: src/external/mpl/bind

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 18:50:43 UTC 2024

Modified Files:
src/external/mpl/bind: Makefile.inc

Log Message:
libexecinfo needs libelf.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/mpl/bind/Makefile.inc

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



CVS commit: src/external/mpl/bind

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 18:50:43 UTC 2024

Modified Files:
src/external/mpl/bind: Makefile.inc

Log Message:
libexecinfo needs libelf.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/mpl/bind/Makefile.inc

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

Modified files:

Index: src/external/mpl/bind/Makefile.inc
diff -u src/external/mpl/bind/Makefile.inc:1.13 src/external/mpl/bind/Makefile.inc:1.14
--- src/external/mpl/bind/Makefile.inc:1.13	Wed Feb 21 17:50:55 2024
+++ src/external/mpl/bind/Makefile.inc	Sun Feb 25 13:50:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.13 2024/02/21 22:50:55 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.14 2024/02/25 18:50:43 christos Exp $
 
 .if !defined(BIND9_MAKEFILE_INC)
 BIND9_MAKEFILE_INC=yes
@@ -55,13 +55,13 @@ DBG=-g3 -gstabs
 LDADD+=		-lbind9_g -lisccfg_g -ldns_g -lns_g -lirs_g
 LDADD+=		-lisccc_g -lisc_g
 LDADD+=		-L${LIBUVOBJDIR} -luv_g
-LDADD+=		-lexecinfo_g -lkvm_g -lz_g
+LDADD+=		-lexecinfo_g -lelf_g -lkvm_g -lz_g
 .else
 LDADD+=		-lbind9 -lisccfg -ldns -lns -lirs
 DPADD+=		${LIBBIND9} ${LIBISCCFG} ${LIBDNS} ${LIBNS} ${LIBIRS}
 LDADD+=		-lisccc -lisc 
 LDADD+=		-L${LIBUVOBJDIR} -luv
-LDADD+=		-lexecinfo -lkvm -lz
+LDADD+=		-lexecinfo -lelf -lkvm -lz
 DPADD+=		${LIBISCCC} ${LIBISC}
 DPADD+=		${LIBUVOBJDIR}/libuv.a
 DPADD+=		${LIBEXECINFO} ${LIBKVM} ${LIBZ}



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

2024-02-25 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Feb 25 18:27:54 UTC 2024

Modified Files:
src/sys/arch/x86/x86: lapic.c

Log Message:
s/asynchronious/asynchronous/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/x86/x86/lapic.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/x86/lapic.c
diff -u src/sys/arch/x86/x86/lapic.c:1.89 src/sys/arch/x86/x86/lapic.c:1.90
--- src/sys/arch/x86/x86/lapic.c:1.89	Wed Sep  7 00:40:19 2022
+++ src/sys/arch/x86/x86/lapic.c	Sun Feb 25 18:27:54 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: lapic.c,v 1.89 2022/09/07 00:40:19 knakahara Exp $	*/
+/*	$NetBSD: lapic.c,v 1.90 2024/02/25 18:27:54 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2000, 2008, 2020 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.89 2022/09/07 00:40:19 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.90 2024/02/25 18:27:54 andvar Exp $");
 
 #include "acpica.h"
 #include "ioapic.h"
@@ -534,7 +534,7 @@ lapic_get_timecount(struct timecounter *
 	 *
 	 * If the current tick is almost the Initial Counter, explicitly
 	 * check for the pending interrupt bit as the interrupt delivery
-	 * could be asynchronious and compensate as well.
+	 * could be asynchronous and compensate as well.
 	 *
 	 * This can't be done without splhigh() as the calling code might
 	 * have masked the clockinterrupt already.



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

2024-02-25 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Feb 25 18:27:54 UTC 2024

Modified Files:
src/sys/arch/x86/x86: lapic.c

Log Message:
s/asynchronious/asynchronous/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/x86/x86/lapic.c

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



CVS commit: [netbsd-10] src/distrib/sets/lists/debug

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 17:19:16 UTC 2024

Modified Files:
src/distrib/sets/lists/debug [netbsd-10]: shl.mi

Log Message:
Fix entry for libbind9 (misapplied patch from ticket #610)


To generate a diff of this commit:
cvs rdiff -u -r1.298.2.16 -r1.298.2.17 src/distrib/sets/lists/debug/shl.mi

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/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.298.2.16 src/distrib/sets/lists/debug/shl.mi:1.298.2.17
--- src/distrib/sets/lists/debug/shl.mi:1.298.2.16	Sun Feb 25 15:47:59 2024
+++ src/distrib/sets/lists/debug/shl.mi	Sun Feb 25 17:19:15 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.298.2.16 2024/02/25 15:47:59 martin Exp $
+# $NetBSD: shl.mi,v 1.298.2.17 2024/02/25 17:19:15 martin Exp $
 ./usr/lib/libbfd_g.a		comp-c-debuglib	debuglib,compatfile,binutils
 ./usr/lib/libgcc_eh_g.acomp-c-debuglib		debuglib,compatfile,gcc
 ./usr/lib/libgcc_s_g.acomp-c-debuglib		debuglib,compatfile,gcc
@@ -76,7 +76,7 @@
 ./usr/libdata/debug/usr/lib/libavl.so.0.0.debug			comp-zfs-debug	debug,compatfile,zfs
 ./usr/libdata/debug/usr/lib/libbfd.so.16.0.debug		comp-sys-debug	debug,compatfile,binutils=231
 ./usr/libdata/debug/usr/lib/libbfd.so.17.0.debug		comp-sys-debug	debug,compatfile,binutils=234
-./usr/libdata/debug/usr/lib/libbind9.so.20.0.debug		comp-bind-debug	debug,compatfile
+./usr/libdata/debug/usr/lib/libbind9.so.21.0.debug		comp-bind-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libblocklist.so.0.0.debug		comp-sys-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libbluetooth.so.4.2.debug		comp-sys-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libbozohttpd.so.1.0.debug		comp-sys-debug	debug,compatfile



CVS commit: [netbsd-10] src/distrib/sets/lists/debug

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 17:19:16 UTC 2024

Modified Files:
src/distrib/sets/lists/debug [netbsd-10]: shl.mi

Log Message:
Fix entry for libbind9 (misapplied patch from ticket #610)


To generate a diff of this commit:
cvs rdiff -u -r1.298.2.16 -r1.298.2.17 src/distrib/sets/lists/debug/shl.mi

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



CVS commit: [netbsd-10] src/doc

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 16:52:06 UTC 2024

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ammend ticket #610 for additional pullups


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.203 -r1.1.2.204 src/doc/CHANGES-10.0

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-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.203 src/doc/CHANGES-10.0:1.1.2.204
--- src/doc/CHANGES-10.0:1.1.2.203	Sun Feb 25 15:54:33 2024
+++ src/doc/CHANGES-10.0	Sun Feb 25 16:52:06 2024
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.203 2024/02/25 15:54:33 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.204 2024/02/25 16:52:06 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -21239,7 +21239,7 @@ external/mpl/bind/lib/libisccfg/Makefile
 external/mpl/bind/lib/libisccfg/shlib_version   up to 1.13
 external/mpl/bind/lib/libns/Makefileup to 1.6
 external/mpl/bind/lib/libns/shlib_version   up to 1.13
-
+share/mk/bsd.sys.mk1.316
 	
 	named(8): update to bind 9.18.24, which fixes several
 	CVE and is a long term supported version.



CVS commit: [netbsd-10] src/doc

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 16:52:06 UTC 2024

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ammend ticket #610 for additional pullups


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.203 -r1.1.2.204 src/doc/CHANGES-10.0

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



CVS commit: [netbsd-10] src/share/mk

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 16:51:13 UTC 2024

Modified Files:
src/share/mk [netbsd-10]: bsd.sys.mk

Log Message:
Additionally pull up the following to fix the build for ticket #610:

share/mk/bsd.sys.mk 1.316

Allow overriding the language standard to something newer.


To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.309.2.1 src/share/mk/bsd.sys.mk

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

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.309 src/share/mk/bsd.sys.mk:1.309.2.1
--- src/share/mk/bsd.sys.mk:1.309	Tue Dec 14 16:22:07 2021
+++ src/share/mk/bsd.sys.mk	Sun Feb 25 16:51:13 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.309 2021/12/14 16:22:07 christos Exp $
+#	$NetBSD: bsd.sys.mk,v 1.309.2.1 2024/02/25 16:51:13 martin Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -53,7 +53,7 @@ CXXFLAGS+=	${REPROFLAGS}
 
 # NetBSD sources use C99 style, with some GCC extensions.
 # Coverity does not like -std=gnu99
-.if !defined(COVERITY_TOP_CONFIG)
+.if !defined(COVERITY_TOP_CONFIG) && empty(CFLAGS:M*-std=*)
 CFLAGS+=	${${ACTIVE_CC} == "clang":? -std=gnu99 :}
 CFLAGS+=	${${ACTIVE_CC} == "gcc":? -std=gnu99 :}
 CFLAGS+=	${${ACTIVE_CC} == "pcc":? -std=gnu99 :}



CVS commit: [netbsd-10] src/share/mk

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 16:51:13 UTC 2024

Modified Files:
src/share/mk [netbsd-10]: bsd.sys.mk

Log Message:
Additionally pull up the following to fix the build for ticket #610:

share/mk/bsd.sys.mk 1.316

Allow overriding the language standard to something newer.


To generate a diff of this commit:
cvs rdiff -u -r1.309 -r1.309.2.1 src/share/mk/bsd.sys.mk

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



CVS commit: src/distrib/hppa/cdroms

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 16:49:32 UTC 2024

Modified Files:
src/distrib/hppa/cdroms: Makefile.cdrom

Log Message:
one more timestamp fix I forgot to commit


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/hppa/cdroms/Makefile.cdrom

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

Modified files:

Index: src/distrib/hppa/cdroms/Makefile.cdrom
diff -u src/distrib/hppa/cdroms/Makefile.cdrom:1.1 src/distrib/hppa/cdroms/Makefile.cdrom:1.2
--- src/distrib/hppa/cdroms/Makefile.cdrom:1.1	Mon Feb 24 02:23:38 2014
+++ src/distrib/hppa/cdroms/Makefile.cdrom	Sun Feb 25 11:49:32 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.cdrom,v 1.1 2014/02/24 07:23:38 skrll Exp $
+#	$NetBSD: Makefile.cdrom,v 1.2 2024/02/25 16:49:32 christos Exp $
 
 BOOTFILE=		cdboot.lif
 
@@ -6,6 +6,10 @@ CDMAKEFSOPTIONS=	generic-bootimage=cdrom
 CDINSTKERNEL=		../../kernel
 CDKERNELS=		netbsd-RAMDISK	netbsd	# from ../instkernel
 
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKBOOT_TIMESTAMP=-t "${MKREPRO_TIMESTAMP}"
+.endif
+
 prepare_md_post:
 	${RM} -f cdrom/${BOOTFILE}
-	${TOOL_HPPAMKBOOT} ${DESTDIR}/usr/mdec/cdboot cdrom/${BOOTFILE}
+	${TOOL_HPPAMKBOOT} ${MKBOOT_TIMESTAMP} ${DESTDIR}/usr/mdec/cdboot cdrom/${BOOTFILE}



CVS commit: src/distrib/hppa/cdroms

2024-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 25 16:49:32 UTC 2024

Modified Files:
src/distrib/hppa/cdroms: Makefile.cdrom

Log Message:
one more timestamp fix I forgot to commit


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/hppa/cdroms/Makefile.cdrom

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



CVS commit: [netbsd-10] src/doc

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 15:54:34 UTC 2024

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Tickets #610 and #611


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.202 -r1.1.2.203 src/doc/CHANGES-10.0

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



CVS commit: [netbsd-10] src/sys/arch/evbarm/conf

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 15:53:06 UTC 2024

Modified Files:
src/sys/arch/evbarm/conf [netbsd-10]: std.bcm53xx

Log Message:
Pull up following revision(s) (requested by skrll in ticket #611):

sys/arch/evbarm/conf/std.bcm53xx: revision 1.22

Add ARM_HAS_VBAR


To generate a diff of this commit:
cvs rdiff -u -r1.20.28.1 -r1.20.28.2 src/sys/arch/evbarm/conf/std.bcm53xx

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



CVS commit: [netbsd-10] src/sys/arch/evbarm/conf

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 15:53:06 UTC 2024

Modified Files:
src/sys/arch/evbarm/conf [netbsd-10]: std.bcm53xx

Log Message:
Pull up following revision(s) (requested by skrll in ticket #611):

sys/arch/evbarm/conf/std.bcm53xx: revision 1.22

Add ARM_HAS_VBAR


To generate a diff of this commit:
cvs rdiff -u -r1.20.28.1 -r1.20.28.2 src/sys/arch/evbarm/conf/std.bcm53xx

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/evbarm/conf/std.bcm53xx
diff -u src/sys/arch/evbarm/conf/std.bcm53xx:1.20.28.1 src/sys/arch/evbarm/conf/std.bcm53xx:1.20.28.2
--- src/sys/arch/evbarm/conf/std.bcm53xx:1.20.28.1	Sun Feb 18 16:19:56 2024
+++ src/sys/arch/evbarm/conf/std.bcm53xx	Sun Feb 25 15:53:06 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: std.bcm53xx,v 1.20.28.1 2024/02/18 16:19:56 martin Exp $
+#	$NetBSD: std.bcm53xx,v 1.20.28.2 2024/02/25 15:53:06 martin Exp $
 #
 # standard NetBSD/evbarm for BCM5301X options
 
@@ -9,6 +9,7 @@ include 	"arch/evbarm/conf/std.evbarm"
 include		"arch/evbarm/conf/files.bcm53xx"
 
 options 	ARM_GENERIC_TODR
+options 	ARM_HAS_VBAR
 options 	ARM_INTR_IMPL=""
 options 	COM_TOLERANCE=40
 options 	CORTEX_PMC



CVS commit: src/doc

2024-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 25 15:33:52 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
gettext-0.22.5 out


To generate a diff of this commit:
cvs rdiff -u -r1.1990 -r1.1991 src/doc/3RDPARTY

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



CVS commit: src/doc

2024-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 25 15:33:52 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
gettext-0.22.5 out


To generate a diff of this commit:
cvs rdiff -u -r1.1990 -r1.1991 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1990 src/doc/3RDPARTY:1.1991
--- src/doc/3RDPARTY:1.1990	Sun Feb 25 09:42:14 2024
+++ src/doc/3RDPARTY	Sun Feb 25 15:33:51 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1990 2024/02/25 09:42:14 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.1991 2024/02/25 15:33:51 wiz Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -2087,10 +2087,11 @@ Copied from FreeBSD:
 
 Package:	gettext
 Version:	0.16.1 (Last GPLv2+ version)
-Current Vers:	0.21
+Current Vers:	0.22.5
 Maintainer:	FSF
 Archive Site:	ftp://ftp.gnu.org/gnu/gettext/
 Home Page:	http://www.gnu.org/software/gettext/
+Date:		2024-02-25
 Mailing List:	bug-gnu-ut...@gnu.org
 Responsible:	christos
 License:	GPLv2+ (0.16.1), GPLv3+ (0.17 and later)



CVS commit: src/sys/arch/virt68k/virt68k

2024-02-25 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb 25 14:35:31 UTC 2024

Modified Files:
src/sys/arch/virt68k/virt68k: trap.c

Log Message:
Don't crash in copyin/copyout when a NULL pointer is passed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/virt68k/virt68k/trap.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/virt68k/virt68k

2024-02-25 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb 25 14:35:31 UTC 2024

Modified Files:
src/sys/arch/virt68k/virt68k: trap.c

Log Message:
Don't crash in copyin/copyout when a NULL pointer is passed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/virt68k/virt68k/trap.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/virt68k/virt68k/trap.c
diff -u src/sys/arch/virt68k/virt68k/trap.c:1.2 src/sys/arch/virt68k/virt68k/trap.c:1.3
--- src/sys/arch/virt68k/virt68k/trap.c:1.2	Sat Jan 20 00:15:33 2024
+++ src/sys/arch/virt68k/virt68k/trap.c	Sun Feb 25 14:35:31 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.c,v 1.2 2024/01/20 00:15:33 thorpej Exp $	*/
+/*	$NetBSD: trap.c,v 1.3 2024/02/25 14:35:31 mlelstv Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.2 2024/01/20 00:15:33 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.3 2024/02/25 14:35:31 mlelstv Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -554,7 +554,7 @@ trap(struct frame *fp, int type, unsigne
 
 		va = trunc_page((vaddr_t)v);
 
-		if (map == kernel_map && va == 0) {
+		if (map == kernel_map && va == 0 && onfault == 0) {
 			printf("trap: bad kernel %s access at 0x%x\n",
 			(ftype & VM_PROT_WRITE) ? "read/write" :
 			"read", v);



CVS commit: src/sys/arch/riscv/conf

2024-02-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Feb 25 14:27:41 UTC 2024

Modified Files:
src/sys/arch/riscv/conf: Makefile.riscv

Log Message:
Warn about building a kernel with the wrong toolchain.

Idea from mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/riscv/conf/Makefile.riscv

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/riscv/conf/Makefile.riscv
diff -u src/sys/arch/riscv/conf/Makefile.riscv:1.10 src/sys/arch/riscv/conf/Makefile.riscv:1.11
--- src/sys/arch/riscv/conf/Makefile.riscv:1.10	Wed Jul 26 03:41:57 2023
+++ src/sys/arch/riscv/conf/Makefile.riscv	Sun Feb 25 14:27:41 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.riscv,v 1.10 2023/07/26 03:41:57 rin Exp $
+#	$NetBSD: Makefile.riscv,v 1.11 2024/02/25 14:27:41 skrll Exp $
 
 # Makefile for NetBSD
 #
@@ -21,6 +21,18 @@ USETOOLS?=	no
 NEED_OWN_INSTALL_TARGET?=no
 .include 
 
+
+.if !defined(LP64) && ${MACHINE_ARCH} == "riscv64"
+. info (Building GENERIC instead of GENERIC64?)
+. error Don't build 32-bit kernel with 64-bit toolchain
+.endif
+
+.if defined(LP64) && ${MACHINE_ARCH} == "riscv32"
+. info (Building GENERIC64 instead of GENERIC?)
+. error Don't build 64-bit kernel with 32-bit toolchain
+.endif
+
+
 ##
 ## (1) port identification
 ##



CVS commit: src/sys/arch/riscv/conf

2024-02-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Feb 25 14:27:41 UTC 2024

Modified Files:
src/sys/arch/riscv/conf: Makefile.riscv

Log Message:
Warn about building a kernel with the wrong toolchain.

Idea from mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/riscv/conf/Makefile.riscv

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



CVS commit: src/sys/arch/evbarm/conf

2024-02-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Feb 25 14:19:08 UTC 2024

Modified Files:
src/sys/arch/evbarm/conf: std.bcm53xx

Log Message:
Add ARM_HAS_VBAR


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/conf/std.bcm53xx

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/evbarm/conf/std.bcm53xx
diff -u src/sys/arch/evbarm/conf/std.bcm53xx:1.21 src/sys/arch/evbarm/conf/std.bcm53xx:1.22
--- src/sys/arch/evbarm/conf/std.bcm53xx:1.21	Tue Feb 13 19:07:42 2024
+++ src/sys/arch/evbarm/conf/std.bcm53xx	Sun Feb 25 14:19:08 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: std.bcm53xx,v 1.21 2024/02/13 19:07:42 skrll Exp $
+#	$NetBSD: std.bcm53xx,v 1.22 2024/02/25 14:19:08 skrll Exp $
 #
 # standard NetBSD/evbarm for BCM5301X options
 
@@ -9,6 +9,7 @@ include 	"arch/evbarm/conf/std.evbarm"
 include		"arch/evbarm/conf/files.bcm53xx"
 
 options 	ARM_GENERIC_TODR
+options 	ARM_HAS_VBAR
 options 	ARM_INTR_IMPL=""
 options 	COM_TOLERANCE=40
 options 	CORTEX_PMC



CVS commit: src/sys/arch/evbarm/conf

2024-02-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Feb 25 14:19:08 UTC 2024

Modified Files:
src/sys/arch/evbarm/conf: std.bcm53xx

Log Message:
Add ARM_HAS_VBAR


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/conf/std.bcm53xx

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



CVS commit: [netbsd-10] src/doc

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 13:18:27 UTC 2024

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ammend ticket #608 for additional pullups


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.201 -r1.1.2.202 src/doc/CHANGES-10.0

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-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.201 src/doc/CHANGES-10.0:1.1.2.202
--- src/doc/CHANGES-10.0:1.1.2.201	Sat Feb 24 13:11:46 2024
+++ src/doc/CHANGES-10.0	Sun Feb 25 13:18:27 2024
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.201 2024/02/24 13:11:46 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.202 2024/02/25 13:18:27 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -15651,6 +15651,8 @@ sys/dev/pci/if_wmreg.h1.131
 	  multiqueue system
 	[msaitoh, ticket #607]
 
+distrib/sets/lists/base/shl.mi			1.975
+distrib/sets/lists/debug/shl.mi			1.336
 external/bsd/nsd/dist/doc/NSD-VERIFY-MODS   up to 1.1.1.1
 external/bsd/nsd/dist/util/proxy_protocol.c up to 1.1.1.1
 external/bsd/nsd/dist/util/proxy_protocol.h up to 1.1.1.1



CVS commit: [netbsd-10] src/doc

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 13:18:27 UTC 2024

Modified Files:
src/doc [netbsd-10]: CHANGES-10.0

Log Message:
Ammend ticket #608 for additional pullups


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.201 -r1.1.2.202 src/doc/CHANGES-10.0

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



CVS commit: [netbsd-10] src/distrib/sets/lists

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 13:16:13 UTC 2024

Modified Files:
src/distrib/sets/lists/base [netbsd-10]: shl.mi
src/distrib/sets/lists/debug [netbsd-10]: shl.mi

Log Message:
Additionally pull up the following for ticket #608 to fix the build:

distrib/sets/lists/base/shl.mi  1.975
distrib/sets/lists/debug/shl.mi 1.336

bump libunbound


To generate a diff of this commit:
cvs rdiff -u -r1.942.2.13 -r1.942.2.14 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.298.2.14 -r1.298.2.15 src/distrib/sets/lists/debug/shl.mi

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/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.942.2.13 src/distrib/sets/lists/base/shl.mi:1.942.2.14
--- src/distrib/sets/lists/base/shl.mi:1.942.2.13	Mon Dec 25 12:22:54 2023
+++ src/distrib/sets/lists/base/shl.mi	Sun Feb 25 13:16:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.942.2.13 2023/12/25 12:22:54 martin Exp $
+# $NetBSD: shl.mi,v 1.942.2.14 2024/02/25 13:16:12 martin Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -915,8 +915,8 @@
 ./usr/lib/libumem.so.0base-zfs-shlib		compatfile,zfs
 ./usr/lib/libumem.so.0.0			base-zfs-shlib		compatfile,zfs
 ./usr/lib/libunbound.sobase-sys-shlib		compatfile,unbound
-./usr/lib/libunbound.so.8			base-sys-shlib		compatfile,unbound
-./usr/lib/libunbound.so.8.0			base-sys-shlib		compatfile,unbound
+./usr/lib/libunbound.so.9			base-sys-shlib		compatfile,unbound
+./usr/lib/libunbound.so.9.0			base-sys-shlib		compatfile,unbound
 ./usr/lib/libusbhid.sobase-sys-shlib		compatfile
 ./usr/lib/libusbhid.so.1			base-sys-shlib		compatfile
 ./usr/lib/libusbhid.so.1.0			base-sys-shlib		compatfile

Index: src/distrib/sets/lists/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.298.2.14 src/distrib/sets/lists/debug/shl.mi:1.298.2.15
--- src/distrib/sets/lists/debug/shl.mi:1.298.2.14	Mon Dec 25 12:22:54 2023
+++ src/distrib/sets/lists/debug/shl.mi	Sun Feb 25 13:16:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.298.2.14 2023/12/25 12:22:54 martin Exp $
+# $NetBSD: shl.mi,v 1.298.2.15 2024/02/25 13:16:12 martin Exp $
 ./usr/lib/libbfd_g.a		comp-c-debuglib	debuglib,compatfile,binutils
 ./usr/libdata/debug/lib		base-sys-usr	debug,dynamicroot,compatdir
 ./usr/libdata/debug/lib/libavl.so.0.0.debug			comp-zfs-debug	debug,dynamicroot,zfs
@@ -297,7 +297,7 @@
 ./usr/libdata/debug/usr/lib/libubsan.so.4.0.debug		comp-sys-debug	debug,compatfile,cxx,gcc=10
 ./usr/libdata/debug/usr/lib/libukfs.so.1.0.debug		comp-sys-debug	debug,compatfile,rump
 ./usr/libdata/debug/usr/lib/libumem.so.0.0.debug		comp-zfs-debug	debug,compatfile,zfs
-./usr/libdata/debug/usr/lib/libunbound.so.8.0.debug 		comp-net-debug	debug,compatfile,unbound
+./usr/libdata/debug/usr/lib/libunbound.so.9.0.debug 		comp-net-debug	debug,compatfile,unbound
 ./usr/libdata/debug/usr/lib/libusbhid.so.1.0.debug		comp-sys-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libutil.so.7.24.debug		comp-sys-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libuutil.so.0.0.debug		comp-zfs-debug	debug,compatfile,zfs



CVS commit: [netbsd-10] src/distrib/sets/lists

2024-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 25 13:16:13 UTC 2024

Modified Files:
src/distrib/sets/lists/base [netbsd-10]: shl.mi
src/distrib/sets/lists/debug [netbsd-10]: shl.mi

Log Message:
Additionally pull up the following for ticket #608 to fix the build:

distrib/sets/lists/base/shl.mi  1.975
distrib/sets/lists/debug/shl.mi 1.336

bump libunbound


To generate a diff of this commit:
cvs rdiff -u -r1.942.2.13 -r1.942.2.14 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.298.2.14 -r1.298.2.15 src/distrib/sets/lists/debug/shl.mi

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



CVS commit: src/doc

2024-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 25 09:42:14 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
new xz out


To generate a diff of this commit:
cvs rdiff -u -r1.1989 -r1.1990 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1989 src/doc/3RDPARTY:1.1990
--- src/doc/3RDPARTY:1.1989	Wed Feb 21 22:55:29 2024
+++ src/doc/3RDPARTY	Sun Feb 25 09:42:14 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1989 2024/02/21 22:55:29 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.1990 2024/02/25 09:42:14 wiz Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1520,11 +1520,11 @@ Notes:
 
 Package:	xz
 Version:	5.2.4
-Current Vers:	5.4.1
+Current Vers:	5.6.0
 Maintainer:	Lasse Collin 
 Archive Site:	http://tukaani.org/xz/
 Home Page:	http://tukaani.org/xz/
-Date: 		2023-01-12
+Date: 		2024-02-24
 Responsible:	joerg
 License:	public-domain
 Location:	external/public-domain/xz/dist



CVS commit: src/doc

2024-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Feb 25 09:42:14 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
new xz out


To generate a diff of this commit:
cvs rdiff -u -r1.1989 -r1.1990 src/doc/3RDPARTY

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