CVS commit: src/external/bsd/jemalloc/dist/src

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 26 00:04:27 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/src: pages.c

Log Message:
bring back fix that was lost in the merge: use a local variable to modify
the allocation alignment instead of modifying globally. Fixes overallocation.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/jemalloc/dist/src/pages.c

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



CVS commit: src/external/bsd/jemalloc/dist/src

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 26 00:04:27 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/src: pages.c

Log Message:
bring back fix that was lost in the merge: use a local variable to modify
the allocation alignment instead of modifying globally. Fixes overallocation.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/jemalloc/dist/src/pages.c

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/jemalloc/dist/src/pages.c
diff -u src/external/bsd/jemalloc/dist/src/pages.c:1.7 src/external/bsd/jemalloc/dist/src/pages.c:1.8
--- src/external/bsd/jemalloc/dist/src/pages.c:1.7	Mon Sep 23 11:03:42 2024
+++ src/external/bsd/jemalloc/dist/src/pages.c	Wed Sep 25 20:04:27 2024
@@ -132,6 +132,7 @@ os_pages_map(void *addr, size_t size, si
 	 * of existing mappings, and we only want to create new mappings.
 	 */
 	{
+		int flags = mmap_flags;
 #ifdef __NetBSD__
 		/*
 		 * On NetBSD PAGE for a platform is defined to the
@@ -141,12 +142,12 @@ os_pages_map(void *addr, size_t size, si
 		 */
 		if (alignment > os_page || PAGE > os_page) {
 			unsigned int a = ilog2(MAX(alignment, PAGE));
-			mmap_flags |= MAP_ALIGNED(a);
+			flags |= MAP_ALIGNED(a);
 		}
 #endif
 		int prot = *commit ? PAGES_PROT_COMMIT : PAGES_PROT_DECOMMIT;
 
-		ret = mmap(addr, size, prot, mmap_flags, PAGES_FD_TAG, 0);
+		ret = mmap(addr, size, prot, flags, PAGES_FD_TAG, 0);
 	}
 	assert(ret != NULL);
 



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

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 19:24:15 UTC 2024

Modified Files:
src/tests/lib/libc/sys: t_clone.c

Log Message:
centralize stack allocation/freeing. The test that broke with the new jemalloc
had broken stack allocation.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_clone.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/lib/libc/sys/t_clone.c
diff -u src/tests/lib/libc/sys/t_clone.c:1.4 src/tests/lib/libc/sys/t_clone.c:1.5
--- src/tests/lib/libc/sys/t_clone.c:1.4	Tue May 23 11:56:55 2017
+++ src/tests/lib/libc/sys/t_clone.c	Wed Sep 25 15:24:15 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: t_clone.c,v 1.4 2017/05/23 15:56:55 christos Exp $ */
+/* $NetBSD: t_clone.c,v 1.5 2024/09/25 19:24:15 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -32,11 +32,12 @@
 #include 
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_clone.c,v 1.4 2017/05/23 15:56:55 christos Exp $");
+__RCSID("$NetBSD: t_clone.c,v 1.5 2024/09/25 19:24:15 christos Exp $");
 
+#include 
+#include 
 #include 
 #include 
-#include 
 #include 
 
 #include 
@@ -53,6 +54,27 @@ __RCSID("$NetBSD: t_clone.c,v 1.4 2017/0
 #define	FROBVAL		41973
 #define	CHILDEXIT	0xa5
 
+static void *
+getstack(void)
+{
+	void *stack = mmap(NULL, STACKSIZE, PROT_READ|PROT_WRITE,
+	MAP_PRIVATE|MAP_ANON, -1, (off_t) 0);
+	ATF_REQUIRE_ERRNO(errno, stack != MAP_FAILED);
+#ifndef __MACHINE_STACK_GROWS_UP
+	stack = (char *)stack + STACKSIZE;
+#endif
+	return stack;
+}
+
+static void 
+putstack(void *stack)
+{
+#ifndef __MACHINE_STACK_GROWS_UP
+	stack = (char *)stack - STACKSIZE;
+#endif
+	ATF_REQUIRE_ERRNO(errno, munmap(stack, STACKSIZE) != -1);
+}
+
 static int
 dummy(void *arg)
 {
@@ -94,21 +116,11 @@ ATF_TC_HEAD(clone_basic, tc)
 ATF_TC_BODY(clone_basic, tc)
 {
 	sigset_t mask;
-	void *allocstack, *stack;
+	void *stack = getstack();
 	pid_t pid;
 	volatile long frobme[2];
 	int stat;
 
-	allocstack = mmap(NULL, STACKSIZE, PROT_READ|PROT_WRITE,
-	MAP_PRIVATE|MAP_ANON, -1, (off_t) 0);
-
-	ATF_REQUIRE_ERRNO(errno, allocstack != MAP_FAILED);
-
-	stack = allocstack;
-#ifndef __MACHINE_STACK_GROWS_UP
-	stack = (char *)stack + STACKSIZE;
-#endif
-
 	printf("parent: stack = %p, frobme = %p\n", stack, frobme);
 	fflush(stdout);
 
@@ -158,7 +170,7 @@ ATF_TC_BODY(clone_basic, tc)
 		/*NOTREACHED*/
 	}
 
-	ATF_REQUIRE_ERRNO(errno, munmap(allocstack, STACKSIZE) != -1);
+	putstack(stack);
 }
 
 ATF_TC(clone_null_stack);
@@ -190,16 +202,9 @@ ATF_TC_HEAD(clone_null_func, tc)
 
 ATF_TC_BODY(clone_null_func, tc)
 {
-	void *allocstack, *stack;
+	void *stack = getstack();
 	int rv;
 
-	allocstack = mmap(NULL, STACKSIZE, PROT_READ|PROT_WRITE,
-	MAP_PRIVATE|MAP_ANON, -1, (off_t) 0);
-	ATF_REQUIRE_ERRNO(errno, allocstack != MAP_FAILED);
-	stack = allocstack;
-#ifndef __MACHINE_STACK_GROWS_UP
-	stack = (char *)stack + STACKSIZE;
-#endif
 
 	errno = 0;
 	rv = __clone(0, stack,
@@ -208,7 +213,7 @@ ATF_TC_BODY(clone_null_func, tc)
 	ATF_REQUIRE_EQ(rv, -1);
 	ATF_REQUIRE_EQ(errno, EINVAL);
 
-	ATF_REQUIRE_ERRNO(errno, munmap(allocstack, STACKSIZE) != -1);
+	putstack(stack);
 }
 
 ATF_TC(clone_out_of_proc);
@@ -222,6 +227,7 @@ ATF_TC_HEAD(clone_out_of_proc, tc)
 
 ATF_TC_BODY(clone_out_of_proc, tc)
 {
+	char *stack = getstack();
 	struct rlimit rl;
 	int rv;
 
@@ -233,11 +239,12 @@ ATF_TC_BODY(clone_out_of_proc, tc)
 	ATF_REQUIRE_ERRNO(errno, setrlimit(RLIMIT_NPROC, &rl) != -1);
 
 	errno = 0;
-	rv = __clone(dummy, malloc(10240),
+	rv = __clone(dummy, stack,
 	CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, (void *)&rl);
 
 	ATF_REQUIRE_EQ(rv, -1);
 	ATF_REQUIRE_EQ(errno, EAGAIN);
+	putstack(stack);
 }
 
 ATF_TP_ADD_TCS(tp)



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

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 19:24:15 UTC 2024

Modified Files:
src/tests/lib/libc/sys: t_clone.c

Log Message:
centralize stack allocation/freeing. The test that broke with the new jemalloc
had broken stack allocation.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_clone.c

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



CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:55:40 UTC 2024

Modified Files:
src/usr.bin/ftp: fetch.c ftp.1 ftp_var.h main.c

Log Message:
PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header
fields.


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.155 -r1.156 src/usr.bin/ftp/ftp.1
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.131 -r1.132 src/usr.bin/ftp/main.c

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

Modified files:

Index: src/usr.bin/ftp/fetch.c
diff -u src/usr.bin/ftp/fetch.c:1.240 src/usr.bin/ftp/fetch.c:1.241
--- src/usr.bin/ftp/fetch.c:1.240	Wed Sep 25 12:53:58 2024
+++ src/usr.bin/ftp/fetch.c	Wed Sep 25 12:55:39 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: fetch.c,v 1.240 2024/09/25 16:53:58 christos Exp $	*/
+/*	$NetBSD: fetch.c,v 1.241 2024/09/25 16:55:39 christos Exp $	*/
 
 /*-
  * Copyright (c) 1997-2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include 
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.240 2024/09/25 16:53:58 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.241 2024/09/25 16:55:39 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -865,6 +865,7 @@ print_get(FETCH *fin, int hasleading, in
 const struct urlinfo *ui)
 {
 	const char *leading = hasleading ? ", " : "  (";
+	struct entry *np;
 
 	if (isproxy) {
 		if (verbose) {
@@ -882,6 +883,10 @@ print_get(FETCH *fin, int hasleading, in
 	print_host(fin, ui);
 	fetch_printf(fin, "Accept: */*\r\n");
 	fetch_printf(fin, "Connection: close\r\n");
+	SLIST_FOREACH(np, &custom_headers, entries) {
+		fetch_printf(fin, "%s\r\n", np->header);
+	}
+
 	if (restart_point) {
 		fputs(leading, ttyout);
 		fetch_printf(fin, "Range: bytes=" LLF "-\r\n",

Index: src/usr.bin/ftp/ftp.1
diff -u src/usr.bin/ftp/ftp.1:1.155 src/usr.bin/ftp/ftp.1:1.156
--- src/usr.bin/ftp/ftp.1:1.155	Thu Jul 18 23:51:21 2024
+++ src/usr.bin/ftp/ftp.1	Wed Sep 25 12:55:39 2024
@@ -1,4 +1,4 @@
-.\" 	$NetBSD: ftp.1,v 1.155 2024/07/19 03:51:21 lukem Exp $
+.\" 	$NetBSD: ftp.1,v 1.156 2024/09/25 16:55:39 christos Exp $
 .\"
 .\" Copyright (c) 1996-2024 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -57,7 +57,7 @@
 .\"
 .\"	@(#)ftp.1	8.3 (Berkeley) 10/9/94
 .\"
-.Dd July 19, 2024
+.Dd September 25, 2024
 .Dt FTP 1
 .Os
 .Sh NAME
@@ -67,6 +67,7 @@
 .Nm
 .Op Fl 46AadefginpRtVv\&?
 .Op Fl b Ar bufsize
+.Op Fl h Ar header
 .Op Fl N Ar netrc
 .Op Fl o Ar output
 .Op Fl P Ar port
@@ -223,6 +224,14 @@ or
 proxies.
 .It Fl g
 Disables file name globbing.
+It Fl H Ar header
+Include the provided
+.Ar header
+string as a custom 
+.Tn HTTP
+header for an
+.Th HTTP
+request.
 .It Fl i
 Turns off interactive prompting during
 multiple file transfers.

Index: src/usr.bin/ftp/ftp_var.h
diff -u src/usr.bin/ftp/ftp_var.h:1.88 src/usr.bin/ftp/ftp_var.h:1.89
--- src/usr.bin/ftp/ftp_var.h:1.88	Sun Feb 18 17:33:15 2024
+++ src/usr.bin/ftp/ftp_var.h	Wed Sep 25 12:55:39 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftp_var.h,v 1.88 2024/02/18 22:33:15 wiz Exp $	*/
+/*	$NetBSD: ftp_var.h,v 1.89 2024/09/25 16:55:39 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -101,6 +101,7 @@
 #endif
 
 #include 
+#include 
 
 #include 
 #include 
@@ -165,6 +166,14 @@ enum {
 	FEAT_max
 };
 
+/*
+ * Custom HTTP headers
+ */
+struct entry {
+	SLIST_ENTRY(entry)	entries;
+	const char		*header;
+};
+SLIST_HEAD(http_headers, entry);
 
 /*
  * Global defines
@@ -320,8 +329,9 @@ GLOBAL	FILE	*cin;
 GLOBAL	FILE	*cout;
 GLOBAL	int	 data;
 
-extern	struct cmd	cmdtab[];
-extern	struct option	optiontab[];
+extern	struct cmd		cmdtab[];
+extern	struct option		optiontab[];
+extern	struct http_headers	custom_headers;
 
 extern	size_t ftp_buflen;
 

Index: src/usr.bin/ftp/main.c
diff -u src/usr.bin/ftp/main.c:1.131 src/usr.bin/ftp/main.c:1.132
--- src/usr.bin/ftp/main.c:1.131	Wed Sep 25 12:53:58 2024
+++ src/usr.bin/ftp/main.c	Wed Sep 25 12:55:39 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.131 2024/09/25 16:53:58 christos Exp $	*/
+/*	$NetBSD: main.c,v 1.132 2024/09/25 16:55:39 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996-2023 The NetBSD Foundation, Inc.
@@ -98,7 +98,7 @@ __COPYRIGHT("@(#) Copyright (c) 1985, 19
 #if 0
 static char sccsid[] = "@(#)main.c	8.6 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.131 2024/09/25 16:53:58 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.132 2024/09/25 16:55:39 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -134,11 +134,14 @@ static int	usage(void);
 static int	usage_help(void);
 static void	setupoption(const char *, const char *, const char *);
 
+struct http_headers custom_headers;
+
 int
 main(int volatile argc, char **volatile argv)
 {
 	int ch, rval;
 	struct passwd *pw;
+	struct entry *p;
 	char *cp, *ep, *anonpass, *upload_path, *src_addr;
 	const char *anonuser;
 	int dumbterm, isupload;
@@ -267,7 +270,8 @@ main(int volatile

CVS commit: src/sys/dev/pci

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 17:12:47 UTC 2024

Modified Files:
src/sys/dev/pci: virtio_pci.c

Log Message:
Wrong byte order of config space write in big-endian (gorg)

In virtio_pci.c, the function virtio_pci_bus_space_write_8 writes
the first 4 bytes and second 4 bytes of an 8-byte value in the same
or swapped order within the device's config space depending on the
endianness of the system it is compiled for. However, the BUS_ADDR_LO32
and BUS_ADDR_HI32 always produce the least-significant and
most-significant 4 bytes of an 8-byte value, respectively, regardless
of the endianness of the system. Since virtio_pci_bus_space_write_8
is always used only for writing to little-endian parts of the config
space, the least significant 4 bytes must always be written to the
first 4 bytes in the config space value, and the most significant
4 bytes must always be written to the last 4 bytes of the config
space value.  Therefore, swapping the byte order produces incorrect
behaviour on big-endian systems.

The incorrect behaviour seems to have been introduced in revision
1.19 of virtio_pci.c, which this change would mostly reversed


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/virtio_pci.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/dev/pci/virtio_pci.c
diff -u src/sys/dev/pci/virtio_pci.c:1.54 src/sys/dev/pci/virtio_pci.c:1.55
--- src/sys/dev/pci/virtio_pci.c:1.54	Tue Jun 25 10:55:23 2024
+++ src/sys/dev/pci/virtio_pci.c	Wed Sep 25 13:12:47 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio_pci.c,v 1.54 2024/06/25 14:55:23 riastradh Exp $ */
+/* $NetBSD: virtio_pci.c,v 1.55 2024/09/25 17:12:47 christos Exp $ */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: virtio_pci.c,v 1.54 2024/06/25 14:55:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio_pci.c,v 1.55 2024/09/25 17:12:47 christos Exp $");
 
 #include 
 #include 
@@ -755,13 +755,8 @@ static __inline void
 virtio_pci_bus_space_write_8(bus_space_tag_t iot, bus_space_handle_t ioh,
 bus_size_t offset, uint64_t value)
 {
-#if _QUAD_HIGHWORD
 	bus_space_write_4(iot, ioh, offset, BUS_ADDR_LO32(value));
 	bus_space_write_4(iot, ioh, offset + 4, BUS_ADDR_HI32(value));
-#else
-	bus_space_write_4(iot, ioh, offset, BUS_ADDR_HI32(value));
-	bus_space_write_4(iot, ioh, offset + 4, BUS_ADDR_LO32(value));
-#endif
 }
 
 static void



CVS commit: src/sys/dev/pci

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 17:12:47 UTC 2024

Modified Files:
src/sys/dev/pci: virtio_pci.c

Log Message:
Wrong byte order of config space write in big-endian (gorg)

In virtio_pci.c, the function virtio_pci_bus_space_write_8 writes
the first 4 bytes and second 4 bytes of an 8-byte value in the same
or swapped order within the device's config space depending on the
endianness of the system it is compiled for. However, the BUS_ADDR_LO32
and BUS_ADDR_HI32 always produce the least-significant and
most-significant 4 bytes of an 8-byte value, respectively, regardless
of the endianness of the system. Since virtio_pci_bus_space_write_8
is always used only for writing to little-endian parts of the config
space, the least significant 4 bytes must always be written to the
first 4 bytes in the config space value, and the most significant
4 bytes must always be written to the last 4 bytes of the config
space value.  Therefore, swapping the byte order produces incorrect
behaviour on big-endian systems.

The incorrect behaviour seems to have been introduced in revision
1.19 of virtio_pci.c, which this change would mostly reversed


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/virtio_pci.c

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



CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:55:40 UTC 2024

Modified Files:
src/usr.bin/ftp: fetch.c ftp.1 ftp_var.h main.c

Log Message:
PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header
fields.


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.155 -r1.156 src/usr.bin/ftp/ftp.1
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.131 -r1.132 src/usr.bin/ftp/main.c

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



CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:53:58 UTC 2024

Modified Files:
src/usr.bin/ftp: cmds.c complete.c fetch.c ftp.c main.c progressbar.c
ssl.c util.c

Log Message:
pass some lint.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/usr.bin/ftp/cmds.c
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/ftp/complete.c
cvs rdiff -u -r1.239 -r1.240 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ftp/main.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/ftp/progressbar.c
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/ftp/ssl.c
cvs rdiff -u -r1.167 -r1.168 src/usr.bin/ftp/util.c

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

Modified files:

Index: src/usr.bin/ftp/cmds.c
diff -u src/usr.bin/ftp/cmds.c:1.142 src/usr.bin/ftp/cmds.c:1.143
--- src/usr.bin/ftp/cmds.c:1.142	Thu Jul 18 23:53:13 2024
+++ src/usr.bin/ftp/cmds.c	Wed Sep 25 12:53:58 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: cmds.c,v 1.142 2024/07/19 03:53:13 lukem Exp $	*/
+/*	$NetBSD: cmds.c,v 1.143 2024/09/25 16:53:58 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996-2021 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
 #if 0
 static char sccsid[] = "@(#)cmds.c	8.6 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: cmds.c,v 1.142 2024/07/19 03:53:13 lukem Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.143 2024/09/25 16:53:58 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -172,7 +172,7 @@ confirm(const char *cmd, const char *fil
 		promptleft = cmd;
 		promptright = file;
 	}
-	while (1) {
+	for (;;) {
 		fprintf(ttyout, "%s %s [anpqy?]? ", promptleft, promptright);
 		(void)fflush(ttyout);
 		if (get_line(stdin, cline, sizeof(cline), &errormsg) < 0) {
@@ -1830,10 +1830,10 @@ account(int argc, char *argv[])
 	memset(ap, 0, strlen(ap));
 }
 
-sigjmp_buf abortprox;
+static sigjmp_buf abortprox;
 
 void
-proxabort(int notused)
+proxabort(int notused __unused)
 {
 
 	sigint_raised = 1;
@@ -1855,7 +1855,7 @@ void
 doproxy(int argc, char *argv[])
 {
 	struct cmd *c;
-	int cmdpos;
+	size_t cmdpos;
 	sigfunc oldintr;
 	char cmdbuf[MAX_C_NAME];
 
@@ -2038,7 +2038,7 @@ setnmap(int argc, char *argv[])
 }
 
 static const char *
-domap(char *dst, size_t dlen, const char *src)
+domap(char *dst, size_t dlen __unused, const char *src)
 {
 	const char *cp1 = src;
 	char *cp2 = mapin;
@@ -2483,7 +2483,7 @@ macdef(int argc, char *argv[])
 		}
 		tmp++;
 	}
-	while (1) {
+	for (;;) {
 		while ((c = getchar()) != '\n' && c != EOF)
 			/* LOOP */;
 		if (c == EOF || getchar() == '\n') {
@@ -2605,7 +2605,8 @@ lpage(int argc, char *argv[])
 void
 page(int argc, char *argv[])
 {
-	int ohash, orestart_point, overbose;
+	int ohash, overbose;
+	off_t orestart_point;
 	size_t len;
 	const char *p;
 	char *pager;
@@ -2627,7 +2628,8 @@ page(int argc, char *argv[])
 	ohash = hash;
 	orestart_point = restart_point;
 	overbose = verbose;
-	hash = restart_point = verbose = 0;
+	hash = verbose = 0;
+	restart_point = 0;
 	recvrequest("RETR", pager, argv[1], "r+", 1, 0);
 	hash = ohash;
 	restart_point = orestart_point;

Index: src/usr.bin/ftp/complete.c
diff -u src/usr.bin/ftp/complete.c:1.47 src/usr.bin/ftp/complete.c:1.48
--- src/usr.bin/ftp/complete.c:1.47	Mon Jan 28 07:04:16 2019
+++ src/usr.bin/ftp/complete.c	Wed Sep 25 12:53:58 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: complete.c,v 1.47 2019/01/28 12:04:16 christos Exp $	*/
+/*	$NetBSD: complete.c,v 1.48 2024/09/25 16:53:58 christos Exp $	*/
 
 /*-
  * Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include 
 #ifndef lint
-__RCSID("$NetBSD: complete.c,v 1.47 2019/01/28 12:04:16 christos Exp $");
+__RCSID("$NetBSD: complete.c,v 1.48 2024/09/25 16:53:58 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -349,7 +349,7 @@ complete_remote(char *word, int list)
  * Generic complete routine
  */
 unsigned char
-complete(EditLine *cel, int ch)
+complete(EditLine *cel, int ch __unused)
 {
 	static char word[FTPBUFLEN];
 	static size_t lastc_argc, lastc_argo;

Index: src/usr.bin/ftp/fetch.c
diff -u src/usr.bin/ftp/fetch.c:1.239 src/usr.bin/ftp/fetch.c:1.240
--- src/usr.bin/ftp/fetch.c:1.239	Sun Feb 18 17:29:56 2024
+++ src/usr.bin/ftp/fetch.c	Wed Sep 25 12:53:58 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: fetch.c,v 1.239 2024/02/18 22:29:56 christos Exp $	*/
+/*	$NetBSD: fetch.c,v 1.240 2024/09/25 16:53:58 christos Exp $	*/
 
 /*-
  * Copyright (c) 1997-2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include 
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.239 2024/02/18 22:29:56 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.240 2024/09/25 16:53:58 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -261,8 +261,8 @@ freeurlinfo(struct urlinfo *ui)
 static int
 auth_url(const char *challenge, char **response, const struct authinfo *auth)
 {
-	const char	*cp, *scheme, *errormsg;
-	char		*ep, *clear, *realm;
+	const char	*cp, *ep, *scheme, *errormsg;
+	char		*clear, *realm;

CVS commit: src/usr.bin/ftp

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:53:58 UTC 2024

Modified Files:
src/usr.bin/ftp: cmds.c complete.c fetch.c ftp.c main.c progressbar.c
ssl.c util.c

Log Message:
pass some lint.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/usr.bin/ftp/cmds.c
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/ftp/complete.c
cvs rdiff -u -r1.239 -r1.240 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ftp/main.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/ftp/progressbar.c
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/ftp/ssl.c
cvs rdiff -u -r1.167 -r1.168 src/usr.bin/ftp/util.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:26:05 UTC 2024

Modified Files:
src/external/gpl3/gcc/dist/gcc: regsub.cc

Log Message:
PR/58686: gorg: Add  for ssize_t.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/regsub.cc

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

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/regsub.cc
diff -u src/external/gpl3/gcc/dist/gcc/regsub.cc:1.1 src/external/gpl3/gcc/dist/gcc/regsub.cc:1.2
--- src/external/gpl3/gcc/dist/gcc/regsub.cc:1.1	Tue Aug  1 02:04:42 2023
+++ src/external/gpl3/gcc/dist/gcc/regsub.cc	Wed Sep 25 12:26:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: regsub.cc,v 1.1 2023/08/01 06:04:42 mrg Exp $	*/
+/*	$NetBSD: regsub.cc,v 1.2 2024/09/25 16:26:05 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
 extern "C" {
 
 #include 
+#include 
 #include 
 #include 
 #include 



CVS commit: src/external/gpl3/gcc/dist/gcc

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:26:05 UTC 2024

Modified Files:
src/external/gpl3/gcc/dist/gcc: regsub.cc

Log Message:
PR/58686: gorg: Add  for ssize_t.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/regsub.cc

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



CVS commit: src/tools

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:24:58 UTC 2024

Modified Files:
src/tools: README

Log Message:
PR/58699: gorg: Correct location of nbtools_config.h


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tools/README

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



CVS commit: src/tools

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:24:58 UTC 2024

Modified Files:
src/tools: README

Log Message:
PR/58699: gorg: Correct location of nbtools_config.h


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tools/README

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

Modified files:

Index: src/tools/README
diff -u src/tools/README:1.5 src/tools/README:1.6
--- src/tools/README:1.5	Thu Feb  3 15:32:38 2022
+++ src/tools/README	Wed Sep 25 12:24:58 2024
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.5 2022/02/03 20:32:38 rillig Exp $
+$NetBSD: README,v 1.6 2024/09/25 16:24:58 christos Exp $
 
 Notes for NetBSD src/tools
 
@@ -56,7 +56,7 @@ ${TOOLDIR}/lib/libnbcompat.a
 
 A library containing functions that are needed by some tools.
 
-${TOOLDIR}/include/nbtool_compat.h
+${TOOLDIR}/include/compat/nbtool_compat.h
 
 A header file defining macros that are needed by some tools.
 



CVS commit: src/external/bsd/jemalloc/lib

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:12:34 UTC 2024

Modified Files:
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
fix lint on i386


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/jemalloc/lib/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/bsd/jemalloc/lib

2024-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:12:34 UTC 2024

Modified Files:
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
fix lint on i386


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/jemalloc/lib/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/bsd/jemalloc/lib/Makefile.inc
diff -u src/external/bsd/jemalloc/lib/Makefile.inc:1.19 src/external/bsd/jemalloc/lib/Makefile.inc:1.20
--- src/external/bsd/jemalloc/lib/Makefile.inc:1.19	Mon Sep 23 18:37:35 2024
+++ src/external/bsd/jemalloc/lib/Makefile.inc	Wed Sep 25 12:12:34 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.19 2024/09/23 22:37:35 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.20 2024/09/25 16:12:34 christos Exp $
 
 JEMALLOC:=${.PARSEDIR}/..
 
@@ -98,8 +98,11 @@ LINTFLAGS.${i} += -X 86,89,117,132,161,1
 LINTFLAGS.arena.c += -X 298
 LINTFLAGS.ckh.c += -X 239
 LINTFLAGS.ctl.c += -X 135,239,298
+LINTFLAGS.hpa.c += -X 135	# i386: alignment pai_s[4] -> hpa_shard_s[8]
 LINTFLAGS.extent.c += -X 239
 LINTFLAGS.jemalloc.c += -X 236	# XXX: lint bug, it is a constructor
+LINTFLAGS.jemalloc.c += -X 141	# i386: lint is right, overflow is on purpose.
+LINTFLAGS.pac.c += -X 135	# i386: alignment pai_s[4] -> hpa_shard_s[8]
 LINTFLAGS.pages.c += -X 298
 LINTFLAGS.prof_data.c += -X 236
 LINTFLAGS.prof_recent.c += -X 42



CVS commit: src/distrib/sets/lists

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:34:41 UTC 2024

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/debug: shl.mi

Log Message:
bump libssh


To generate a diff of this commit:
cvs rdiff -u -r1.990 -r1.991 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.350 -r1.351 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/distrib/sets/lists

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:34:41 UTC 2024

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/debug: shl.mi

Log Message:
bump libssh


To generate a diff of this commit:
cvs rdiff -u -r1.990 -r1.991 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.350 -r1.351 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.990 src/distrib/sets/lists/base/shl.mi:1.991
--- src/distrib/sets/lists/base/shl.mi:1.990	Sat Sep 21 20:16:43 2024
+++ src/distrib/sets/lists/base/shl.mi	Tue Sep 24 17:34:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.990 2024/09/22 00:16:43 christos Exp $
+# $NetBSD: shl.mi,v 1.991 2024/09/24 21:34:41 christos Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -878,8 +878,8 @@
 ./usr/lib/libsqlite3.so.1.5			base-sys-shlib		compatfile
 ./usr/lib/libss.sobase-obsolete		obsolete
 ./usr/lib/libssh.sobase-secsh-shlib	compatfile
-./usr/lib/libssh.so.47base-secsh-shlib	compatfile
-./usr/lib/libssh.so.47.0			base-secsh-shlib	compatfile
+./usr/lib/libssh.so.48base-secsh-shlib	compatfile
+./usr/lib/libssh.so.48.0			base-secsh-shlib	compatfile
 ./usr/lib/libssl.sobase-crypto-shlib	compatfile
 ./usr/lib/libssl.so.12base-crypto-shlib	compatfile,openssl=10
 ./usr/lib/libssl.so.12.0			base-crypto-shlib	compatfile,openssl=10

Index: src/distrib/sets/lists/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.350 src/distrib/sets/lists/debug/shl.mi:1.351
--- src/distrib/sets/lists/debug/shl.mi:1.350	Sat Sep 21 20:16:43 2024
+++ src/distrib/sets/lists/debug/shl.mi	Tue Sep 24 17:34:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.350 2024/09/22 00:16:43 christos Exp $
+# $NetBSD: shl.mi,v 1.351 2024/09/24 21:34:41 christos Exp $
 #
 ./usr/lib/libbfd_g.a		comp-c-debuglib	debuglib,compatfile,binutils
 ./usr/lib/libgcc_eh_g.acomp-c-debuglib		debuglib,compatfile,gcc
@@ -294,7 +294,7 @@
 ./usr/libdata/debug/usr/lib/libskey.so.2.0.debug		comp-sys-debug	debug,compatfile,skey
 ./usr/libdata/debug/usr/lib/libsl.so.7.0.debug			comp-krb5-debug	debug,compatfile,kerberos
 ./usr/libdata/debug/usr/lib/libsqlite3.so.1.5.debug		comp-sys-debug	debug,compatfile
-./usr/libdata/debug/usr/lib/libssh.so.47.0.debug		comp-secsh-debug	debug,compatfile
+./usr/libdata/debug/usr/lib/libssh.so.48.0.debug		comp-secsh-debug	debug,compatfile
 ./usr/libdata/debug/usr/lib/libssl.so.12.0.debug		comp-crypto-debug	debug,compatfile,openssl=10
 ./usr/libdata/debug/usr/lib/libssl.so.14.0.debug		comp-crypto-debug	debug,compatfile,openssl=11
 ./usr/libdata/debug/usr/lib/libssl.so.15.0.debug		comp-crypto-debug	debug,compatfile,openssl=30



CVS commit: src/doc

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:33:42 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new openssh


To generate a diff of this commit:
cvs rdiff -u -r1.2049 -r1.2050 src/doc/3RDPARTY
cvs rdiff -u -r1.3100 -r1.3101 src/doc/CHANGES

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



CVS commit: src/doc

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:33:42 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new openssh


To generate a diff of this commit:
cvs rdiff -u -r1.2049 -r1.2050 src/doc/3RDPARTY
cvs rdiff -u -r1.3100 -r1.3101 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2049 src/doc/3RDPARTY:1.2050
--- src/doc/3RDPARTY:1.2049	Mon Sep 23 11:08:36 2024
+++ src/doc/3RDPARTY	Tue Sep 24 17:33:42 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2049 2024/09/23 15:08:36 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.2050 2024/09/24 21:33:42 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1029,12 +1029,12 @@ Notes:
 We have lots of local fixes.
 
 Package:	OpenLDAP
-Version:	2.5.6
+Version:	2.5.18
 Current Vers:	2.5.6
 Maintainer:	OpenLDAP Foundation
 Archive Site:	http://www.openldap.org/
 Home Page:	http://www.openldap.org/
-Date:		2021-08-14
+Date:		2024-09-24
 Mailing List:
 Responsible:
 License:	BSD (3-clause)
@@ -1081,12 +1081,12 @@ Notes:
 Patch applied after OpenSSH import.
 
 Package:	OpenSSH
-Version:	9.8
-Current Vers:	9.8 / portable 9.8p1
+Version:	9.9
+Current Vers:	9.9 / portable 9.9p1
 Maintainer:	OpenSSH
 Archive Site:	http://www.openssh.com/ftp.html
 Home Page:	http://www.openssh.com/portable.html
-Date:		2024-06-25
+Date:		2024-09-24
 Mailing List:	openssh-unix-annou...@mindrot.org
 Responsible:	thorpej, christos, elric
 License:	BSD. See src/crypto/external/bsd/openssh/dist/LICENSE

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3100 src/doc/CHANGES:1.3101
--- src/doc/CHANGES:1.3100	Tue Sep 24 09:06:13 2024
+++ src/doc/CHANGES	Tue Sep 24 17:33:42 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3100 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3101 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -528,3 +528,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	zlib: Import 1.3.1 [christos 20240922]
 	jemalloc(3): Import 5.3.0. [christos 20140923]
 	vether(4): allow link state to be toggled by link0. [roy 20240924]
+	OpenSSH: Import 9.9. [christos 20240924]



CVS commit: src/crypto/external/bsd/openssh

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:32:20 UTC 2024

Modified Files:
src/crypto/external/bsd/openssh/dist: auth.c channels.c channels.h
cipher.c crypto_api.h kex-names.c kex.c kex.h kexc25519.c kexgen.c
kexmlkem768x25519.c kexsntrup761x25519.c match.c monitor.c mux.c
myproposal.h nchan.c packet.c packet.h readconf.c servconf.c
servconf.h sntrup761.c srclimit.c ssh-add.c ssh-ecdsa-sk.c
ssh-ecdsa.c ssh-keygen.1 ssh-keygen.c ssh-keyscan.c
ssh-pkcs11-client.c ssh-pkcs11-helper.c ssh-pkcs11.c ssh-rsa.c
ssh-sk.c ssh.1 ssh_api.c ssh_config.5 sshbuf-getput-crypto.c
sshbuf.c sshbuf.h sshconnect2.c sshd-session.c sshd.8 sshd.c
sshd_config.5 sshkey.c sshkey.h version.h
src/crypto/external/bsd/openssh/dist/moduli-gen: moduli.2048
moduli.3072 moduli.4096 moduli.6144 moduli.7680 moduli.8192
src/crypto/external/bsd/openssh/lib: Makefile shlib_version

Log Message:
merge conflicts between OpenSSH-9.8 and 9.9


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/crypto/external/bsd/openssh/dist/auth.c \
src/crypto/external/bsd/openssh/dist/mux.c
cvs rdiff -u -r1.44 -r1.45 src/crypto/external/bsd/openssh/dist/channels.c
cvs rdiff -u -r1.27 -r1.28 src/crypto/external/bsd/openssh/dist/channels.h \
src/crypto/external/bsd/openssh/dist/packet.h \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11.c
cvs rdiff -u -r1.22 -r1.23 src/crypto/external/bsd/openssh/dist/cipher.c \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11-helper.c
cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/openssh/dist/crypto_api.h
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/openssh/dist/kex-names.c
cvs rdiff -u -r1.36 -r1.37 src/crypto/external/bsd/openssh/dist/kex.c
cvs rdiff -u -r1.26 -r1.27 src/crypto/external/bsd/openssh/dist/kex.h
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/openssh/dist/kexc25519.c \
src/crypto/external/bsd/openssh/dist/ssh-sk.c
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssh/dist/kexgen.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/bsd/openssh/dist/kexmlkem768x25519.c
cvs rdiff -u -r1.3 -r1.4 \
src/crypto/external/bsd/openssh/dist/kexsntrup761x25519.c \
src/crypto/external/bsd/openssh/dist/sntrup761.c \
src/crypto/external/bsd/openssh/dist/sshd-session.c
cvs rdiff -u -r1.16 -r1.17 src/crypto/external/bsd/openssh/dist/match.c
cvs rdiff -u -r1.45 -r1.46 src/crypto/external/bsd/openssh/dist/monitor.c \
src/crypto/external/bsd/openssh/dist/sshd_config.5
cvs rdiff -u -r1.24 -r1.25 src/crypto/external/bsd/openssh/dist/myproposal.h
cvs rdiff -u -r1.15 -r1.16 src/crypto/external/bsd/openssh/dist/nchan.c \
src/crypto/external/bsd/openssh/dist/ssh-ecdsa.c
cvs rdiff -u -r1.51 -r1.52 src/crypto/external/bsd/openssh/dist/packet.c
cvs rdiff -u -r1.46 -r1.47 src/crypto/external/bsd/openssh/dist/readconf.c
cvs rdiff -u -r1.47 -r1.48 src/crypto/external/bsd/openssh/dist/servconf.c \
src/crypto/external/bsd/openssh/dist/ssh-keygen.c \
src/crypto/external/bsd/openssh/dist/version.h
cvs rdiff -u -r1.31 -r1.32 src/crypto/external/bsd/openssh/dist/servconf.h \
src/crypto/external/bsd/openssh/dist/ssh-add.c
cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssh/dist/srclimit.c \
src/crypto/external/bsd/openssh/dist/ssh-ecdsa-sk.c
cvs rdiff -u -r1.38 -r1.39 src/crypto/external/bsd/openssh/dist/ssh-keygen.1
cvs rdiff -u -r1.34 -r1.35 src/crypto/external/bsd/openssh/dist/ssh-keyscan.c
cvs rdiff -u -r1.19 -r1.20 \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11-client.c \
src/crypto/external/bsd/openssh/dist/ssh-rsa.c
cvs rdiff -u -r1.40 -r1.41 src/crypto/external/bsd/openssh/dist/ssh.1
cvs rdiff -u -r1.17 -r1.18 src/crypto/external/bsd/openssh/dist/ssh_api.c
cvs rdiff -u -r1.42 -r1.43 src/crypto/external/bsd/openssh/dist/ssh_config.5
cvs rdiff -u -r1.12 -r1.13 \
src/crypto/external/bsd/openssh/dist/sshbuf-getput-crypto.c
cvs rdiff -u -r1.14 -r1.15 src/crypto/external/bsd/openssh/dist/sshbuf.c
cvs rdiff -u -r1.20 -r1.21 src/crypto/external/bsd/openssh/dist/sshbuf.h \
src/crypto/external/bsd/openssh/dist/sshkey.h
cvs rdiff -u -r1.48 -r1.49 src/crypto/external/bsd/openssh/dist/sshconnect2.c
cvs rdiff -u -r1.32 -r1.33 src/crypto/external/bsd/openssh/dist/sshd.8
cvs rdiff -u -r1.53 -r1.54 src/crypto/external/bsd/openssh/dist/sshd.c
cvs rdiff -u -r1.33 -r1.34 src/crypto/external/bsd/openssh/dist/sshkey.c
cvs rdiff -u -r1.18 -r1.19 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.2048
cvs rdiff -u -r1.20 -r1.21 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.3072 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.4096 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.6144 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.7680 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.8192
cvs rdiff -u -r1.39 -r1.40 sr

CVS commit: src/crypto/external/bsd/openssh

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:32:20 UTC 2024

Modified Files:
src/crypto/external/bsd/openssh/dist: auth.c channels.c channels.h
cipher.c crypto_api.h kex-names.c kex.c kex.h kexc25519.c kexgen.c
kexmlkem768x25519.c kexsntrup761x25519.c match.c monitor.c mux.c
myproposal.h nchan.c packet.c packet.h readconf.c servconf.c
servconf.h sntrup761.c srclimit.c ssh-add.c ssh-ecdsa-sk.c
ssh-ecdsa.c ssh-keygen.1 ssh-keygen.c ssh-keyscan.c
ssh-pkcs11-client.c ssh-pkcs11-helper.c ssh-pkcs11.c ssh-rsa.c
ssh-sk.c ssh.1 ssh_api.c ssh_config.5 sshbuf-getput-crypto.c
sshbuf.c sshbuf.h sshconnect2.c sshd-session.c sshd.8 sshd.c
sshd_config.5 sshkey.c sshkey.h version.h
src/crypto/external/bsd/openssh/dist/moduli-gen: moduli.2048
moduli.3072 moduli.4096 moduli.6144 moduli.7680 moduli.8192
src/crypto/external/bsd/openssh/lib: Makefile shlib_version

Log Message:
merge conflicts between OpenSSH-9.8 and 9.9


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/crypto/external/bsd/openssh/dist/auth.c \
src/crypto/external/bsd/openssh/dist/mux.c
cvs rdiff -u -r1.44 -r1.45 src/crypto/external/bsd/openssh/dist/channels.c
cvs rdiff -u -r1.27 -r1.28 src/crypto/external/bsd/openssh/dist/channels.h \
src/crypto/external/bsd/openssh/dist/packet.h \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11.c
cvs rdiff -u -r1.22 -r1.23 src/crypto/external/bsd/openssh/dist/cipher.c \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11-helper.c
cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/openssh/dist/crypto_api.h
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/openssh/dist/kex-names.c
cvs rdiff -u -r1.36 -r1.37 src/crypto/external/bsd/openssh/dist/kex.c
cvs rdiff -u -r1.26 -r1.27 src/crypto/external/bsd/openssh/dist/kex.h
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/openssh/dist/kexc25519.c \
src/crypto/external/bsd/openssh/dist/ssh-sk.c
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssh/dist/kexgen.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/bsd/openssh/dist/kexmlkem768x25519.c
cvs rdiff -u -r1.3 -r1.4 \
src/crypto/external/bsd/openssh/dist/kexsntrup761x25519.c \
src/crypto/external/bsd/openssh/dist/sntrup761.c \
src/crypto/external/bsd/openssh/dist/sshd-session.c
cvs rdiff -u -r1.16 -r1.17 src/crypto/external/bsd/openssh/dist/match.c
cvs rdiff -u -r1.45 -r1.46 src/crypto/external/bsd/openssh/dist/monitor.c \
src/crypto/external/bsd/openssh/dist/sshd_config.5
cvs rdiff -u -r1.24 -r1.25 src/crypto/external/bsd/openssh/dist/myproposal.h
cvs rdiff -u -r1.15 -r1.16 src/crypto/external/bsd/openssh/dist/nchan.c \
src/crypto/external/bsd/openssh/dist/ssh-ecdsa.c
cvs rdiff -u -r1.51 -r1.52 src/crypto/external/bsd/openssh/dist/packet.c
cvs rdiff -u -r1.46 -r1.47 src/crypto/external/bsd/openssh/dist/readconf.c
cvs rdiff -u -r1.47 -r1.48 src/crypto/external/bsd/openssh/dist/servconf.c \
src/crypto/external/bsd/openssh/dist/ssh-keygen.c \
src/crypto/external/bsd/openssh/dist/version.h
cvs rdiff -u -r1.31 -r1.32 src/crypto/external/bsd/openssh/dist/servconf.h \
src/crypto/external/bsd/openssh/dist/ssh-add.c
cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssh/dist/srclimit.c \
src/crypto/external/bsd/openssh/dist/ssh-ecdsa-sk.c
cvs rdiff -u -r1.38 -r1.39 src/crypto/external/bsd/openssh/dist/ssh-keygen.1
cvs rdiff -u -r1.34 -r1.35 src/crypto/external/bsd/openssh/dist/ssh-keyscan.c
cvs rdiff -u -r1.19 -r1.20 \
src/crypto/external/bsd/openssh/dist/ssh-pkcs11-client.c \
src/crypto/external/bsd/openssh/dist/ssh-rsa.c
cvs rdiff -u -r1.40 -r1.41 src/crypto/external/bsd/openssh/dist/ssh.1
cvs rdiff -u -r1.17 -r1.18 src/crypto/external/bsd/openssh/dist/ssh_api.c
cvs rdiff -u -r1.42 -r1.43 src/crypto/external/bsd/openssh/dist/ssh_config.5
cvs rdiff -u -r1.12 -r1.13 \
src/crypto/external/bsd/openssh/dist/sshbuf-getput-crypto.c
cvs rdiff -u -r1.14 -r1.15 src/crypto/external/bsd/openssh/dist/sshbuf.c
cvs rdiff -u -r1.20 -r1.21 src/crypto/external/bsd/openssh/dist/sshbuf.h \
src/crypto/external/bsd/openssh/dist/sshkey.h
cvs rdiff -u -r1.48 -r1.49 src/crypto/external/bsd/openssh/dist/sshconnect2.c
cvs rdiff -u -r1.32 -r1.33 src/crypto/external/bsd/openssh/dist/sshd.8
cvs rdiff -u -r1.53 -r1.54 src/crypto/external/bsd/openssh/dist/sshd.c
cvs rdiff -u -r1.33 -r1.34 src/crypto/external/bsd/openssh/dist/sshkey.c
cvs rdiff -u -r1.18 -r1.19 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.2048
cvs rdiff -u -r1.20 -r1.21 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.3072 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.4096 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.6144 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.7680 \
src/crypto/external/bsd/openssh/dist/moduli-gen/moduli.8192
cvs rdiff -u -r1.39 -r1.40 sr

CVS import: src/crypto/external/bsd/openssh/dist

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:28:24 UTC 2024

Update of /cvsroot/src/crypto/external/bsd/openssh/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv25864

Log Message:
Import OpenSSH-9.9 (previous was 9.8)

Changes:

Future deprecation notice
=

OpenSSH plans to remove support for the DSA signature algorithm in
early 2025. This release disables DSA by default at compile time.

DSA, as specified in the SSHv2 protocol, is inherently weak - being
limited to a 160 bit private key and use of the SHA1 digest. Its
estimated security level is only 80 bits symmetric equivalent.

OpenSSH has disabled DSA keys by default since 2015 but has retained
run-time optional support for them. DSA was the only mandatory-to-
implement algorithm in the SSHv2 RFCs, mostly because alternative
algorithms were encumbered by patents when the SSHv2 protocol was
specified.

This has not been the case for decades at this point and better
algorithms are well supported by all actively-maintained SSH
implementations. We do not consider the costs of maintaining DSA
in OpenSSH to be justified and hope that removing it from OpenSSH
can accelerate its wider deprecation in supporting cryptography
libraries.

Currently DSA is disabled at compile time. The final step of
removing DSA support entirely is planned for the first OpenSSH
release of 2025.

DSA support may be re-enabled on OpenBSD by setting "DSAKEY=yes"
in Makefile.inc. To enable DSA support in portable OpenSSH, pass
the "--enable-dsa-keys" option to configure.

Potentially-incompatible changes


 * ssh(1): remove support for pre-authentication compression.
   OpenSSH has only supported post-authentication compression in
   the server for some years. Compression before authentication
   significantly increases the attack surface of SSH servers and risks
   creating oracles that reveal information about information sent
   during authentication.

 * ssh(1), sshd(8): processing of the arguments to the "Match"
   configuration directive now follows more shell-like rules for
   quoted strings, including allowing nested quotes and \-escaped
   characters. If configurations contained workarounds for the
   previous simplistic quote handling then they may need to be
   adjusted. If this is the case, it's most likely to be in the
   arguments to a "Match exec" confition. In this case, moving the
   command to be evaluated from the Match line to an external shell
   script is easiest way to preserve compatibility with both the old
   and new versions.

Changes since OpenSSH 9.8
=

This release contains a number of new features and bugfixes.

New features


 * ssh(1), sshd(8): add support for a new hybrid post-quantum key
   exchange based on the FIPS 203 Module-Lattice Key Enapsulation
   mechanism (ML-KEM) combined with X25519 ECDH as described by
   https://datatracker.ietf.org/doc/html/draft-kampanakis-curdle-ssh-pq-ke-03
   This algorithm "mlkem768x25519-sha256" is available by default.

 * ssh(1): the ssh_config "Include" directive can now expand
   environment as well as the same set of %-tokens "Match Exec"
   supports.

 * sshd(8): add a sshd_config "RefuseConnection" option that, if set
   will terminate the connection at the first authentication request.

 * sshd(8): add a "refuseconnection" penalty class to sshd_config
   PerSourcePenalties that is applied when a connection is dropped by
   the new RefuseConnection keyword.

 * sshd(8): add a "Match invalid-user" predicate to sshd_config Match
   options that matches when the target username is not valid on the
   server.

 * ssh(1), sshd(8): update the Streamlined NTRUPrime code to a
   substantially faster implementation.

 * ssh(1), sshd(8): the hybrid Streamlined NTRUPrime/X25519 key
   exchange algorithm now has an IANA-assigned name in addition to
   the "@openssh.com" vendor extension name. This algorithm is now
   also available under this name "sntrup761x25519-sha512"

 * ssh(1), sshd(8), ssh-agent(1): prevent private keys from being
   included in core dump files for most of their lifespans. This is
   in addition to pre-existing controls in ssh-agent(1) and sshd(8)
   that prevented coredumps. This feature is supported on OpenBSD,
   Linux and FreeBSD.

 * All: convert key handling to use the libcrypto EVP_PKEY API, with
   the exception of DSA.

 * sshd(8): add a random amount of jitter (up to 4 seconds) to the
   grace login time to make its expiry unpredictable.

Bugfixes

* sshd(8): relax absolute path requirement back to what it was prior
   to OpenSSH 9.8, which incorrectly required that sshd was started
   with an absolute path in inetd mode. bz3717

 * sshd(8): fix regression introduced in openssh-9.8 that swapped the
   order of source and destination addresses in some sshd log messages.

 * sshd(8): do not apply authorized_keys options when signature
   verification fails.

CVS import: src/crypto/external/bsd/openssh/dist

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 21:28:24 UTC 2024

Update of /cvsroot/src/crypto/external/bsd/openssh/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv25864

Log Message:
Import OpenSSH-9.9 (previous was 9.8)

Changes:

Future deprecation notice
=

OpenSSH plans to remove support for the DSA signature algorithm in
early 2025. This release disables DSA by default at compile time.

DSA, as specified in the SSHv2 protocol, is inherently weak - being
limited to a 160 bit private key and use of the SHA1 digest. Its
estimated security level is only 80 bits symmetric equivalent.

OpenSSH has disabled DSA keys by default since 2015 but has retained
run-time optional support for them. DSA was the only mandatory-to-
implement algorithm in the SSHv2 RFCs, mostly because alternative
algorithms were encumbered by patents when the SSHv2 protocol was
specified.

This has not been the case for decades at this point and better
algorithms are well supported by all actively-maintained SSH
implementations. We do not consider the costs of maintaining DSA
in OpenSSH to be justified and hope that removing it from OpenSSH
can accelerate its wider deprecation in supporting cryptography
libraries.

Currently DSA is disabled at compile time. The final step of
removing DSA support entirely is planned for the first OpenSSH
release of 2025.

DSA support may be re-enabled on OpenBSD by setting "DSAKEY=yes"
in Makefile.inc. To enable DSA support in portable OpenSSH, pass
the "--enable-dsa-keys" option to configure.

Potentially-incompatible changes


 * ssh(1): remove support for pre-authentication compression.
   OpenSSH has only supported post-authentication compression in
   the server for some years. Compression before authentication
   significantly increases the attack surface of SSH servers and risks
   creating oracles that reveal information about information sent
   during authentication.

 * ssh(1), sshd(8): processing of the arguments to the "Match"
   configuration directive now follows more shell-like rules for
   quoted strings, including allowing nested quotes and \-escaped
   characters. If configurations contained workarounds for the
   previous simplistic quote handling then they may need to be
   adjusted. If this is the case, it's most likely to be in the
   arguments to a "Match exec" confition. In this case, moving the
   command to be evaluated from the Match line to an external shell
   script is easiest way to preserve compatibility with both the old
   and new versions.

Changes since OpenSSH 9.8
=

This release contains a number of new features and bugfixes.

New features


 * ssh(1), sshd(8): add support for a new hybrid post-quantum key
   exchange based on the FIPS 203 Module-Lattice Key Enapsulation
   mechanism (ML-KEM) combined with X25519 ECDH as described by
   https://datatracker.ietf.org/doc/html/draft-kampanakis-curdle-ssh-pq-ke-03
   This algorithm "mlkem768x25519-sha256" is available by default.

 * ssh(1): the ssh_config "Include" directive can now expand
   environment as well as the same set of %-tokens "Match Exec"
   supports.

 * sshd(8): add a sshd_config "RefuseConnection" option that, if set
   will terminate the connection at the first authentication request.

 * sshd(8): add a "refuseconnection" penalty class to sshd_config
   PerSourcePenalties that is applied when a connection is dropped by
   the new RefuseConnection keyword.

 * sshd(8): add a "Match invalid-user" predicate to sshd_config Match
   options that matches when the target username is not valid on the
   server.

 * ssh(1), sshd(8): update the Streamlined NTRUPrime code to a
   substantially faster implementation.

 * ssh(1), sshd(8): the hybrid Streamlined NTRUPrime/X25519 key
   exchange algorithm now has an IANA-assigned name in addition to
   the "@openssh.com" vendor extension name. This algorithm is now
   also available under this name "sntrup761x25519-sha512"

 * ssh(1), sshd(8), ssh-agent(1): prevent private keys from being
   included in core dump files for most of their lifespans. This is
   in addition to pre-existing controls in ssh-agent(1) and sshd(8)
   that prevented coredumps. This feature is supported on OpenBSD,
   Linux and FreeBSD.

 * All: convert key handling to use the libcrypto EVP_PKEY API, with
   the exception of DSA.

 * sshd(8): add a random amount of jitter (up to 4 seconds) to the
   grace login time to make its expiry unpredictable.

Bugfixes

* sshd(8): relax absolute path requirement back to what it was prior
   to OpenSSH 9.8, which incorrectly required that sshd was started
   with an absolute path in inetd mode. bz3717

 * sshd(8): fix regression introduced in openssh-9.8 that swapped the
   order of source and destination addresses in some sshd log messages.

 * sshd(8): do not apply authorized_keys options when signature
   verification fails.

CVS commit: src/share/mk

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 14:25:44 UTC 2024

Modified Files:
src/share/mk: bsd.README bsd.prog.mk

Log Message:
Add some new X libraries, sort again. There are more missing...
(run ./compare-lib-lists after you install the .mk files)


To generate a diff of this commit:
cvs rdiff -u -r1.449 -r1.450 src/share/mk/bsd.README
cvs rdiff -u -r1.349 -r1.350 src/share/mk/bsd.prog.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.README
diff -u src/share/mk/bsd.README:1.449 src/share/mk/bsd.README:1.450
--- src/share/mk/bsd.README:1.449	Fri Jun 28 17:58:24 2024
+++ src/share/mk/bsd.README	Tue Sep 24 10:25:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.README,v 1.449 2024/06/28 21:58:24 riastradh Exp $
+#	$NetBSD: bsd.README,v 1.450 2024/09/24 14:25:43 christos Exp $
 #	@(#)bsd.README	8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -1423,6 +1423,7 @@ DPADD		Additional dependencies for the p
 		The following X-Windows libraries are predefined for DPADD:
 
 		LIBDPS?=		${DESTDIR}/usr/X11R7/lib/libdps.a
+		LIBEGL?=		${DESTDIR}/usr/X11R7/lib/libEGL.a
 		LIBFNTSTUBS?=		${DESTDIR}/usr/X11R7/lib/libfntstubs.a
 		LIBFONTCACHE?=		${DESTDIR}/usr/X11R7/lib/libfontcache.a
 		LIBFONTCONFIG?=		${DESTDIR}/usr/X11R7/lib/libfontconfig.a
@@ -1431,15 +1432,21 @@ DPADD		Additional dependencies for the p
 		LIBFS?=			${DESTDIR}/usr/X11R7/lib/libFS.a
 		LIBGL?=			${DESTDIR}/usr/X11R7/lib/libGL.a
 		LIBGLU?=		${DESTDIR}/usr/X11R7/lib/libGLU.a
+		LIBGLW?=		${DESTDIR}/usr/X11R7/lib/libGLw.a
+		LIBI810XVMC		4{DESTDIR}/usr/X11R7/lib/libI810XvMC.a
 		LIBICE?=		${DESTDIR}/usr/X11R7/lib/libICE.a
+		LIBINTELXVMC		${DESTDIR}/usr/X11R7/lib/libIntelXvMC.a
 		LIBLBXUTIL?=		${DESTDIR}/usr/X11R7/lib/liblbxutil.a
 		LIBSM?=			${DESTDIR}/usr/X11R7/lib/libSM.a
-		LIBX11?=		${DESTDIR}/usr/X11R7/lib/libX11.a
 		LIBX11_XCB?=		${DESTDIR}/usr/X11R7/lib/libX11-xcb.a
+		LIBX11?=		${DESTDIR}/usr/X11R7/lib/libX11.a
+		LIBXRES?=		${DESTDIR}/usr/X11R7/lib/libXres.a
 		LIBXAU?=		${DESTDIR}/usr/X11R7/lib/libXau.a
+		LIBXAU7?=		${DESTDIR}/usr/X11R7/lib/libXau7.a
 		LIBXAW?=		${DESTDIR}/usr/X11R7/lib/libXaw.a
 		LIBXCB?=		${DESTDIR}/usr/X11R7/lib/libxcb.a
 		LIBXCOMPOSITE?=		${DESTDIR}/usr/X11R7/lib/libXcomposite.a
+		LIBXCURSOR?=		${DESTDIR}/usr/X11R7/lib/libXcursor.a
 		LIBXCVT?=		${DESTDIR}/usr/X11R7/lib/libxcvt.a
 		LIBXDAMAGE?=		${DESTDIR}/usr/X11R7/lib/libXdamage.a
 		LIBXDMCP?=		${DESTDIR}/usr/X11R7/lib/libXdmcp.a

Index: src/share/mk/bsd.prog.mk
diff -u src/share/mk/bsd.prog.mk:1.349 src/share/mk/bsd.prog.mk:1.350
--- src/share/mk/bsd.prog.mk:1.349	Mon May  6 04:43:37 2024
+++ src/share/mk/bsd.prog.mk	Tue Sep 24 10:25:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.prog.mk,v 1.349 2024/05/06 08:43:37 mrg Exp $
+#	$NetBSD: bsd.prog.mk,v 1.350 2024/09/24 14:25:43 christos Exp $
 #	@(#)bsd.prog.mk	8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -244,10 +244,11 @@ PAM_STATIC_DPADD=
 
 #	NB:	If you are a library here, add it in bsd.README
 #	This list is sorted with -f so that it matches the order in bsd.README
-_X11LIBLIST= dps fntstubs fontcache fontconfig fontenc freetype FS GL GLU \
-ICE lbxutil SM X11 X11_xcb Xau Xaw xcb xcvt Xdmcp Xext Xfont Xfont2 Xft Xi \
+_X11LIBLIST= dps EGL fntstubs fontcache fontconfig fontenc freetype FS GL GLU \
+GLw I810XvMC  ICE IntelXvMC lbxutil SM X11 X11_xcb Xres Xau Xau7 Xaw xcb \
+Xcomposite Xcursor xcvt Xdamage Xdmcp Xext Xfixes Xfont Xfont2 Xft Xi \
 Xinerama xkbfile Xmu Xmuu Xpm Xrandr Xrender Xss Xt XTrap Xtst Xv Xxf86dga \
-Xxf86misc Xxf86vm Xcomposite Xdamage Xfixes
+Xxf86misc Xxf86vm
 _XCBLIBLIST= \
 atom aux composite damage dpms dri2 dri3 event glx icccm image keysyms \
 present property randr record render_util render reply res screensaver \



CVS commit: src/share/mk

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 14:25:44 UTC 2024

Modified Files:
src/share/mk: bsd.README bsd.prog.mk

Log Message:
Add some new X libraries, sort again. There are more missing...
(run ./compare-lib-lists after you install the .mk files)


To generate a diff of this commit:
cvs rdiff -u -r1.449 -r1.450 src/share/mk/bsd.README
cvs rdiff -u -r1.349 -r1.350 src/share/mk/bsd.prog.mk

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



CVS commit: src/share/mk

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 14:08:14 UTC 2024

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
switch x86 to new jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.1405 -r1.1406 src/share/mk/bsd.own.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.own.mk
diff -u src/share/mk/bsd.own.mk:1.1405 src/share/mk/bsd.own.mk:1.1406
--- src/share/mk/bsd.own.mk:1.1405	Mon Sep 23 09:00:13 2024
+++ src/share/mk/bsd.own.mk	Tue Sep 24 10:08:14 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1405 2024/09/23 13:00:13 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.1406 2024/09/24 14:08:14 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -251,6 +251,8 @@ USE_SSP?=	yes
 #
 .if ${MACHINE_ARCH} == "vax" || ${MACHINE} == "sun2"
 HAVE_JEMALLOC?=		100
+.elif ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
+HAVE_JEMALLOC?=		530
 .else
 HAVE_JEMALLOC?=		510
 .endif



CVS commit: src/share/mk

2024-09-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 14:08:14 UTC 2024

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
switch x86 to new jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.1405 -r1.1406 src/share/mk/bsd.own.mk

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



CVS commit: src/external/bsd/jemalloc/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 00:33:50 UTC 2024

Modified Files:
src/external/bsd/jemalloc/lib: shlib_version

Log Message:
put back version 0, there are no new symbols


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/jemalloc/lib/shlib_version

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



CVS commit: src/external/bsd/jemalloc/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 24 00:33:50 UTC 2024

Modified Files:
src/external/bsd/jemalloc/lib: shlib_version

Log Message:
put back version 0, there are no new symbols


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/jemalloc/lib/shlib_version

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/jemalloc/lib/shlib_version
diff -u src/external/bsd/jemalloc/lib/shlib_version:1.3 src/external/bsd/jemalloc/lib/shlib_version:1.4
--- src/external/bsd/jemalloc/lib/shlib_version:1.3	Mon Sep 23 11:03:47 2024
+++ src/external/bsd/jemalloc/lib/shlib_version	Mon Sep 23 20:33:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: shlib_version,v 1.3 2024/09/23 15:03:47 christos Exp $
+#	$NetBSD: shlib_version,v 1.4 2024/09/24 00:33:50 christos Exp $
 #
-major=1
+major=0
 minor=0



CVS commit: src/lib/libc/thread-stub

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 22:38:59 UTC 2024

Modified Files:
src/lib/libc/thread-stub: thread-stub.c

Log Message:
Add weak aliases for methods used by the new jemalloc. Co-opt the mutex
catchall for now for it.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/libc/thread-stub/thread-stub.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/thread-stub/thread-stub.c
diff -u src/lib/libc/thread-stub/thread-stub.c:1.32 src/lib/libc/thread-stub/thread-stub.c:1.33
--- src/lib/libc/thread-stub/thread-stub.c:1.32	Tue Apr 19 16:32:16 2022
+++ src/lib/libc/thread-stub/thread-stub.c	Mon Sep 23 18:38:59 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: thread-stub.c,v 1.32 2022/04/19 20:32:16 rillig Exp $	*/
+/*	$NetBSD: thread-stub.c,v 1.33 2024/09/23 22:38:59 christos Exp $	*/
 
 /*-
  * Copyright (c) 2003, 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: thread-stub.c,v 1.32 2022/04/19 20:32:16 rillig Exp $");
+__RCSID("$NetBSD: thread-stub.c,v 1.33 2024/09/23 22:38:59 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 /*
@@ -91,6 +91,9 @@ pthread_detach(pthread_t thread)
 	return ESRCH;
 }
 
+__weak_alias(pthread_setname_np, __libc_mutex_catchall_stub)
+__weak_alias(pthread_setaffinity_np, __libc_mutex_catchall_stub)
+
 /* mutexes */
 
 int __libc_mutex_catchall_stub(mutex_t *);



CVS commit: src/lib/libc/thread-stub

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 22:38:59 UTC 2024

Modified Files:
src/lib/libc/thread-stub: thread-stub.c

Log Message:
Add weak aliases for methods used by the new jemalloc. Co-opt the mutex
catchall for now for it.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/libc/thread-stub/thread-stub.c

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



CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 22:37:35 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/src: fxp.c hpa.c inspect.c prof_data.c
prof_recent.c safety_check.c
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
fix static linking


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc/dist/src/fxp.c \
src/external/bsd/jemalloc/dist/src/hpa.c \
src/external/bsd/jemalloc/dist/src/inspect.c \
src/external/bsd/jemalloc/dist/src/prof_data.c \
src/external/bsd/jemalloc/dist/src/prof_recent.c \
src/external/bsd/jemalloc/dist/src/safety_check.c
cvs rdiff -u -r1.18 -r1.19 src/external/bsd/jemalloc/lib/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/bsd/jemalloc/dist/src/fxp.c
diff -u src/external/bsd/jemalloc/dist/src/fxp.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/fxp.c:1.2
--- src/external/bsd/jemalloc/dist/src/fxp.c:1.1.1.1	Mon Sep 23 10:59:43 2024
+++ src/external/bsd/jemalloc/dist/src/fxp.c	Mon Sep 23 18:37:35 2024
@@ -43,7 +43,7 @@ fxp_parse(fxp_t *result, const char *str
 	if (*cur != '.') {
 		*result = (integer_part << 16);
 		if (end != NULL) {
-			*end = (char *)cur;
+			*end = (char *)__UNCONST(cur);
 		}
 		return false;
 	}
@@ -89,7 +89,7 @@ fxp_parse(fxp_t *result, const char *str
 	/* Success! */
 	*result = (integer_part << 16) + fractional_repr;
 	if (end != NULL) {
-		*end = (char *)cur;
+		*end = (char *)__UNCONST(cur);
 	}
 	return false;
 }
Index: src/external/bsd/jemalloc/dist/src/hpa.c
diff -u src/external/bsd/jemalloc/dist/src/hpa.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/hpa.c:1.2
--- src/external/bsd/jemalloc/dist/src/hpa.c:1.1.1.1	Mon Sep 23 10:59:43 2024
+++ src/external/bsd/jemalloc/dist/src/hpa.c	Mon Sep 23 18:37:35 2024
@@ -24,7 +24,7 @@ static void hpa_dalloc_batch(tsdn_t *tsd
 static uint64_t hpa_time_until_deferred_work(tsdn_t *tsdn, pai_t *self);
 
 bool
-hpa_supported() {
+hpa_supported(void) {
 #ifdef _WIN32
 	/*
 	 * At least until the API and implementation is somewhat settled, we
@@ -87,7 +87,7 @@ hpa_alloc_ps(tsdn_t *tsdn, hpa_central_t
 	CACHELINE);
 }
 
-hpdata_t *
+static hpdata_t *
 hpa_central_extract(tsdn_t *tsdn, hpa_central_t *central, size_t size,
 bool *oom) {
 	/* Don't yet support big allocations; these should get filtered out. */
Index: src/external/bsd/jemalloc/dist/src/inspect.c
diff -u src/external/bsd/jemalloc/dist/src/inspect.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/inspect.c:1.2
--- src/external/bsd/jemalloc/dist/src/inspect.c:1.1.1.1	Mon Sep 23 10:59:43 2024
+++ src/external/bsd/jemalloc/dist/src/inspect.c	Mon Sep 23 18:37:35 2024
@@ -1,5 +1,6 @@
 #include "jemalloc/internal/jemalloc_preamble.h"
 #include "jemalloc/internal/jemalloc_internal_includes.h"
+#include "jemalloc/internal/inspect.h"
 
 void
 inspect_extent_util_stats_get(tsdn_t *tsdn, const void *ptr, size_t *nfree,
Index: src/external/bsd/jemalloc/dist/src/prof_data.c
diff -u src/external/bsd/jemalloc/dist/src/prof_data.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/prof_data.c:1.2
--- src/external/bsd/jemalloc/dist/src/prof_data.c:1.1.1.1	Mon Sep 23 10:59:43 2024
+++ src/external/bsd/jemalloc/dist/src/prof_data.c	Mon Sep 23 18:37:35 2024
@@ -452,7 +452,7 @@ prof_thread_name_alloc(tsd_t *tsd, const
 
 	size = strlen(thread_name) + 1;
 	if (size == 1) {
-		return "";
+		return __UNCONST("");
 	}
 
 	ret = iallocztm(tsd_tsdn(tsd), size, sz_size2index(size), false, NULL,
@@ -482,7 +482,7 @@ prof_thread_name_set_impl(tsd_t *tsd, co
 		return EFAULT;
 	}
 	for (i = 0; thread_name[i] != '\0'; i++) {
-		char c = thread_name[i];
+		unsigned char c = thread_name[i];
 		if (!isgraph(c) && !isblank(c)) {
 			return EFAULT;
 		}
@@ -538,7 +538,7 @@ prof_double_uint64_cast(double d) {
 }
 #endif
 
-void prof_unbias_map_init() {
+void prof_unbias_map_init(void) {
 	/* See the comment in prof_sample_new_event_wait */
 #ifdef JEMALLOC_PROF
 	for (szind_t i = 0; i < SC_NSIZES; i++) {
@@ -1137,7 +1137,7 @@ prof_cnt_all(prof_cnt_t *cnt_all) {
 
 void
 prof_bt_hash(const void *key, size_t r_hash[2]) {
-	prof_bt_t *bt = (prof_bt_t *)key;
+	prof_bt_t *bt = (prof_bt_t *)__UNCONST(key);
 
 	cassert(config_prof);
 
@@ -1146,8 +1146,8 @@ prof_bt_hash(const void *key, size_t r_h
 
 bool
 prof_bt_keycomp(const void *k1, const void *k2) {
-	const prof_bt_t *bt1 = (prof_bt_t *)k1;
-	const prof_bt_t *bt2 = (prof_bt_t *)k2;
+	const prof_bt_t *bt1 = (const prof_bt_t *)k1;
+	const prof_bt_t *bt2 = (const prof_bt_t *)k2;
 
 	cassert(config_prof);
 
Index: src/external/bsd/jemalloc/dist/src/prof_recent.c
diff -u src/external/bsd/jemalloc/dist/src/prof_recent.c:1.1.1.1 src/external/bsd/jemalloc/dist/src/prof_recent.c:1.2
--- src/external/bsd/jemalloc/dist/src/prof_recent.c:1.1.1.1	Mon Sep 23 10:59:43 2024
+++ src/external/bsd/jemalloc/dist/src/prof_recent.c	Mon Sep 23 

CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 22:37:35 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/src: fxp.c hpa.c inspect.c prof_data.c
prof_recent.c safety_check.c
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
fix static linking


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc/dist/src/fxp.c \
src/external/bsd/jemalloc/dist/src/hpa.c \
src/external/bsd/jemalloc/dist/src/inspect.c \
src/external/bsd/jemalloc/dist/src/prof_data.c \
src/external/bsd/jemalloc/dist/src/prof_recent.c \
src/external/bsd/jemalloc/dist/src/safety_check.c
cvs rdiff -u -r1.18 -r1.19 src/external/bsd/jemalloc/lib/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/bsd/jemalloc/include/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 21:08:37 UTC 2024

Modified Files:
src/external/bsd/jemalloc/include/jemalloc: jemalloc.h jemalloc_defs.h
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h

Log Message:
byteorder and _LP64 changes


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/bsd/jemalloc/include/jemalloc/jemalloc.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_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/bsd/jemalloc/include/jemalloc/jemalloc.h
diff -u src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.7 src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.8
--- src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.7	Mon Sep 23 11:03:43 2024
+++ src/external/bsd/jemalloc/include/jemalloc/jemalloc.h	Mon Sep 23 17:08:37 2024
@@ -57,7 +57,11 @@ extern "C" {
 #endif
 
 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */
+#ifdef _LP64
 #define LG_SIZEOF_PTR 3
+#else
+#define LG_SIZEOF_PTR 2
+#endif
 
 /*
  * Name mangling for public symbols is controlled by --with-mangling and

Index: src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h
diff -u src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h:1.3 src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h:1.4
--- src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h:1.3	Mon Sep 23 11:03:43 2024
+++ src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h	Mon Sep 23 17:08:37 2024
@@ -52,4 +52,8 @@
 #endif
 
 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */
+#ifdef _LP64
 #define LG_SIZEOF_PTR 3
+#else
+#define LG_SIZEOF_PTR 2
+#endif

Index: src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.15 src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.16
--- src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.15	Mon Sep 23 11:03:45 2024
+++ src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h	Mon Sep 23 17:08:37 2024
@@ -42,7 +42,11 @@
  * total number of bits in a pointer, e.g. on x64, for which the uppermost 16
  * bits are the same as bit 47.
  */
+#ifdef _LP64
 #define LG_VADDR 48
+#else
+#define LG_VADDR 32
+#endif
 
 /* Defined if C11 atomics are available. */
 #define JEMALLOC_C11_ATOMICS 
@@ -350,13 +354,20 @@
 #define JEMALLOC_HAS_RESTRICT 
 
 /* For use by hash code. */
-/* #undef JEMALLOC_BIG_ENDIAN */
+#include 
+#if _BYTE_ORDER == _BIG_ENDIAN
+#define JEMALLOC_BIG_ENDIAN 
+#endif
 
 /* sizeof(int) == 2^LG_SIZEOF_INT. */
 #define LG_SIZEOF_INT 2
 
 /* sizeof(long) == 2^LG_SIZEOF_LONG. */
+#ifdef _LP64
 #define LG_SIZEOF_LONG 3
+#else
+#define LG_SIZEOF_LONG 2
+#endif
 
 /* sizeof(long long) == 2^LG_SIZEOF_LONG_LONG. */
 #define LG_SIZEOF_LONG_LONG 3



CVS commit: src/external/bsd/jemalloc/include/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 21:08:37 UTC 2024

Modified Files:
src/external/bsd/jemalloc/include/jemalloc: jemalloc.h jemalloc_defs.h
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h

Log Message:
byteorder and _LP64 changes


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/bsd/jemalloc/include/jemalloc/jemalloc.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h

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



CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 17:53:42 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_externs.h atomic_c11.h edata.h ehooks.h hook.h hpa.h
jemalloc_internal_types.h mutex_prof.h ph.h prof_data.h
prof_externs.h prof_recent.h prof_sys.h safety_check.h san_bump.h
test_hooks.h tsd.h util.h witness.h
src/external/bsd/jemalloc/dist/src: ctl.c
src/external/bsd/jemalloc/include/jemalloc/internal: edata.h
jemalloc_internal_types.h ph.h util.h
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
reduce differences with upstream, pass lint.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/edata.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ehooks.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hook.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hpa.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_data.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_recent.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_sys.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/safety_check.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/san_bump.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/test_hooks.h
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_types.h
 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_externs.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/tsd.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/util.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ph.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/jemalloc/dist/src/ctl.c
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/jemalloc/include/jemalloc/internal/edata.h
cvs rdiff -u -r1.5 -r1.6 \

src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h \
src/external/bsd/jemalloc/include/jemalloc/internal/ph.h
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/include/jemalloc/internal/util.h
cvs rdiff -u -r1.17 -r1.18 src/external/bsd/jemalloc/lib/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/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h:1.3 src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h:1.4
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h:1.3	Mon Sep 23 11:03:41 2024
+++ src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h	Mon Sep 23 13:53:41 2024
@@ -68,7 +68,7 @@ void *arena_malloc_hard(tsdn_t *tsdn, ar
 szind_t ind, bool zero);
 void *arena_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize,
 size_t alignment, bool zero, tcache_t *tcache);
-void arena_prof_promote(tsdn_t *tsdn, const void *ptr, size_t usize);
+void arena_prof_promote(tsdn_t *tsdn, void *ptr, size_t usize);
 void arena_dalloc_promoted(tsdn_t *tsdn, void *ptr, tcache_t *tcache,
 bool slow_path);
 void arena_slab_dalloc(tsdn_t *tsdn, arena_t *arena, edata_t *slab);

Index: src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h:1.2 src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h:1.3
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h:1.2	Tue Mar  5 17:51:36 2019
+++ src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h	Mon Sep 23 13:53:41 2024
@@ -27,7 +27,7 @@ atomic_load_##short_type(const atomic_##
 	 * convenient for our purposes. This cast is a workaround.	\
 	 */\
 	atomic_##short_type##_t* a_nonconst =\
-	(atomic_##short_type##_t*)(_Atomic void *)(_Atomic uintptr_t)(a);			\
+	(atomic_##short_type##_t*)a;\
 	return atomic_load_explicit(a_nonconst, mo);			\
 }	\
 	\

Index: src/external/bsd/jemalloc/dist/include/jemalloc/internal/edata.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/edata.h:1.1.1.1 src/external/bsd/jemalloc/dist/include/jemalloc/internal/edata.h:1.2
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/e

CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 17:53:42 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_externs.h atomic_c11.h edata.h ehooks.h hook.h hpa.h
jemalloc_internal_types.h mutex_prof.h ph.h prof_data.h
prof_externs.h prof_recent.h prof_sys.h safety_check.h san_bump.h
test_hooks.h tsd.h util.h witness.h
src/external/bsd/jemalloc/dist/src: ctl.c
src/external/bsd/jemalloc/include/jemalloc/internal: edata.h
jemalloc_internal_types.h ph.h util.h
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
reduce differences with upstream, pass lint.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_c11.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/edata.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ehooks.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hook.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hpa.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_data.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_recent.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_sys.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/safety_check.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/san_bump.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/test_hooks.h
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_types.h
 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/prof_externs.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/tsd.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/util.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ph.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/jemalloc/dist/src/ctl.c
cvs rdiff -u -r1.1 -r1.2 \
src/external/bsd/jemalloc/include/jemalloc/internal/edata.h
cvs rdiff -u -r1.5 -r1.6 \

src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h \
src/external/bsd/jemalloc/include/jemalloc/internal/ph.h
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/include/jemalloc/internal/util.h
cvs rdiff -u -r1.17 -r1.18 src/external/bsd/jemalloc/lib/Makefile.inc

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



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:49:42 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
Move lintflags to jemalloc Makefile.inc fragment


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/lib/libc/stdlib/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/lib/libc/stdlib/Makefile.inc
diff -u src/lib/libc/stdlib/Makefile.inc:1.102 src/lib/libc/stdlib/Makefile.inc:1.103
--- src/lib/libc/stdlib/Makefile.inc:1.102	Mon Sep 23 11:44:43 2024
+++ src/lib/libc/stdlib/Makefile.inc	Mon Sep 23 11:49:42 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.102 2024/09/23 15:44:43 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.103 2024/09/23 15:49:42 christos Exp $
 #	from: @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
 
 # stdlib sources
@@ -112,37 +112,3 @@ MLINKS+=tsearch.3 tfind.3 tsearch.3 twal
 # lint(1) spuriously complains about `*s == CHAR_MAX' even though *s
 # has type char.
 LINTFLAGS.strfmon.c += -X 230
-
-# jemalloc
-LINTFLAGS.arena.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.background_thread.c += -X 86,117,132,161,191,193,207,217,226
-LINTFLAGS.base.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.bin.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.bitmap.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.chk.c += -X 191,193,217,226,239
-LINTFLAGS.ckh.c += -X 86,117,161,191,193,207,217,226,239,284
-LINTFLAGS.ctl.c += -X 86,117,135,161,193,191,207,217,226
-LINTFLAGS.divide.c += -X 226
-LINTFLAGS.extent.c += -X 86,161,117,191,193,207,217,226
-LINTFLAGS.extent_dss.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.extent_mmap.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.jemalloc.c += -X 86,117,161,191,193,207,217,226,236,307
-LINTFLAGS.jemalloc.c += -X 141 # i386
-LINTFLAGS.hooks.c += -X 226
-LINTFLAGS.large.c += -X 86,161,117,191,193,207,217,226
-LINTFLAGS.log.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.malloc_io.c += -X 86,117,161,191,193,207,217,226,284
-LINTFLAGS.malloc_io.c += -X 132 # i386
-LINTFLAGS.mutex.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.mutex_pool.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.nstime.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.pages.c += -X 86,117,161,191,193,207,217,226,298
-LINTFLAGS.prng.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.prof.c += -X 86,117,161,181,191,193,207,217,226,236
-LINTFLAGS.rtree.c += -X 86,117,161,191,193,207,217,226,239
-LINTFLAGS.sz.c += -X 86,226
-LINTFLAGS.stats.c += -X 42,86,117,135,161,191,193,207,217,226,247,351
-LINTFLAGS.tcache.c += -X 86,117,161,191,193,207,217,226,239,309
-LINTFLAGS.ticker.c += -X 86,117,161,191,193,207,217,226
-LINTFLAGS.tsd.c += -X 86,117,161,191,193,207,217,226,346,351
-LINTFLAGS.witness.c += -X 86,117,161,191,193,207,217,226



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:49:42 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
Move lintflags to jemalloc Makefile.inc fragment


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/lib/libc/stdlib/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/bsd/jemalloc.old/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:48:36 UTC 2024

Modified Files:
src/external/bsd/jemalloc.old/lib: Makefile.inc

Log Message:
move lint stuff from libc


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc.old/lib/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/bsd/jemalloc.old/lib/Makefile.inc
diff -u src/external/bsd/jemalloc.old/lib/Makefile.inc:1.1.1.1 src/external/bsd/jemalloc.old/lib/Makefile.inc:1.2
--- src/external/bsd/jemalloc.old/lib/Makefile.inc:1.1.1.1	Mon Sep 23 08:52:54 2024
+++ src/external/bsd/jemalloc.old/lib/Makefile.inc	Mon Sep 23 11:48:36 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.1.1.1 2024/09/23 12:52:54 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.2 2024/09/23 15:48:36 christos Exp $
 
 JEMALLOC:=${.PARSEDIR}/..
 
@@ -57,3 +57,37 @@ SRCS+=${JEMALLOC_SRCS}
 
 jemalloc.d jemalloc.pico jemalloc.o jemalloc.ln jemalloc.po jemalloc.go: \
 ${JEMALLOC}/dist/src/jemalloc.c
+
+# jemalloc
+LINTFLAGS.arena.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.background_thread.c += -X 86,117,132,161,191,193,207,217,226
+LINTFLAGS.base.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.bin.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.bitmap.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.chk.c += -X 191,193,217,226,239
+LINTFLAGS.ckh.c += -X 86,117,161,191,193,207,217,226,239,284
+LINTFLAGS.ctl.c += -X 86,117,135,161,193,191,207,217,226
+LINTFLAGS.divide.c += -X 226
+LINTFLAGS.extent.c += -X 86,161,117,191,193,207,217,226
+LINTFLAGS.extent_dss.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.extent_mmap.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.jemalloc.c += -X 86,117,161,191,193,207,217,226,236,307
+LINTFLAGS.jemalloc.c += -X 141 # i386
+LINTFLAGS.hooks.c += -X 226
+LINTFLAGS.large.c += -X 86,161,117,191,193,207,217,226
+LINTFLAGS.log.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.malloc_io.c += -X 86,117,161,191,193,207,217,226,284
+LINTFLAGS.malloc_io.c += -X 132 # i386
+LINTFLAGS.mutex.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.mutex_pool.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.nstime.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.pages.c += -X 86,117,161,191,193,207,217,226,298
+LINTFLAGS.prng.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.prof.c += -X 86,117,161,181,191,193,207,217,226,236
+LINTFLAGS.rtree.c += -X 86,117,161,191,193,207,217,226,239
+LINTFLAGS.sz.c += -X 86,226
+LINTFLAGS.stats.c += -X 42,86,117,135,161,191,193,207,217,226,247,351
+LINTFLAGS.tcache.c += -X 86,117,161,191,193,207,217,226,239,309
+LINTFLAGS.ticker.c += -X 86,117,161,191,193,207,217,226
+LINTFLAGS.tsd.c += -X 86,117,161,191,193,207,217,226,346,351
+LINTFLAGS.witness.c += -X 86,117,161,191,193,207,217,226



CVS commit: src/external/bsd/jemalloc.old/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:48:36 UTC 2024

Modified Files:
src/external/bsd/jemalloc.old/lib: Makefile.inc

Log Message:
move lint stuff from libc


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc.old/lib/Makefile.inc

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



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:44:43 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
get the variable name right


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/lib/libc/stdlib/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/lib/libc/stdlib/Makefile.inc
diff -u src/lib/libc/stdlib/Makefile.inc:1.101 src/lib/libc/stdlib/Makefile.inc:1.102
--- src/lib/libc/stdlib/Makefile.inc:1.101	Mon Sep 23 11:42:06 2024
+++ src/lib/libc/stdlib/Makefile.inc	Mon Sep 23 11:44:43 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.101 2024/09/23 15:42:06 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.102 2024/09/23 15:44:43 christos Exp $
 #	from: @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
 
 # stdlib sources
@@ -28,7 +28,7 @@ SRCS+= erand48_ieee754.c
 .if ${RUMPRUN} != "yes"
 .   if (${USE_JEMALLOC} != "no")
 .  if ${HAVE_JEMALLOC} > 100
-. include "${NETBSDSRCDIR}/external/bsd/${JEMALLOC_EXTERNAL_SUBDIR}/lib/Makefile.inc"
+. include "${NETBSDSRCDIR}/external/bsd/${EXTERNAL_JEMALLOC_SUBDIR}/lib/Makefile.inc"
 .  else
 SRCS+=	jemalloc.c aligned_alloc.c
 .  endif 



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:44:43 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
get the variable name right


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/lib/libc/stdlib/Makefile.inc

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



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:42:06 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/libc/stdlib/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/lib/libc/stdlib/Makefile.inc
diff -u src/lib/libc/stdlib/Makefile.inc:1.100 src/lib/libc/stdlib/Makefile.inc:1.101
--- src/lib/libc/stdlib/Makefile.inc:1.100	Wed Jul 24 04:55:08 2024
+++ src/lib/libc/stdlib/Makefile.inc	Mon Sep 23 11:42:06 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.100 2024/07/24 08:55:08 kre Exp $
+#	$NetBSD: Makefile.inc,v 1.101 2024/09/23 15:42:06 christos Exp $
 #	from: @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
 
 # stdlib sources
@@ -28,7 +28,7 @@ SRCS+= erand48_ieee754.c
 .if ${RUMPRUN} != "yes"
 .   if (${USE_JEMALLOC} != "no")
 .  if ${HAVE_JEMALLOC} > 100
-. include "${NETBSDSRCDIR}/external/bsd/jemalloc/lib/Makefile.inc"
+. include "${NETBSDSRCDIR}/external/bsd/${JEMALLOC_EXTERNAL_SUBDIR}/lib/Makefile.inc"
 .  else
 SRCS+=	jemalloc.c aligned_alloc.c
 .  endif 



CVS commit: src/lib/libc/stdlib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:42:06 UTC 2024

Modified Files:
src/lib/libc/stdlib: Makefile.inc

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/libc/stdlib/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/bsd/wpa/dist/src/common

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:20:04 UTC 2024

Modified Files:
src/external/bsd/wpa/dist/src/common: dpp.c

Log Message:
fix printf format.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/common/dpp.c

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



CVS commit: src/external/bsd/wpa/dist/src/common

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:20:04 UTC 2024

Modified Files:
src/external/bsd/wpa/dist/src/common: dpp.c

Log Message:
fix printf format.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/common/dpp.c

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/wpa/dist/src/common/dpp.c
diff -u src/external/bsd/wpa/dist/src/common/dpp.c:1.3 src/external/bsd/wpa/dist/src/common/dpp.c:1.4
--- src/external/bsd/wpa/dist/src/common/dpp.c:1.3	Wed Sep 18 11:09:31 2024
+++ src/external/bsd/wpa/dist/src/common/dpp.c	Mon Sep 23 11:20:04 2024
@@ -2737,8 +2737,8 @@ int dpp_key_expired(const char *timestam
 	}
 
 	if (now.sec > utime) {
-		wpa_printf(MSG_DEBUG, "DPP: Key has expired (%lu < %lu)",
-			   utime, now.sec);
+		wpa_printf(MSG_DEBUG, "DPP: Key has expired (%jd < %jd)",
+			   (intmax_t)utime, (intmax_t)now.sec);
 		return 1;
 	}
 



CVS commit: src/doc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:08:36 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.2048 -r1.2049 src/doc/3RDPARTY
cvs rdiff -u -r1.3098 -r1.3099 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2048 src/doc/3RDPARTY:1.2049
--- src/doc/3RDPARTY:1.2048	Sun Sep 22 15:14:20 2024
+++ src/doc/3RDPARTY	Mon Sep 23 11:08:36 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2048 2024/09/22 19:14:20 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.2049 2024/09/23 15:08:36 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -619,12 +619,12 @@ are manually pulled up to NetBSD stable 
 sync with ipsec-tools-0_7-branch)
 
 Package:	jemalloc
-Version:	5.1.0
+Version:	5.3.0
 Current Vers:	5.3.0
 Maintainer:	Jason Evans
 Archive Site:	https://github.com/jemalloc/jemalloc
 Home Page:	https://jemalloc.net
-Date:		2023-09-26
+Date:		2024-09-23
 Mailing List:	
 Responsible:	christos
 License:	BSD

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3098 src/doc/CHANGES:1.3099
--- src/doc/CHANGES:1.3098	Sun Sep 22 15:14:20 2024
+++ src/doc/CHANGES	Mon Sep 23 11:08:36 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3098 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3099 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -526,3 +526,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	evbppc: Add ohci(4) support to the Nintendo Wii port.
 		[jmcneill 20240922]
 	zlib: Import 1.3.1 [christos 20240922]
+	jemalloc(3): Import 5.3.0. [christos 20140923]



CVS commit: src/doc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:08:36 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.2048 -r1.2049 src/doc/3RDPARTY
cvs rdiff -u -r1.3098 -r1.3099 src/doc/CHANGES

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



CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:03:47 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/build-aux: config.guess
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_externs.h arena_inlines_a.h arena_inlines_b.h
atomic_gcc_atomic.h bit_util.h ctl.h emitter.h hash.h
jemalloc_internal_inlines_a.h malloc_io.h mutex.h mutex_prof.h
nstime.h ph.h prof_inlines.h ql.h qr.h rb.h rtree.h witness.h
src/external/bsd/jemalloc/dist/src: arena.c background_thread.c base.c
ckh.c ctl.c decay.c ehooks.c extent.c hook.c jemalloc.c malloc_io.c
mutex.c pa.c pages.c prof.c prof_sys.c rtree.c stats.c tcache.c
test_hooks.c tsd.c witness.c
src/external/bsd/jemalloc/include/jemalloc: jemalloc.h jemalloc_defs.h
jemalloc_macros.h jemalloc_mangle.h jemalloc_mangle_jet.h
jemalloc_protos.h jemalloc_protos_jet.h jemalloc_rename.h
src/external/bsd/jemalloc/include/jemalloc/internal: arena_externs.h
arena_inlines_a.h arena_inlines_b.h arena_stats.h arena_types.h
atomic.h atomic_c11.h atomic_gcc_atomic.h atomic_gcc_sync.h
background_thread_externs.h background_thread_inlines.h
background_thread_structs.h bin.h bin_stats.h bit_util.h bitmap.h
cache_bin.h ctl.h emitter.h hash.h jemalloc_internal_decls.h
jemalloc_internal_defs.h jemalloc_internal_externs.h
jemalloc_internal_includes.h jemalloc_internal_inlines_a.h
jemalloc_internal_inlines_b.h jemalloc_internal_inlines_c.h
jemalloc_internal_macros.h jemalloc_internal_types.h
jemalloc_preamble.h large_externs.h malloc_io.h mutex.h
mutex_prof.h nstime.h pages.h ph.h prng.h prof_externs.h
prof_structs.h prof_types.h public_namespace.h public_unnamespace.h
ql.h qr.h rb.h rtree.h rtree_tsd.h stats.h sz.h tcache_externs.h
tcache_inlines.h tcache_structs.h tcache_types.h ticker.h tsd.h
tsd_generic.h tsd_malloc_thread_cleanup.h tsd_tls.h tsd_types.h
tsd_win.h util.h witness.h
src/external/bsd/jemalloc/lib: Makefile.inc shlib_version
Added Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
activity_callback.h arena_structs.h base.h bin_info.h bin_types.h
buf_writer.h counter.h decay.h ecache.h edata.h edata_cache.h
ehooks.h emap.h eset.h exp_grow.h extent.h fb.h fxp.h hook.h hpa.h
hpa_hooks.h hpa_opts.h hpdata.h inspect.h lockedint.h pa.h pac.h
pai.h peak.h peak_event.h prof_data.h prof_hook.h prof_inlines.h
prof_log.h prof_recent.h prof_stats.h prof_sys.h psset.h quantum.h
safety_check.h san.h san_bump.h sc.h sec.h sec_opts.h seq.h
slab_data.h test_hooks.h thread_event.h typed_list.h
Removed Files:
src/external/bsd/jemalloc/dist: .gitattributes .gitignore
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_structs_a.h arena_structs_b.h base_externs.h base_inlines.h
base_structs.h base_types.h extent_externs.h extent_inlines.h
extent_structs.h extent_types.h hooks.h mutex_pool.h
prof_inlines_a.h prof_inlines_b.h size_classes.sh
src/external/bsd/jemalloc/dist/src: hash.c hooks.c mutex_pool.c prng.c
src/external/bsd/jemalloc/dist/test/src: mq.c
src/external/bsd/jemalloc/dist/test/unit: decay.sh hooks.c

Log Message:
merge changes for jemalloc-5.3.0


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/jemalloc/dist/.gitattributes \
src/external/bsd/jemalloc/dist/.gitignore
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/build-aux/config.guess
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_inlines_b.h \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_gcc_atomic.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/bit_util.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/emitter.h \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h
 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/malloc_io.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_inlines_a.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ctl.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hash.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/nstime.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ql.h \
src/ex

CVS commit: src/external/bsd/jemalloc

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:03:47 UTC 2024

Modified Files:
src/external/bsd/jemalloc/dist/build-aux: config.guess
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_externs.h arena_inlines_a.h arena_inlines_b.h
atomic_gcc_atomic.h bit_util.h ctl.h emitter.h hash.h
jemalloc_internal_inlines_a.h malloc_io.h mutex.h mutex_prof.h
nstime.h ph.h prof_inlines.h ql.h qr.h rb.h rtree.h witness.h
src/external/bsd/jemalloc/dist/src: arena.c background_thread.c base.c
ckh.c ctl.c decay.c ehooks.c extent.c hook.c jemalloc.c malloc_io.c
mutex.c pa.c pages.c prof.c prof_sys.c rtree.c stats.c tcache.c
test_hooks.c tsd.c witness.c
src/external/bsd/jemalloc/include/jemalloc: jemalloc.h jemalloc_defs.h
jemalloc_macros.h jemalloc_mangle.h jemalloc_mangle_jet.h
jemalloc_protos.h jemalloc_protos_jet.h jemalloc_rename.h
src/external/bsd/jemalloc/include/jemalloc/internal: arena_externs.h
arena_inlines_a.h arena_inlines_b.h arena_stats.h arena_types.h
atomic.h atomic_c11.h atomic_gcc_atomic.h atomic_gcc_sync.h
background_thread_externs.h background_thread_inlines.h
background_thread_structs.h bin.h bin_stats.h bit_util.h bitmap.h
cache_bin.h ctl.h emitter.h hash.h jemalloc_internal_decls.h
jemalloc_internal_defs.h jemalloc_internal_externs.h
jemalloc_internal_includes.h jemalloc_internal_inlines_a.h
jemalloc_internal_inlines_b.h jemalloc_internal_inlines_c.h
jemalloc_internal_macros.h jemalloc_internal_types.h
jemalloc_preamble.h large_externs.h malloc_io.h mutex.h
mutex_prof.h nstime.h pages.h ph.h prng.h prof_externs.h
prof_structs.h prof_types.h public_namespace.h public_unnamespace.h
ql.h qr.h rb.h rtree.h rtree_tsd.h stats.h sz.h tcache_externs.h
tcache_inlines.h tcache_structs.h tcache_types.h ticker.h tsd.h
tsd_generic.h tsd_malloc_thread_cleanup.h tsd_tls.h tsd_types.h
tsd_win.h util.h witness.h
src/external/bsd/jemalloc/lib: Makefile.inc shlib_version
Added Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
activity_callback.h arena_structs.h base.h bin_info.h bin_types.h
buf_writer.h counter.h decay.h ecache.h edata.h edata_cache.h
ehooks.h emap.h eset.h exp_grow.h extent.h fb.h fxp.h hook.h hpa.h
hpa_hooks.h hpa_opts.h hpdata.h inspect.h lockedint.h pa.h pac.h
pai.h peak.h peak_event.h prof_data.h prof_hook.h prof_inlines.h
prof_log.h prof_recent.h prof_stats.h prof_sys.h psset.h quantum.h
safety_check.h san.h san_bump.h sc.h sec.h sec_opts.h seq.h
slab_data.h test_hooks.h thread_event.h typed_list.h
Removed Files:
src/external/bsd/jemalloc/dist: .gitattributes .gitignore
src/external/bsd/jemalloc/dist/include/jemalloc/internal:
arena_structs_a.h arena_structs_b.h base_externs.h base_inlines.h
base_structs.h base_types.h extent_externs.h extent_inlines.h
extent_structs.h extent_types.h hooks.h mutex_pool.h
prof_inlines_a.h prof_inlines_b.h size_classes.sh
src/external/bsd/jemalloc/dist/src: hash.c hooks.c mutex_pool.c prng.c
src/external/bsd/jemalloc/dist/test/src: mq.c
src/external/bsd/jemalloc/dist/test/unit: decay.sh hooks.c

Log Message:
merge changes for jemalloc-5.3.0


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/jemalloc/dist/.gitattributes \
src/external/bsd/jemalloc/dist/.gitignore
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/build-aux/config.guess
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_externs.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_inlines_b.h \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/atomic_gcc_atomic.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/bit_util.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/emitter.h \

src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h
 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/malloc_io.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/arena_inlines_a.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ctl.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/hash.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/mutex_prof.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/nstime.h \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/ql.h \
src/ex

CVS import: src/external/bsd/jemalloc/dist

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:00:02 UTC 2024

Update of /cvsroot/src/external/bsd/jemalloc/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv4168

Log Message:
Import jemalloc-5.3.0 (previous was 5.1.0)

* 5.3.0 (May 6, 2022)

  This release contains many speed and space optimizations, from micro
  optimizations on common paths to rework of internal data structures and
  locking schemes, and many more too detailed to list below.  Multiple percent
  of system level metric improvements were measured in tested production
  workloads.  The release has gone through large-scale production testing.

  New features:
  - Add the thread.idle mallctl which hints that the calling thread will be
idle for a nontrivial period of time.  (@davidtgoldblatt)
  - Allow small size classes to be the maximum size class to cache in the
thread-specific cache, through the opt.[lg_]tcache_max option.  (@interwq,
@jordalgo)
  - Make the behavior of realloc(ptr, 0) configurable with opt.zero_realloc.
(@davidtgoldblatt)
  - Add 'make uninstall' support.  (@sangshuduo, @Lapenkov)
  - Support C++17 over-aligned allocation.  (@marksantaniello)
  - Add the thread.peak mallctl for approximate per-thread peak memory tracking.
(@davidtgoldblatt)
  - Add interval-based stats output opt.stats_interval.  (@interwq)
  - Add prof.prefix to override filename prefixes for dumps.  (@zhxchen17)
  - Add high resolution timestamp support for profiling.  (@tyroguru)
  - Add the --collapsed flag to jeprof for flamegraph generation.
(@igor)
  - Add the --debug-syms-by-id option to jeprof for debug symbols discovery.
(@DeannaGelbart)
  - Add the opt.prof_leak_error option to exit with error code when leak is
detected using opt.prof_final.  (@yunxuo)
  - Add opt.cache_oblivious as an runtime alternative to config.cache_oblivious.
(@interwq)
  - Add mallctl interfaces:
+ opt.zero_realloc  (@davidtgoldblatt)
+ opt.cache_oblivious  (@interwq)
+ opt.prof_leak_error  (@yunxuo)
+ opt.stats_interval  (@interwq)
+ opt.stats_interval_opts  (@interwq)
+ opt.tcache_max  (@interwq)
+ opt.trust_madvise  (@azat)
+ prof.prefix  (@zhxchen17)
+ stats.zero_reallocs  (@davidtgoldblatt)
+ thread.idle  (@davidtgoldblatt)
+ thread.peak.{read,reset}  (@davidtgoldblatt)

  Bug fixes:
  - Fix the synchronization around explicit tcache creation which could cause
invalid tcache identifiers.  This regression was first released in 5.0.0.
(@yoshinorim, @davidtgoldblatt)
  - Fix a profiling biasing issue which could cause incorrect heap usage and
object counts.  This issue existed in all previous releases with the heap
profiling feature.  (@davidtgoldblatt)
  - Fix the order of stats counter updating on large realloc which could cause
failed assertions.  This regression was first released in 5.0.0.  (@azat)
  - Fix the locking on the arena destroy mallctl, which could cause concurrent
arena creations to fail.  This functionality was first introduced in 5.0.0.
(@interwq)

  Portability improvements:
  - Remove nothrow from system function declarations on macOS and FreeBSD.
(@davidtgoldblatt, @fredemmott, @leres)
  - Improve overcommit and page alignment settings on NetBSD.  (@zoulasc)
  - Improve CPU affinity support on BSD platforms.  (@devnexen)
  - Improve utrace detection and support.  (@devnexen)
  - Improve QEMU support with MADV_DONTNEED zeroed pages detection.  (@azat)
  - Add memcntl support on Solaris / illumos.  (@devnexen)
  - Improve CPU_SPINWAIT on ARM.  (@AWSjswinney)
  - Improve TSD cleanup on FreeBSD.  (@Lapenkov)
  - Disable percpu_arena if the CPU count cannot be reliably detected.  (@azat)
  - Add malloc_size(3) override support.  (@devnexen)
  - Add mmap VM_MAKE_TAG support.  (@devnexen)
  - Add support for MADV_[NO]CORE.  (@devnexen)
  - Add support for DragonFlyBSD.  (@devnexen)
  - Fix the QUANTUM setting on MIPS64.  (@brooksdavis)
  - Add the QUANTUM setting for ARC.  (@vineetgarc)
  - Add the QUANTUM setting for LoongArch.  (@wangjl-uos)
  - Add QNX support.  (@jqian-aurora)
  - Avoid atexit(3) calls unless the relevant profiling features are enabled.
(@BusyJay, @laiwei-rice, @interwq)
  - Fix unknown option detection when using Clang.  (@Lapenkov)
  - Fix symbol conflict with musl libc.  (@georgthegreat)
  - Add -Wimplicit-fallthrough checks.  (@nickdesaulniers)
  - Add __forceinline support on MSVC.  (@santagada)
  - Improve FreeBSD and Windows CI support.  (@Lapenkov)
  - Add CI support for PPC64LE architecture.  (@ezeeyahoo)

  Incompatible changes:
  - Maximum size class allowed in tcache (opt.[lg_]tcache_max) now has an upper
bound of 8MiB.  (@interwq)

  Optimizations and refactors (@davidtgoldblatt, @Lapenkov, @interwq):
  - Optimize the common cases of the thread cache operations.
  - Optimize internal data structures, including RB tree and pairing heap.
  - Optimize the in

CVS import: src/external/bsd/jemalloc/dist

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 15:00:02 UTC 2024

Update of /cvsroot/src/external/bsd/jemalloc/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv4168

Log Message:
Import jemalloc-5.3.0 (previous was 5.1.0)

* 5.3.0 (May 6, 2022)

  This release contains many speed and space optimizations, from micro
  optimizations on common paths to rework of internal data structures and
  locking schemes, and many more too detailed to list below.  Multiple percent
  of system level metric improvements were measured in tested production
  workloads.  The release has gone through large-scale production testing.

  New features:
  - Add the thread.idle mallctl which hints that the calling thread will be
idle for a nontrivial period of time.  (@davidtgoldblatt)
  - Allow small size classes to be the maximum size class to cache in the
thread-specific cache, through the opt.[lg_]tcache_max option.  (@interwq,
@jordalgo)
  - Make the behavior of realloc(ptr, 0) configurable with opt.zero_realloc.
(@davidtgoldblatt)
  - Add 'make uninstall' support.  (@sangshuduo, @Lapenkov)
  - Support C++17 over-aligned allocation.  (@marksantaniello)
  - Add the thread.peak mallctl for approximate per-thread peak memory tracking.
(@davidtgoldblatt)
  - Add interval-based stats output opt.stats_interval.  (@interwq)
  - Add prof.prefix to override filename prefixes for dumps.  (@zhxchen17)
  - Add high resolution timestamp support for profiling.  (@tyroguru)
  - Add the --collapsed flag to jeprof for flamegraph generation.
(@igor)
  - Add the --debug-syms-by-id option to jeprof for debug symbols discovery.
(@DeannaGelbart)
  - Add the opt.prof_leak_error option to exit with error code when leak is
detected using opt.prof_final.  (@yunxuo)
  - Add opt.cache_oblivious as an runtime alternative to config.cache_oblivious.
(@interwq)
  - Add mallctl interfaces:
+ opt.zero_realloc  (@davidtgoldblatt)
+ opt.cache_oblivious  (@interwq)
+ opt.prof_leak_error  (@yunxuo)
+ opt.stats_interval  (@interwq)
+ opt.stats_interval_opts  (@interwq)
+ opt.tcache_max  (@interwq)
+ opt.trust_madvise  (@azat)
+ prof.prefix  (@zhxchen17)
+ stats.zero_reallocs  (@davidtgoldblatt)
+ thread.idle  (@davidtgoldblatt)
+ thread.peak.{read,reset}  (@davidtgoldblatt)

  Bug fixes:
  - Fix the synchronization around explicit tcache creation which could cause
invalid tcache identifiers.  This regression was first released in 5.0.0.
(@yoshinorim, @davidtgoldblatt)
  - Fix a profiling biasing issue which could cause incorrect heap usage and
object counts.  This issue existed in all previous releases with the heap
profiling feature.  (@davidtgoldblatt)
  - Fix the order of stats counter updating on large realloc which could cause
failed assertions.  This regression was first released in 5.0.0.  (@azat)
  - Fix the locking on the arena destroy mallctl, which could cause concurrent
arena creations to fail.  This functionality was first introduced in 5.0.0.
(@interwq)

  Portability improvements:
  - Remove nothrow from system function declarations on macOS and FreeBSD.
(@davidtgoldblatt, @fredemmott, @leres)
  - Improve overcommit and page alignment settings on NetBSD.  (@zoulasc)
  - Improve CPU affinity support on BSD platforms.  (@devnexen)
  - Improve utrace detection and support.  (@devnexen)
  - Improve QEMU support with MADV_DONTNEED zeroed pages detection.  (@azat)
  - Add memcntl support on Solaris / illumos.  (@devnexen)
  - Improve CPU_SPINWAIT on ARM.  (@AWSjswinney)
  - Improve TSD cleanup on FreeBSD.  (@Lapenkov)
  - Disable percpu_arena if the CPU count cannot be reliably detected.  (@azat)
  - Add malloc_size(3) override support.  (@devnexen)
  - Add mmap VM_MAKE_TAG support.  (@devnexen)
  - Add support for MADV_[NO]CORE.  (@devnexen)
  - Add support for DragonFlyBSD.  (@devnexen)
  - Fix the QUANTUM setting on MIPS64.  (@brooksdavis)
  - Add the QUANTUM setting for ARC.  (@vineetgarc)
  - Add the QUANTUM setting for LoongArch.  (@wangjl-uos)
  - Add QNX support.  (@jqian-aurora)
  - Avoid atexit(3) calls unless the relevant profiling features are enabled.
(@BusyJay, @laiwei-rice, @interwq)
  - Fix unknown option detection when using Clang.  (@Lapenkov)
  - Fix symbol conflict with musl libc.  (@georgthegreat)
  - Add -Wimplicit-fallthrough checks.  (@nickdesaulniers)
  - Add __forceinline support on MSVC.  (@santagada)
  - Improve FreeBSD and Windows CI support.  (@Lapenkov)
  - Add CI support for PPC64LE architecture.  (@ezeeyahoo)

  Incompatible changes:
  - Maximum size class allowed in tcache (opt.[lg_]tcache_max) now has an upper
bound of 8MiB.  (@interwq)

  Optimizations and refactors (@davidtgoldblatt, @Lapenkov, @interwq):
  - Optimize the common cases of the thread cache operations.
  - Optimize internal data structures, including RB tree and pairing heap.
  - Optimize the in

CVS commit: src/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:47 UTC 2024

Modified Files:
src/lib: Makefile

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 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.301 src/lib/Makefile:1.302
--- src/lib/Makefile:1.301	Wed Aug 28 07:54:43 2024
+++ src/lib/Makefile	Mon Sep 23 09:00:46 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.301 2024/08/28 11:54:43 christos Exp $
+#	$NetBSD: Makefile,v 1.302 2024/09/23 13:00:46 christos Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include 
@@ -92,7 +92,7 @@ SUBDIR+=	../external/mit/expat/lib
 
 SUBDIR+=	../external/gpl2/libmalloc
 
-SUBDIR+=	../external/bsd/jemalloc/lib
+SUBDIR+=	../external/bsd/${EXTERNAL_JEMALLOC_SUBDIR}/lib
 
 .if (${MKGCC} != "no")
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libobjc



CVS commit: src/lib

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:47 UTC 2024

Modified Files:
src/lib: Makefile

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 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/external/bsd

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:31 UTC 2024

Modified Files:
src/external/bsd: Makefile

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/external/bsd/Makefile

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/Makefile
diff -u src/external/bsd/Makefile:1.76 src/external/bsd/Makefile:1.77
--- src/external/bsd/Makefile:1.76	Sat Aug 27 17:53:38 2022
+++ src/external/bsd/Makefile	Mon Sep 23 09:00:30 2024
@@ -1,9 +1,9 @@
-#	$NetBSD: Makefile,v 1.76 2022/08/27 21:53:38 dholland Exp $
+#	$NetBSD: Makefile,v 1.77 2024/09/23 13:00:30 christos Exp $
 
 .include 
 
 SUBDIR=	acpica am-utils bc byacc cron dhcpcd elftoolchain/common \
-	ekermit elftosb fetch file flex jemalloc less \
+	ekermit elftosb fetch file flex ${EXTERNAL_JEMALLOC_SUBDIR} less \
 	libarchive libevent libfido2 liblzf libpcap mdocml \
 	ntp openresolv tcpdump tmux top tre wpa
 



CVS commit: src/external/bsd

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:31 UTC 2024

Modified Files:
src/external/bsd: Makefile

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/external/bsd/Makefile

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



CVS commit: src/share/mk

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:13 UTC 2024

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.1404 -r1.1405 src/share/mk/bsd.own.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.own.mk
diff -u src/share/mk/bsd.own.mk:1.1404 src/share/mk/bsd.own.mk:1.1405
--- src/share/mk/bsd.own.mk:1.1404	Mon Sep 23 06:21:14 2024
+++ src/share/mk/bsd.own.mk	Mon Sep 23 09:00:13 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1404 2024/09/23 10:21:14 rin Exp $
+#	$NetBSD: bsd.own.mk,v 1.1405 2024/09/23 13:00:13 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -255,6 +255,14 @@ HAVE_JEMALLOC?=		100
 HAVE_JEMALLOC?=		510
 .endif
 
+.if ${HAVE_JEMALLOC} == 530
+EXTERNAL_JEMALLOC_SUBDIR = jemalloc
+.elif ${HAVE_JEMALLOC} == 510 || ${HAVE_JEMALLOC} == 100
+EXTERNAL_JEMALLOC_SUBDIR = jemalloc.old
+.else
+EXTERNAL_JEMALLOC_SUBDIR = /does/not/exist
+.endif
+
 .if empty(.MAKEFLAGS:tW:M*-V .OBJDIR*)
 .if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR)
 PRINTOBJDIR=	${MAKE} -r -V .OBJDIR -f /dev/null xxx



CVS commit: src/share/mk

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 13:00:13 UTC 2024

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Handle multiple versions of jemalloc


To generate a diff of this commit:
cvs rdiff -u -r1.1404 -r1.1405 src/share/mk/bsd.own.mk

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



CVS import: src/external/bsd/jemalloc.old

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 12:52:57 UTC 2024

Update of /cvsroot/src/external/bsd/jemalloc.old
In directory ivanova.netbsd.org:/tmp/cvs-serv22374

Log Message:
Import current version of jemalloc as jemalloc.old

Status:

Vendor Tag: NetBSD
Release Tags:   src-external-bsd-jemalloc-20240923-0851

N src/external/bsd/jemalloc.old/Makefile
N src/external/bsd/jemalloc.old/dist/.appveyor.yml
N src/external/bsd/jemalloc.old/dist/.autom4te.cfg
N src/external/bsd/jemalloc.old/dist/.travis.yml
N src/external/bsd/jemalloc.old/dist/COPYING
N src/external/bsd/jemalloc.old/dist/ChangeLog
N src/external/bsd/jemalloc.old/dist/INSTALL.md
N src/external/bsd/jemalloc.old/dist/Makefile.in
N src/external/bsd/jemalloc.old/dist/README
N src/external/bsd/jemalloc.old/dist/TUNING.md
N src/external/bsd/jemalloc.old/dist/VERSION
N src/external/bsd/jemalloc.old/dist/autogen.sh
N src/external/bsd/jemalloc.old/dist/config.stamp.in
N src/external/bsd/jemalloc.old/dist/configure
N src/external/bsd/jemalloc.old/dist/configure.ac
N src/external/bsd/jemalloc.old/dist/jemalloc.pc.in
N src/external/bsd/jemalloc.old/dist/run_tests.sh
N src/external/bsd/jemalloc.old/dist/bin/jemalloc-config.in
N src/external/bsd/jemalloc.old/dist/bin/jemalloc.sh.in
N src/external/bsd/jemalloc.old/dist/bin/jeprof.in
N src/external/bsd/jemalloc.old/dist/doc/html.xsl.in
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.3
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.html
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.xml.in
N src/external/bsd/jemalloc.old/dist/doc/manpages.xsl.in
N src/external/bsd/jemalloc.old/dist/doc/stylesheet.xsl
N src/external/bsd/jemalloc.old/dist/build-aux/config.guess
N src/external/bsd/jemalloc.old/dist/build-aux/config.sub
N src/external/bsd/jemalloc.old/dist/build-aux/install-sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_defs.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_macros.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_mangle.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_protos.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_rename.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_typedefs.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_inlines_a.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_inlines_b.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_stats.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_structs_a.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_structs_b.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_types.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/assert.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_c11.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_gcc_atomic.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_gcc_sync.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_msvc.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_externs.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_inlines.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_structs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bin.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_inlines.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_structs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_types.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bin_stats.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bit_util.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bitmap.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/cache_bin.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ckh.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ctl.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/div.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/emitter.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_dss.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_inlines.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_mmap.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_st

CVS import: src/external/bsd/jemalloc.old

2024-09-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 23 12:52:57 UTC 2024

Update of /cvsroot/src/external/bsd/jemalloc.old
In directory ivanova.netbsd.org:/tmp/cvs-serv22374

Log Message:
Import current version of jemalloc as jemalloc.old

Status:

Vendor Tag: NetBSD
Release Tags:   src-external-bsd-jemalloc-20240923-0851

N src/external/bsd/jemalloc.old/Makefile
N src/external/bsd/jemalloc.old/dist/.appveyor.yml
N src/external/bsd/jemalloc.old/dist/.autom4te.cfg
N src/external/bsd/jemalloc.old/dist/.travis.yml
N src/external/bsd/jemalloc.old/dist/COPYING
N src/external/bsd/jemalloc.old/dist/ChangeLog
N src/external/bsd/jemalloc.old/dist/INSTALL.md
N src/external/bsd/jemalloc.old/dist/Makefile.in
N src/external/bsd/jemalloc.old/dist/README
N src/external/bsd/jemalloc.old/dist/TUNING.md
N src/external/bsd/jemalloc.old/dist/VERSION
N src/external/bsd/jemalloc.old/dist/autogen.sh
N src/external/bsd/jemalloc.old/dist/config.stamp.in
N src/external/bsd/jemalloc.old/dist/configure
N src/external/bsd/jemalloc.old/dist/configure.ac
N src/external/bsd/jemalloc.old/dist/jemalloc.pc.in
N src/external/bsd/jemalloc.old/dist/run_tests.sh
N src/external/bsd/jemalloc.old/dist/bin/jemalloc-config.in
N src/external/bsd/jemalloc.old/dist/bin/jemalloc.sh.in
N src/external/bsd/jemalloc.old/dist/bin/jeprof.in
N src/external/bsd/jemalloc.old/dist/doc/html.xsl.in
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.3
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.html
N src/external/bsd/jemalloc.old/dist/doc/jemalloc.xml.in
N src/external/bsd/jemalloc.old/dist/doc/manpages.xsl.in
N src/external/bsd/jemalloc.old/dist/doc/stylesheet.xsl
N src/external/bsd/jemalloc.old/dist/build-aux/config.guess
N src/external/bsd/jemalloc.old/dist/build-aux/config.sub
N src/external/bsd/jemalloc.old/dist/build-aux/install-sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_defs.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_macros.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_mangle.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_protos.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_rename.sh
N src/external/bsd/jemalloc.old/dist/include/jemalloc/jemalloc_typedefs.h.in
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_inlines_a.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_inlines_b.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_stats.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_structs_a.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_structs_b.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/arena_types.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/assert.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_c11.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_gcc_atomic.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_gcc_sync.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/atomic_msvc.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_externs.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_inlines.h
N 
src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/background_thread_structs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bin.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_inlines.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_structs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/base_types.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bin_stats.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bit_util.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/bitmap.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/cache_bin.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ckh.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ctl.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/div.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/emitter.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_dss.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_externs.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_inlines.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_mmap.h
N src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/extent_st

CVS commit: src/usr.bin/nbperf

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 20:34:26 UTC 2024

Modified Files:
src/usr.bin/nbperf: nbperf.c

Log Message:
Set the default to "infinity" and use ~0 so we don't need to count f's.
(Brad Harder)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/nbperf/nbperf.c

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

Modified files:

Index: src/usr.bin/nbperf/nbperf.c
diff -u src/usr.bin/nbperf/nbperf.c:1.8 src/usr.bin/nbperf/nbperf.c:1.9
--- src/usr.bin/nbperf/nbperf.c:1.8	Fri Feb  2 17:33:42 2024
+++ src/usr.bin/nbperf/nbperf.c	Sun Sep 22 16:34:26 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $	*/
+/*	$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $	*/
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -36,7 +36,7 @@
 #endif
 
 #include 
-__RCSID("$NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $");
+__RCSID("$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $");
 
 #include 
 #include 
@@ -127,7 +127,7 @@ main(int argc, char **argv)
 	size_t line_allocated;
 	const void **keys = NULL;
 	size_t *keylens = NULL;
-	uint32_t max_iterations = 0xffU;
+	uint32_t max_iterations = ~0U;
 	long long tmp;
 	int looped, ch;
 	int (*build_hash)(struct nbperf *) = chm_compute;
@@ -259,7 +259,7 @@ main(int argc, char **argv)
 		if (!looped)
 			nbperf.check_duplicates = 1;
 		looped = 1;
-		if (max_iterations == 0xU)
+		if (max_iterations == ~0U)
 			continue;
 		if (--max_iterations == 0) {
 			fputc('\n', stderr);



CVS commit: src/usr.bin/nbperf

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 20:34:26 UTC 2024

Modified Files:
src/usr.bin/nbperf: nbperf.c

Log Message:
Set the default to "infinity" and use ~0 so we don't need to count f's.
(Brad Harder)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/nbperf/nbperf.c

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



CVS commit: src/doc

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 19:14:20 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new zlib


To generate a diff of this commit:
cvs rdiff -u -r1.2047 -r1.2048 src/doc/3RDPARTY
cvs rdiff -u -r1.3097 -r1.3098 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2047 src/doc/3RDPARTY:1.2048
--- src/doc/3RDPARTY:1.2047	Sat Sep 21 20:17:41 2024
+++ src/doc/3RDPARTY	Sun Sep 22 15:14:20 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2047 2024/09/22 00:17:41 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.2048 2024/09/22 19:14:20 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1484,12 +1484,12 @@ Notes:
 See src/external/bsd/wpa/NetBSD-upgrade for update instructions.
 
 Package:	zlib
-Version:	1.2.13
+Version:	1.3.1
 Current Vers:	1.3.1
 Maintainer:	Jean-loup Gailly and Mark Adler 
 Archive Site:	http://www.zlib.net/
 Home Page:	http://www.zlib.net/
-Date: 		2022-10-15
+Date: 		2024-09-22
 Mailing List:
 Responsible:	gwr, christos
 License:	BSD (3-clause)

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3097 src/doc/CHANGES:1.3098
--- src/doc/CHANGES:1.3097	Sun Sep 22 10:08:12 2024
+++ src/doc/CHANGES	Sun Sep 22 15:14:20 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3097 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3098 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -525,3 +525,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	bind: Import 9.18.30 [christos 20240921]
 	evbppc: Add ohci(4) support to the Nintendo Wii port.
 		[jmcneill 20240922]
+	zlib: Import 1.3.1 [christos 20240922]



CVS commit: src/doc

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 19:14:20 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new zlib


To generate a diff of this commit:
cvs rdiff -u -r1.2047 -r1.2048 src/doc/3RDPARTY
cvs rdiff -u -r1.3097 -r1.3098 src/doc/CHANGES

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



CVS commit: src/common/dist/zlib

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 19:12:28 UTC 2024

Modified Files:
src/common/dist/zlib: compress.c crc32.c deflate.c deflate.h gzguts.h
gzwrite.c infback.c inffast.c inflate.c inftrees.c trees.c
uncompr.c zconf.h zlib.h zutil.c zutil.h
Removed Files:
src/common/dist/zlib: zlib2ansi

Log Message:
Merge conflicts between 1.2.13 and 1.3.1


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/dist/zlib/compress.c \
src/common/dist/zlib/infback.c src/common/dist/zlib/inftrees.c \
src/common/dist/zlib/uncompr.c src/common/dist/zlib/zconf.h \
src/common/dist/zlib/zutil.c
cvs rdiff -u -r1.6 -r1.7 src/common/dist/zlib/crc32.c \
src/common/dist/zlib/deflate.c src/common/dist/zlib/trees.c
cvs rdiff -u -r1.5 -r1.6 src/common/dist/zlib/deflate.h \
src/common/dist/zlib/inffast.c
cvs rdiff -u -r1.3 -r1.4 src/common/dist/zlib/gzguts.h \
src/common/dist/zlib/gzwrite.c
cvs rdiff -u -r1.7 -r1.8 src/common/dist/zlib/inflate.c \
src/common/dist/zlib/zlib.h src/common/dist/zlib/zutil.h
cvs rdiff -u -r1.1.1.2 -r0 src/common/dist/zlib/zlib2ansi

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



CVS import: src/common/dist/zlib

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 19:04:54 UTC 2024

Update of /cvsroot/src/common/dist/zlib
In directory ivanova.netbsd.org:/tmp/cvs-serv16457

Log Message:
Import zlib-1.3.1 (previous was 1.2.13)

Changes in 1.3.1 (22 Jan 2024)
- Reject overflows of zip header fields in minizip
- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Fix decision on the emission of Zip64 end records in minizip
- Add bounds checking to ERR_MSG() macro, used by zError()
- Neutralize zip file traversal attacks in miniunz
- Fix a bug in ZLIB_DEBUG compiles in check_match()
- Various portability and appearance improvements

Changes in 1.3 (18 Aug 2023)
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

Status:

Vendor Tag: ZLIB
Release Tags:   zlib-1-3-1

C src/common/dist/zlib/zutil.h
U src/common/dist/zlib/inftrees.h
C src/common/dist/zlib/inflate.c
U src/common/dist/zlib/CMakeLists.txt
U src/common/dist/zlib/zlib.map
U src/common/dist/zlib/zlib.pc.cmakein
U src/common/dist/zlib/LICENSE
U src/common/dist/zlib/zlib.3.pdf
U src/common/dist/zlib/configure
C src/common/dist/zlib/compress.c
U src/common/dist/zlib/zlib.3
U src/common/dist/zlib/ChangeLog
C src/common/dist/zlib/deflate.c
U src/common/dist/zlib/inffixed.h
U src/common/dist/zlib/Makefile
U src/common/dist/zlib/FAQ
U src/common/dist/zlib/gzread.c
U src/common/dist/zlib/zconf.h.in
U src/common/dist/zlib/trees.h
U src/common/dist/zlib/zconf.h.cmakein
U src/common/dist/zlib/inffast.h
U src/common/dist/zlib/treebuild.xml
C src/common/dist/zlib/crc32.c
U src/common/dist/zlib/README
C src/common/dist/zlib/infback.c
C src/common/dist/zlib/zutil.c
C src/common/dist/zlib/deflate.h
U src/common/dist/zlib/zlib.pc.in
C src/common/dist/zlib/gzguts.h
C src/common/dist/zlib/zlib.h
U src/common/dist/zlib/gzlib.c
U src/common/dist/zlib/make_vms.com
U src/common/dist/zlib/inflate.h
C src/common/dist/zlib/inftrees.c
U src/common/dist/zlib/INDEX
C src/common/dist/zlib/uncompr.c
C src/common/dist/zlib/gzwrite.c
C src/common/dist/zlib/trees.c
U src/common/dist/zlib/gzclose.c
U src/common/dist/zlib/crc32.h
U src/common/dist/zlib/Makefile.in
C src/common/dist/zlib/inffast.c
C src/common/dist/zlib/zconf.h
U src/common/dist/zlib/adler32.c
U src/common/dist/zlib/test/infcover.c
U src/common/dist/zlib/test/example.c
U src/common/dist/zlib/test/minigzip.c
U src/common/dist/zlib/qnx/package.qpg
U src/common/dist/zlib/msdos/Makefile.bor
U src/common/dist/zlib/msdos/Makefile.msc
U src/common/dist/zlib/msdos/Makefile.emx
U src/common/dist/zlib/msdos/Makefile.dj2
U src/common/dist/zlib/msdos/Makefile.tc
U src/common/dist/zlib/os400/README400
U src/common/dist/zlib/os400/make.sh
U src/common/dist/zlib/os400/bndsrc
U src/common/dist/zlib/os400/zlib.inc
U src/common/dist/zlib/old/Makefile.riscos
U src/common/dist/zlib/old/Makefile.emx
U src/common/dist/zlib/old/README
U src/common/dist/zlib/old/descrip.mms
U src/common/dist/zlib/old/visual-basic.txt
U src/common/dist/zlib/old/os2/Makefile.os2
U src/common/dist/zlib/old/os2/zlib.def
U src/common/dist/zlib/contrib/README.contrib
U src/common/dist/zlib/contrib/ada/buffer_demo.adb
U src/common/dist/zlib/contrib/ada/zlib-streams.ads
U src/common/dist/zlib/contrib/ada/zlib-thin.ads
U src/common/dist/zlib/contrib/ada/zlib.adb
U src/common/dist/zlib/contrib/ada/read.adb
U src/common/dist/zlib/contrib/ada/mtest.adb
U src/common/dist/zlib/contrib/ada/test.adb
U src/common/dist/zlib/contrib/ada/zlib.gpr
U src/common/dist/zlib/contrib/ada/zlib-thin.adb
U src/common/dist/zlib/contrib/ada/zlib-streams.adb
U src/common/dist/zlib/contrib/ada/zlib.ads
U src/common/dist/zlib/contrib/ada/readme.txt
U src/common/dist/zlib/contrib/pascal/example.pas
U src/common/dist/zlib/contrib/pascal/zlibpas.pas
U src/common/dist/zlib/contrib/pascal/readme.txt
U src/common/dist/zlib/contrib/pascal/zlibd32.mak
U src/common/dist/zlib/contrib/dotzlib/DotZLib.build
U src/common/dist/zlib/contrib/dotzlib/LICENSE_1_0.txt
U src/common/dist/zlib/contrib/dotzlib/DotZLib.chm
U src/common/dist/zlib/contrib/dotzlib/readme.txt
U src/common/dist/zlib/contrib/dotzlib/DotZLib.sln
U src/common/dist/zlib/contrib/dotzlib/DotZLib/GZipStream.cs

CVS import: src/common/dist/zlib

2024-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 19:04:54 UTC 2024

Update of /cvsroot/src/common/dist/zlib
In directory ivanova.netbsd.org:/tmp/cvs-serv16457

Log Message:
Import zlib-1.3.1 (previous was 1.2.13)

Changes in 1.3.1 (22 Jan 2024)
- Reject overflows of zip header fields in minizip
- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Fix decision on the emission of Zip64 end records in minizip
- Add bounds checking to ERR_MSG() macro, used by zError()
- Neutralize zip file traversal attacks in miniunz
- Fix a bug in ZLIB_DEBUG compiles in check_match()
- Various portability and appearance improvements

Changes in 1.3 (18 Aug 2023)
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

Status:

Vendor Tag: ZLIB
Release Tags:   zlib-1-3-1

C src/common/dist/zlib/zutil.h
U src/common/dist/zlib/inftrees.h
C src/common/dist/zlib/inflate.c
U src/common/dist/zlib/CMakeLists.txt
U src/common/dist/zlib/zlib.map
U src/common/dist/zlib/zlib.pc.cmakein
U src/common/dist/zlib/LICENSE
U src/common/dist/zlib/zlib.3.pdf
U src/common/dist/zlib/configure
C src/common/dist/zlib/compress.c
U src/common/dist/zlib/zlib.3
U src/common/dist/zlib/ChangeLog
C src/common/dist/zlib/deflate.c
U src/common/dist/zlib/inffixed.h
U src/common/dist/zlib/Makefile
U src/common/dist/zlib/FAQ
U src/common/dist/zlib/gzread.c
U src/common/dist/zlib/zconf.h.in
U src/common/dist/zlib/trees.h
U src/common/dist/zlib/zconf.h.cmakein
U src/common/dist/zlib/inffast.h
U src/common/dist/zlib/treebuild.xml
C src/common/dist/zlib/crc32.c
U src/common/dist/zlib/README
C src/common/dist/zlib/infback.c
C src/common/dist/zlib/zutil.c
C src/common/dist/zlib/deflate.h
U src/common/dist/zlib/zlib.pc.in
C src/common/dist/zlib/gzguts.h
C src/common/dist/zlib/zlib.h
U src/common/dist/zlib/gzlib.c
U src/common/dist/zlib/make_vms.com
U src/common/dist/zlib/inflate.h
C src/common/dist/zlib/inftrees.c
U src/common/dist/zlib/INDEX
C src/common/dist/zlib/uncompr.c
C src/common/dist/zlib/gzwrite.c
C src/common/dist/zlib/trees.c
U src/common/dist/zlib/gzclose.c
U src/common/dist/zlib/crc32.h
U src/common/dist/zlib/Makefile.in
C src/common/dist/zlib/inffast.c
C src/common/dist/zlib/zconf.h
U src/common/dist/zlib/adler32.c
U src/common/dist/zlib/test/infcover.c
U src/common/dist/zlib/test/example.c
U src/common/dist/zlib/test/minigzip.c
U src/common/dist/zlib/qnx/package.qpg
U src/common/dist/zlib/msdos/Makefile.bor
U src/common/dist/zlib/msdos/Makefile.msc
U src/common/dist/zlib/msdos/Makefile.emx
U src/common/dist/zlib/msdos/Makefile.dj2
U src/common/dist/zlib/msdos/Makefile.tc
U src/common/dist/zlib/os400/README400
U src/common/dist/zlib/os400/make.sh
U src/common/dist/zlib/os400/bndsrc
U src/common/dist/zlib/os400/zlib.inc
U src/common/dist/zlib/old/Makefile.riscos
U src/common/dist/zlib/old/Makefile.emx
U src/common/dist/zlib/old/README
U src/common/dist/zlib/old/descrip.mms
U src/common/dist/zlib/old/visual-basic.txt
U src/common/dist/zlib/old/os2/Makefile.os2
U src/common/dist/zlib/old/os2/zlib.def
U src/common/dist/zlib/contrib/README.contrib
U src/common/dist/zlib/contrib/ada/buffer_demo.adb
U src/common/dist/zlib/contrib/ada/zlib-streams.ads
U src/common/dist/zlib/contrib/ada/zlib-thin.ads
U src/common/dist/zlib/contrib/ada/zlib.adb
U src/common/dist/zlib/contrib/ada/read.adb
U src/common/dist/zlib/contrib/ada/mtest.adb
U src/common/dist/zlib/contrib/ada/test.adb
U src/common/dist/zlib/contrib/ada/zlib.gpr
U src/common/dist/zlib/contrib/ada/zlib-thin.adb
U src/common/dist/zlib/contrib/ada/zlib-streams.adb
U src/common/dist/zlib/contrib/ada/zlib.ads
U src/common/dist/zlib/contrib/ada/readme.txt
U src/common/dist/zlib/contrib/pascal/example.pas
U src/common/dist/zlib/contrib/pascal/zlibpas.pas
U src/common/dist/zlib/contrib/pascal/readme.txt
U src/common/dist/zlib/contrib/pascal/zlibd32.mak
U src/common/dist/zlib/contrib/dotzlib/DotZLib.build
U src/common/dist/zlib/contrib/dotzlib/LICENSE_1_0.txt
U src/common/dist/zlib/contrib/dotzlib/DotZLib.chm
U src/common/dist/zlib/contrib/dotzlib/readme.txt
U src/common/dist/zlib/contrib/dotzlib/DotZLib.sln
U src/common/dist/zlib/contrib/dotzlib/DotZLib/GZipStream.cs

CVS commit: src/doc

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:17:41 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new bind-9.18.30


To generate a diff of this commit:
cvs rdiff -u -r1.2046 -r1.2047 src/doc/3RDPARTY
cvs rdiff -u -r1.3095 -r1.3096 src/doc/CHANGES

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



CVS commit: src/lib/libc/regex

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:22:09 UTC 2024

Modified Files:
src/lib/libc/regex: regex.3

Log Message:
Fix section header (Anonymous)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/regex/regex.3

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/regex/regex.3
diff -u src/lib/libc/regex/regex.3:1.33 src/lib/libc/regex/regex.3:1.34
--- src/lib/libc/regex/regex.3:1.33	Sat Dec  3 20:29:32 2022
+++ src/lib/libc/regex/regex.3	Sat Sep 21 20:22:08 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.33 2022/12/04 01:29:32 uwe Exp $
+.\" $NetBSD: regex.3,v 1.34 2024/09/22 00:22:08 christos Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
 .\" Copyright (c) 1992, 1993, 1994
@@ -34,7 +34,7 @@
 .\"	@(#)regex.3	8.4 (Berkeley) 3/20/94
 .\" $FreeBSD: head/lib/libc/regex/regex.3 363817 2020-08-04 02:06:49Z kevans $
 .\"
-.Dd March 11, 2021
+.Dd September 21, 2024
 .Dt REGEX 3
 .Os
 .Sh NAME
@@ -260,7 +260,7 @@ If
 .Fn regcomp
 fails, it returns a non-zero error code;
 see
-.Sx DIAGNOSTICS .
+.Sx RETURN VALUES .
 .Pp
 The
 .Fn regexec
@@ -375,7 +375,7 @@ returns 0 for success and the non-zero c
 for failure.
 Other non-zero error codes may be returned in exceptional situations;
 see
-.Sx DIAGNOSTICS .
+.Sx RETURN VALUES .
 .Pp
 If
 .Dv REG_NOSUB



CVS commit: src/lib/libc/regex

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:22:09 UTC 2024

Modified Files:
src/lib/libc/regex: regex.3

Log Message:
Fix section header (Anonymous)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/regex/regex.3

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



CVS commit: src/doc

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:17:41 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new bind-9.18.30


To generate a diff of this commit:
cvs rdiff -u -r1.2046 -r1.2047 src/doc/3RDPARTY
cvs rdiff -u -r1.3095 -r1.3096 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2046 src/doc/3RDPARTY:1.2047
--- src/doc/3RDPARTY:1.2046	Wed Sep 18 12:12:38 2024
+++ src/doc/3RDPARTY	Sat Sep 21 20:17:41 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2046 2024/09/18 16:12:38 taca Exp $
+#	$NetBSD: 3RDPARTY,v 1.2047 2024/09/22 00:17:41 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -122,12 +122,12 @@ Notes:
 bc includes dc, both of which are in the NetBSD tree.
 
 Package:	bind [named and utils]
-Version:	9.18.24/MPL
+Version:	9.18.30/MPL
 Current Vers:	9.18.30/MPL 9.20.2/MPL
 Maintainer:	ISC
 Archive Site:	ftp://ftp.isc.org/isc/bind9/
 Home Page:	http://www.isc.org/software/bind/
-Date:		2023-06-26
+Date:		2023-09-21
 Mailing List:	https://lists.isc.org/mailman/listinfo/bind-announce
 Mailing List:	https://lists.isc.org/mailman/listinfo/bind-users
 Responsible:	christos

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3095 src/doc/CHANGES:1.3096
--- src/doc/CHANGES:1.3095	Wed Sep 18 11:12:35 2024
+++ src/doc/CHANGES	Sat Sep 21 20:17:41 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3095 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3096 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -522,4 +522,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	mac68k: Support for the power button on PB 160/180.  [nat 20240914]
 	byacc: Update to 20240109. [christos 20240914]
 	wpa: Import wpa_supplicant and hostapd 2.11. [christos 20240918]
-
+	bind: Import 9.18.30 [christos 20240921]



CVS commit: src/distrib/sets/lists

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:16:43 UTC 2024

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/debug: shl.mi

Log Message:
update library version for bind-9.18.30


To generate a diff of this commit:
cvs rdiff -u -r1.989 -r1.990 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.349 -r1.350 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.989 src/distrib/sets/lists/base/shl.mi:1.990
--- src/distrib/sets/lists/base/shl.mi:1.989	Mon Sep  2 11:35:12 2024
+++ src/distrib/sets/lists/base/shl.mi	Sat Sep 21 20:16:43 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.989 2024/09/02 15:35:12 christos Exp $
+# $NetBSD: shl.mi,v 1.990 2024/09/22 00:16:43 christos Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -234,8 +234,8 @@
 ./usr/lib/libbfd.so.19base-sys-shlib		compatfile,binutils=242
 ./usr/lib/libbfd.so.19.0			base-sys-shlib		compatfile,binutils=242
 ./usr/lib/libbind9.sobase-bind-shlib		compatfile
-./usr/lib/libbind9.so.21			base-bind-shlib		compatfile
-./usr/lib/libbind9.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libbind9.so.22			base-bind-shlib		compatfile
+./usr/lib/libbind9.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libblacklist.so			base-obsolete		obsolete,compatfile
 ./usr/lib/libblocklist.so			base-sys-shlib		compatfile
 ./usr/lib/libblocklist.so.0			base-sys-shlib		compatfile
@@ -298,8 +298,8 @@
 ./usr/lib/libdm.so.0base-sys-shlib		compatfile
 ./usr/lib/libdm.so.0.0base-sys-shlib		compatfile
 ./usr/lib/libdns.sobase-bind-shlib		compatfile
-./usr/lib/libdns.so.21base-bind-shlib		compatfile
-./usr/lib/libdns.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libdns.so.22base-bind-shlib		compatfile
+./usr/lib/libdns.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libdns_sd.sobase-mdns-shlib		compatfile,mdns
 ./usr/lib/libdns_sd.so.0			base-mdns-shlib		compatfile,mdns
 ./usr/lib/libdns_sd.so.0.0			base-mdns-shlib		compatfile,mdns
@@ -375,17 +375,17 @@
 ./usr/lib/libipsec.so.3base-net-shlib		compatfile
 ./usr/lib/libipsec.so.3.0			base-net-shlib		compatfile
 ./usr/lib/libirs.sobase-bind-shlib		compatfile
-./usr/lib/libirs.so.21base-bind-shlib		compatfile
-./usr/lib/libirs.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libirs.so.22base-bind-shlib		compatfile
+./usr/lib/libirs.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libisc.sobase-bind-shlib		compatfile
-./usr/lib/libisc.so.21base-bind-shlib		compatfile
-./usr/lib/libisc.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libisc.so.22base-bind-shlib		compatfile
+./usr/lib/libisc.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libisccc.sobase-bind-shlib		compatfile
-./usr/lib/libisccc.so.21			base-bind-shlib		compatfile
-./usr/lib/libisccc.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libisccc.so.22			base-bind-shlib		compatfile
+./usr/lib/libisccc.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libisccfg.sobase-bind-shlib		compatfile
-./usr/lib/libisccfg.so.21			base-bind-shlib		compatfile
-./usr/lib/libisccfg.so.21.0			base-bind-shlib		compatfile
+./usr/lib/libisccfg.so.22			base-bind-shlib		compatfile
+./usr/lib/libisccfg.so.22.0			base-bind-shlib		compatfile
 ./usr/lib/libiscsi.sobase-iscsi-shlib	iscsi,compatfile
 ./usr/lib/libiscsi.so.2base-iscsi-shlib	iscsi,compatfile
 ./usr/lib/libiscsi.so.2.0			base-iscsi-shlib	iscsi,compatfile
@@ -466,8 +466,8 @@
 ./usr/lib/libnpf.so.0base-npf-shlib		npf,compatfile
 ./usr/lib/libnpf.so.0.1base-npf-shlib		npf,compatfile
 ./usr/lib/libns.sobase-bind-shlib		compatfile
-./usr/lib/libns.so.21base-bind-shlib		compatfile
-./usr/lib/libns.so.21.0base-bind-shlib		compatfile
+./usr/lib/libns.so.22base-bind-shlib		compatfile
+./usr/lib/libns.so.22.0base-bind-shlib		compatfile
 ./usr/lib/libnvmm.sobase-sys-shlib		nvmm,pic
 ./usr/lib/libnvmm.so.0base-sys-shlib		nvmm,pic
 ./usr/lib/libnvmm.so.0.1			base-sys-shlib		nvmm,pic

Index: src/distrib/sets/lists/debug/shl.mi
diff -u src/distrib/sets/lists/debug/shl.mi:1.349 src/distrib/sets/lists/debug/shl.mi:1.350
--- src/distrib/sets/lists/debug/shl.mi:1.349	Mon Sep  2 11:35:12 2024
+++ src/distrib/sets/lists/debug/shl.mi	Sat Sep 21 20:16:43 2024
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.349 2024/09/02 15:35:12 christos Exp $
+# $NetBSD: shl.mi,v 1.350 2024/09/22 00:16:43 christos Exp $
 #
 ./usr/lib/libbfd_g.a		comp-c-debuglib	debuglib,compatfile,binutils
 ./usr/lib/libgcc_eh_g.acomp-c-debuglib		debuglib,compatfile,gcc
@@ -79,7 +79,7 @@
 ./usr/libdata/debug/usr/lib/libbfd.so.17.0.debug		comp-sys-debug	debug,compatfile,binutils=234
 ./usr/libdata/debug/usr/lib/libbfd.so.18.0.debug		comp-sys-debug	deb

CVS commit: src/distrib/sets/lists

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:16:43 UTC 2024

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/debug: shl.mi

Log Message:
update library version for bind-9.18.30


To generate a diff of this commit:
cvs rdiff -u -r1.989 -r1.990 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.349 -r1.350 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/external/mpl/bind

2024-09-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 22 00:14:13 UTC 2024

Modified Files:
src/external/mpl/bind: bind2netbsd
src/external/mpl/bind/dist: Makefile.in config.h.in configure
src/external/mpl/bind/dist/bin/check: named-checkconf.c
named-checkzone.c
src/external/mpl/bind/dist/bin/confgen: rndc-confgen.c tsig-keygen.c
util.c
src/external/mpl/bind/dist/bin/delv: delv.c
src/external/mpl/bind/dist/bin/dig: dig.c dighost.c host.c nslookup.c
src/external/mpl/bind/dist/bin/dnssec: dnssec-cds.c dnssec-dsfromkey.c
dnssec-importkey.c dnssec-keyfromlabel.c dnssec-keygen.c
dnssec-revoke.c dnssec-settime.c dnssec-signzone.c dnssec-verify.c
dnssectool.c
src/external/mpl/bind/dist/bin/named: config.c main.c os.c server.c
statschannel.c zoneconf.c
src/external/mpl/bind/dist/bin/nsupdate: nsupdate.c
src/external/mpl/bind/dist/bin/rndc: rndc.c util.c
src/external/mpl/bind/dist/bin/tests: test_client.c test_server.c
wire_test.c
src/external/mpl/bind/dist/bin/tests/system: resolve.c
src/external/mpl/bind/dist/bin/tests/system/dyndb/driver: db.c
src/external/mpl/bind/dist/bin/tests/system/pipelined: pipequeries.c
src/external/mpl/bind/dist/bin/tests/system/rsabigexponent: bigkey.c
src/external/mpl/bind/dist/bin/tests/system/tkey: keycreate.c
keydelete.c
src/external/mpl/bind/dist/bin/tools: dnstap-read.c mdig.c
named-journalprint.c named-nzd2nzf.c named-rrchecker.c nsec3hash.c
src/external/mpl/bind/dist/doc/man: named-compilezone.1in
src/external/mpl/bind/dist/doc/misc: cfg_test.c
src/external/mpl/bind/dist/lib/bind9: check.c
src/external/mpl/bind/dist/lib/dns: adb.c cache.c catz.c client.c db.c
dnsrps.c dnssec.c gen.c kasp.c keymgr.c master.c masterdump.c
message.c openssl_link.c openssleddsa_link.c rbt.c rbtdb.c rdata.c
rdataslab.c request.c resolver.c rrl.c sdb.c sdlz.c ssu.c update.c
validator.c view.c xfrin.c zone.c zoneverify.c
src/external/mpl/bind/dist/lib/dns/include/dns: cache.h catz.h client.h
db.h dnssec.h kasp.h librpz.h name.h rbt.h rdata.h rdataset.h
rdataslab.h rpz.h validator.h view.h zone.h
src/external/mpl/bind/dist/lib/dns/rdata/generic: opt_41.c
resinfo_261.c resinfo_261.h
src/external/mpl/bind/dist/lib/dns/rdata/in_1: svcb_64.c
src/external/mpl/bind/dist/lib/isc: app.c interfaceiter.c
jemalloc_shim.h log.c mem.c meminfo.c net.c os.c picohttpparser.c
sockaddr.c stdtime.c task.c time.c timer.c tls.c
src/external/mpl/bind/dist/lib/isc/include/isc: attributes.h list.h
mem.h sockaddr.h stats.h thread.h time.h timer.h util.h
src/external/mpl/bind/dist/lib/isc/netmgr: http.c netmgr-int.h netmgr.c
tcp.c tcpdns.c tlsdns.c tlsstream.c udp.c uv-compat.h
src/external/mpl/bind/dist/lib/isccfg: duration.c kaspconf.c
namedconf.c
src/external/mpl/bind/dist/lib/ns: Makefile.in client.c interfacemgr.c
query.c server.c update.c
src/external/mpl/bind/dist/lib/ns/include/ns: client.h interfacemgr.h
server.h
src/external/mpl/bind/dist/tests/dns: dbiterator_test.c name_test.c
rdata_test.c sigs_test.c tsig_test.c
src/external/mpl/bind/dist/tests/include/tests: dns.h isc.h ns.h
src/external/mpl/bind/dist/tests/isc: netmgr_test.c task_test.c
src/external/mpl/bind/dist/tests/libtest: dns.c isc.c
src/external/mpl/bind/include: config.h
src/external/mpl/bind/include/dns: code.h enumtype.h rdatastruct.h
src/external/mpl/bind/lib/libbind9: shlib_version
src/external/mpl/bind/lib/libdns: shlib_version
src/external/mpl/bind/lib/libirs: shlib_version
src/external/mpl/bind/lib/libisc: shlib_version
src/external/mpl/bind/lib/libisccc: shlib_version
src/external/mpl/bind/lib/libisccfg: shlib_version
src/external/mpl/bind/lib/libns: shlib_version
Removed Files:
src/external/mpl/bind/dist/bin/tests/system: ckdnsrps.sh
pytest_custom_markers.py
src/external/mpl/bind/dist/bin/tests/system/dialup: tests.sh
tests_sh_dialup.py
src/external/mpl/bind/dist/bin/tests/system/dnssec/ns4: named5.conf.in
src/external/mpl/bind/dist/bin/tests/system/dsdigest: tests.sh
tests_sh_dsdigest.py
src/external/mpl/bind/dist/bin/tests/system/formerr: twoquestions
src/external/mpl/bind/dist/bin/tests/system/glue: fi.good noglue.good
tests.sh tests_sh_glue.py
src/external/mpl/bind/dist/bin/tests/system/include-multiplecfg:
tests.sh tests_sh_include_multiplecfg.py
src/external/mpl/bind/dist/bin/tests/sy

CVS commit: src/doc

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:12:36 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new wpa


To generate a diff of this commit:
cvs rdiff -u -r1.2044 -r1.2045 src/doc/3RDPARTY
cvs rdiff -u -r1.3094 -r1.3095 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2044 src/doc/3RDPARTY:1.2045
--- src/doc/3RDPARTY:1.2044	Sat Sep 14 18:30:28 2024
+++ src/doc/3RDPARTY	Wed Sep 18 11:12:35 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2044 2024/09/14 22:30:28 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.2045 2024/09/18 15:12:35 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -46,7 +46,7 @@ Current Vers:	20240827
 Maintainer:	Intel
 Archive Site:	http://www.acpica.org/downloads/
 Home Page:	http://www.acpica.org/
-Date:		2023-09-01
+Date:		2024-09-01
 Mailing List:	de...@acpica.org
 License:	BSD-like
 Responsible:	jruoho
@@ -1470,12 +1470,12 @@ For the data files, do use external/publ
 for now, late 2021, do it manually).
 
 Package:	wpa_supplicant/hostapd
-Version:	2.9
+Version:	2.11
 Current Vers:	2.11
 Maintainer:	Jouni Malinen 
 Archive Site:	http://w1.fi/releases/
 Home Page:	http://w1.fi/wpa_supplicant/
-Date:		2024-08-02
+Date:		2024-09-18
 Mailing List:
 Responsible:	scw, dyoung, christos
 License:	BSD or GPLv2

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3094 src/doc/CHANGES:1.3095
--- src/doc/CHANGES:1.3094	Sat Sep 14 18:30:28 2024
+++ src/doc/CHANGES	Wed Sep 18 11:12:35 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3094 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3095 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -521,3 +521,5 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	mac68k: Support for power off on PB 1xx.  [nat 20240914]
 	mac68k: Support for the power button on PB 160/180.  [nat 20240914]
 	byacc: Update to 20240109. [christos 20240914]
+	wpa: Import wpa_supplicant and hostapd 2.11. [christos 20240918]
+



CVS commit: src/doc

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:12:36 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new wpa


To generate a diff of this commit:
cvs rdiff -u -r1.2044 -r1.2045 src/doc/3RDPARTY
cvs rdiff -u -r1.3094 -r1.3095 src/doc/CHANGES

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



CVS commit: src/external/bsd/wpa

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:09:34 UTC 2024

Modified Files:
src/external/bsd/wpa/bin/hostapd: Makefile
src/external/bsd/wpa/bin/wpa_supplicant: Makefile
src/external/bsd/wpa/dist/hostapd: hostapd_cli.c main.c
src/external/bsd/wpa/dist/src/ap: ap_drv_ops.c drv_callbacks.c
hostapd.c hostapd.h ieee802_11.c wmm.c wpa_auth.c wpa_auth.h
wpa_auth_ft.c wpa_auth_i.h
src/external/bsd/wpa/dist/src/common: dpp.c sae.c wpa_common.h
src/external/bsd/wpa/dist/src/crypto: crypto_openssl.c
src/external/bsd/wpa/dist/src/drivers: driver.h driver_bsd.c
driver_wired.c
src/external/bsd/wpa/dist/src/eap_common: eap_pwd_common.c
src/external/bsd/wpa/dist/src/eap_peer: eap_config.h eap_peap.c
eap_pwd.c eap_tls_common.c eap_tls_common.h
src/external/bsd/wpa/dist/src/eap_server: eap_server.c eap_server_pwd.c
eap_server_tls_common.c
src/external/bsd/wpa/dist/src/l2_packet: l2_packet_freebsd.c
src/external/bsd/wpa/dist/src/p2p: p2p.c
src/external/bsd/wpa/dist/src/radius: radius_client.c radius_das.c
src/external/bsd/wpa/dist/src/rsn_supp: tdls.c wpa.c wpa_ft.c wpa_i.h
src/external/bsd/wpa/dist/src/utils: common.c common.h eloop.c os.h
os_unix.c radiotap.h
src/external/bsd/wpa/dist/src/wps: wps_attr_process.c
src/external/bsd/wpa/dist/wpa_supplicant: Makefile README config.c
ctrl_iface.c defconfig driver_i.h events.c main.c op_classes.c
wnm_sta.c wpa_cli.c wpa_priv.c wpa_supplicant.c wpa_supplicant.conf
wpa_supplicant_i.h
Removed Files:
src/external/bsd/wpa/dist/src/ap: iapp.c iapp.h
src/external/bsd/wpa/dist/wpa_supplicant: blacklist.c blacklist.h

Log Message:
Merge conflicts between 2.9 and 2.11


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/bsd/wpa/bin/hostapd/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/wpa/bin/wpa_supplicant/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/wpa/dist/hostapd/hostapd_cli.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/hostapd/main.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/ap/ap_drv_ops.c \
src/external/bsd/wpa/dist/src/ap/drv_callbacks.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/ap/hostapd.c \
src/external/bsd/wpa/dist/src/ap/hostapd.h \
src/external/bsd/wpa/dist/src/ap/ieee802_11.c
cvs rdiff -u -r1.1.1.5 -r0 src/external/bsd/wpa/dist/src/ap/iapp.c
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/wpa/dist/src/ap/iapp.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/wpa/dist/src/ap/wmm.c \
src/external/bsd/wpa/dist/src/ap/wpa_auth.h \
src/external/bsd/wpa/dist/src/ap/wpa_auth_ft.c \
src/external/bsd/wpa/dist/src/ap/wpa_auth_i.h
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/wpa/dist/src/ap/wpa_auth.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/wpa/dist/src/common/dpp.c
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/wpa/dist/src/common/sae.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/common/wpa_common.h
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/crypto/crypto_openssl.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/drivers/driver.h
cvs rdiff -u -r1.39 -r1.40 src/external/bsd/wpa/dist/src/drivers/driver_bsd.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/drivers/driver_wired.c
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/wpa/dist/src/eap_common/eap_pwd_common.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/wpa/dist/src/eap_peer/eap_config.h \
src/external/bsd/wpa/dist/src/eap_peer/eap_peap.c \
src/external/bsd/wpa/dist/src/eap_peer/eap_tls_common.c \
src/external/bsd/wpa/dist/src/eap_peer/eap_tls_common.h
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/wpa/dist/src/eap_peer/eap_pwd.c
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/eap_server/eap_server.c
cvs rdiff -u -r1.9 -r1.10 \
src/external/bsd/wpa/dist/src/eap_server/eap_server_pwd.c \
src/external/bsd/wpa/dist/src/eap_server/eap_server_tls_common.c
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/l2_packet/l2_packet_freebsd.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/p2p/p2p.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/radius/radius_client.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/radius/radius_das.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/wpa/dist/src/rsn_supp/tdls.c \
src/external/bsd/wpa/dist/src/rsn_supp/wpa_ft.c \
src/external/bsd/wpa/dist/src/rsn_supp/wpa_i.h
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/rsn_supp/wpa.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/utils/common.c \
src/external/bsd/wpa/dist/src/utils/os_unix.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/wpa/dist/src/utils/common.h
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/wpa/dist/src/utils/eloop.c
cvs rdiff -u -r1.8 -r1.9 src/external/bsd

CVS commit: src/external/bsd/wpa

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:09:34 UTC 2024

Modified Files:
src/external/bsd/wpa/bin/hostapd: Makefile
src/external/bsd/wpa/bin/wpa_supplicant: Makefile
src/external/bsd/wpa/dist/hostapd: hostapd_cli.c main.c
src/external/bsd/wpa/dist/src/ap: ap_drv_ops.c drv_callbacks.c
hostapd.c hostapd.h ieee802_11.c wmm.c wpa_auth.c wpa_auth.h
wpa_auth_ft.c wpa_auth_i.h
src/external/bsd/wpa/dist/src/common: dpp.c sae.c wpa_common.h
src/external/bsd/wpa/dist/src/crypto: crypto_openssl.c
src/external/bsd/wpa/dist/src/drivers: driver.h driver_bsd.c
driver_wired.c
src/external/bsd/wpa/dist/src/eap_common: eap_pwd_common.c
src/external/bsd/wpa/dist/src/eap_peer: eap_config.h eap_peap.c
eap_pwd.c eap_tls_common.c eap_tls_common.h
src/external/bsd/wpa/dist/src/eap_server: eap_server.c eap_server_pwd.c
eap_server_tls_common.c
src/external/bsd/wpa/dist/src/l2_packet: l2_packet_freebsd.c
src/external/bsd/wpa/dist/src/p2p: p2p.c
src/external/bsd/wpa/dist/src/radius: radius_client.c radius_das.c
src/external/bsd/wpa/dist/src/rsn_supp: tdls.c wpa.c wpa_ft.c wpa_i.h
src/external/bsd/wpa/dist/src/utils: common.c common.h eloop.c os.h
os_unix.c radiotap.h
src/external/bsd/wpa/dist/src/wps: wps_attr_process.c
src/external/bsd/wpa/dist/wpa_supplicant: Makefile README config.c
ctrl_iface.c defconfig driver_i.h events.c main.c op_classes.c
wnm_sta.c wpa_cli.c wpa_priv.c wpa_supplicant.c wpa_supplicant.conf
wpa_supplicant_i.h
Removed Files:
src/external/bsd/wpa/dist/src/ap: iapp.c iapp.h
src/external/bsd/wpa/dist/wpa_supplicant: blacklist.c blacklist.h

Log Message:
Merge conflicts between 2.9 and 2.11


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/bsd/wpa/bin/hostapd/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/wpa/bin/wpa_supplicant/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/wpa/dist/hostapd/hostapd_cli.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/hostapd/main.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/ap/ap_drv_ops.c \
src/external/bsd/wpa/dist/src/ap/drv_callbacks.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/ap/hostapd.c \
src/external/bsd/wpa/dist/src/ap/hostapd.h \
src/external/bsd/wpa/dist/src/ap/ieee802_11.c
cvs rdiff -u -r1.1.1.5 -r0 src/external/bsd/wpa/dist/src/ap/iapp.c
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/wpa/dist/src/ap/iapp.h
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/wpa/dist/src/ap/wmm.c \
src/external/bsd/wpa/dist/src/ap/wpa_auth.h \
src/external/bsd/wpa/dist/src/ap/wpa_auth_ft.c \
src/external/bsd/wpa/dist/src/ap/wpa_auth_i.h
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/wpa/dist/src/ap/wpa_auth.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/wpa/dist/src/common/dpp.c
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/wpa/dist/src/common/sae.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/common/wpa_common.h
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/crypto/crypto_openssl.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/drivers/driver.h
cvs rdiff -u -r1.39 -r1.40 src/external/bsd/wpa/dist/src/drivers/driver_bsd.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/drivers/driver_wired.c
cvs rdiff -u -r1.6 -r1.7 \
src/external/bsd/wpa/dist/src/eap_common/eap_pwd_common.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/wpa/dist/src/eap_peer/eap_config.h \
src/external/bsd/wpa/dist/src/eap_peer/eap_peap.c \
src/external/bsd/wpa/dist/src/eap_peer/eap_tls_common.c \
src/external/bsd/wpa/dist/src/eap_peer/eap_tls_common.h
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/wpa/dist/src/eap_peer/eap_pwd.c
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/eap_server/eap_server.c
cvs rdiff -u -r1.9 -r1.10 \
src/external/bsd/wpa/dist/src/eap_server/eap_server_pwd.c \
src/external/bsd/wpa/dist/src/eap_server/eap_server_tls_common.c
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/wpa/dist/src/l2_packet/l2_packet_freebsd.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/p2p/p2p.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/wpa/dist/src/radius/radius_client.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/radius/radius_das.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/wpa/dist/src/rsn_supp/tdls.c \
src/external/bsd/wpa/dist/src/rsn_supp/wpa_ft.c \
src/external/bsd/wpa/dist/src/rsn_supp/wpa_i.h
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/wpa/dist/src/rsn_supp/wpa.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/wpa/dist/src/utils/common.c \
src/external/bsd/wpa/dist/src/utils/os_unix.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/wpa/dist/src/utils/common.h
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/wpa/dist/src/utils/eloop.c
cvs rdiff -u -r1.8 -r1.9 src/external/bsd

CVS import: src/external/bsd/wpa/dist

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:04:04 UTC 2024

Update of /cvsroot/src/external/bsd/wpa/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv3323

Log Message:
Import wpa_supplicant hand hostapd 2.11. Previous was 2.9 

1. Changes for hostapd:

2024-07-20 - v2.11
* Wi-Fi Easy Connect
  - add support for DPP release 3
  - allow Configurator parameters to be provided during config exchange
* HE/IEEE 802.11ax/Wi-Fi 6
  - various fixes
* EHT/IEEE 802.11be/Wi-Fi 7
  - add preliminary support
* SAE: add support for fetching the password from a RADIUS server
* support OpenSSL 3.0 API changes
* support background radar detection and CAC with some additional
  drivers
* support RADIUS ACL/PSK check during 4-way handshake (wpa_psk_radius=3)
* EAP-SIM/AKA: support IMSI privacy
* improve 4-way handshake operations
  - use Secure=1 in message 3 during PTK rekeying
* OCV: do not check Frequency Segment 1 Channel Number for 160 MHz cases
  to avoid interoperability issues
* support new SAE AKM suites with variable length keys
* support new AKM for 802.1X/EAP with SHA384
* extend PASN support for secure ranging
* FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (FT-EAP)
  - this is based on additional details being added in the IEEE 802.11
standard
  - the new implementation is not backwards compatible
* improved ACS to cover additional channel types/bandwidths
* extended Multiple BSSID support
* fix beacon protection with FT protocol (incorrect BIGTK was provided)
* support unsynchronized service discovery (USD)
* add preliminary support for RADIUS/TLS
* add support for explicit SSID protection in 4-way handshake
  (a mitigation for CVE-2023-52424; disabled by default for now, can be
  enabled with ssid_protection=1)
* fix SAE H2E rejected groups validation to avoid downgrade attacks
* use stricter validation for some RADIUS messages
* a large number of other fixes, cleanup, and extensions

2022-01-16 - v2.10
* SAE changes
  - improved protection against side channel attacks
[https://w1.fi/security/2022-1/]
  - added option send SAE Confirm immediately (sae_config_immediate=1)
after SAE Commit
  - added support for the hash-to-element mechanism (sae_pwe=1 or
sae_pwe=2)
  - fixed PMKSA caching with OKC
  - added support for SAE-PK
* EAP-pwd changes
  - improved protection against side channel attacks
[https://w1.fi/security/2022-1/]
* fixed WPS UPnP SUBSCRIBE handling of invalid operations
  [https://w1.fi/security/2020-1/]
* fixed PMF disconnection protection bypass
  [https://w1.fi/security/2019-7/]
* added support for using OpenSSL 3.0
* fixed various issues in experimental support for EAP-TEAP server
* added configuration (max_auth_rounds, max_auth_rounds_short) to
  increase the maximum number of EAP message exchanges (mainly to
  support cases with very large certificates) for the EAP server
* added support for DPP release 2 (Wi-Fi Device Provisioning Protocol)
* extended HE (IEEE 802.11ax) support, including 6 GHz support
* removed obsolete IAPP functionality
* fixed EAP-FAST server with TLS GCM/CCM ciphers
* dropped support for libnl 1.1
* added support for nl80211 control port for EAPOL frame TX/RX
* fixed OWE key derivation with groups 20 and 21; this breaks backwards
  compatibility for these groups while the default group 19 remains
  backwards compatible; owe_ptk_workaround=1 can be used to enabled a
  a workaround for the group 20/21 backwards compatibility
* added support for Beacon protection
* added support for Extended Key ID for pairwise keys
* removed WEP support from the default build (CONFIG_WEP=y can be used
  to enable it, if really needed)
* added a build option to remove TKIP support (CONFIG_NO_TKIP=y)
* added support for Transition Disable mechanism to allow the AP to
  automatically disable transition mode to improve security
* added support for PASN
* added EAP-TLS server support for TLS 1.3 (disabled by default for now)
* a large number of other fixes, cleanup, and extensions


2. Changes for wpa_supplicant

2024-07-20 - v2.11
* Wi-Fi Easy Connect
  - add support for DPP release 3
  - allow Configurator parameters to be provided during config exchange
* MACsec
  - add support for GCM-AES-256 cipher suite
  - remove incorrect EAP Session-Id length constraint
  - add hardware offload

CVS import: src/external/bsd/wpa/dist

2024-09-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 18 15:04:04 UTC 2024

Update of /cvsroot/src/external/bsd/wpa/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv3323

Log Message:
Import wpa_supplicant hand hostapd 2.11. Previous was 2.9 

1. Changes for hostapd:

2024-07-20 - v2.11
* Wi-Fi Easy Connect
  - add support for DPP release 3
  - allow Configurator parameters to be provided during config exchange
* HE/IEEE 802.11ax/Wi-Fi 6
  - various fixes
* EHT/IEEE 802.11be/Wi-Fi 7
  - add preliminary support
* SAE: add support for fetching the password from a RADIUS server
* support OpenSSL 3.0 API changes
* support background radar detection and CAC with some additional
  drivers
* support RADIUS ACL/PSK check during 4-way handshake (wpa_psk_radius=3)
* EAP-SIM/AKA: support IMSI privacy
* improve 4-way handshake operations
  - use Secure=1 in message 3 during PTK rekeying
* OCV: do not check Frequency Segment 1 Channel Number for 160 MHz cases
  to avoid interoperability issues
* support new SAE AKM suites with variable length keys
* support new AKM for 802.1X/EAP with SHA384
* extend PASN support for secure ranging
* FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (FT-EAP)
  - this is based on additional details being added in the IEEE 802.11
standard
  - the new implementation is not backwards compatible
* improved ACS to cover additional channel types/bandwidths
* extended Multiple BSSID support
* fix beacon protection with FT protocol (incorrect BIGTK was provided)
* support unsynchronized service discovery (USD)
* add preliminary support for RADIUS/TLS
* add support for explicit SSID protection in 4-way handshake
  (a mitigation for CVE-2023-52424; disabled by default for now, can be
  enabled with ssid_protection=1)
* fix SAE H2E rejected groups validation to avoid downgrade attacks
* use stricter validation for some RADIUS messages
* a large number of other fixes, cleanup, and extensions

2022-01-16 - v2.10
* SAE changes
  - improved protection against side channel attacks
[https://w1.fi/security/2022-1/]
  - added option send SAE Confirm immediately (sae_config_immediate=1)
after SAE Commit
  - added support for the hash-to-element mechanism (sae_pwe=1 or
sae_pwe=2)
  - fixed PMKSA caching with OKC
  - added support for SAE-PK
* EAP-pwd changes
  - improved protection against side channel attacks
[https://w1.fi/security/2022-1/]
* fixed WPS UPnP SUBSCRIBE handling of invalid operations
  [https://w1.fi/security/2020-1/]
* fixed PMF disconnection protection bypass
  [https://w1.fi/security/2019-7/]
* added support for using OpenSSL 3.0
* fixed various issues in experimental support for EAP-TEAP server
* added configuration (max_auth_rounds, max_auth_rounds_short) to
  increase the maximum number of EAP message exchanges (mainly to
  support cases with very large certificates) for the EAP server
* added support for DPP release 2 (Wi-Fi Device Provisioning Protocol)
* extended HE (IEEE 802.11ax) support, including 6 GHz support
* removed obsolete IAPP functionality
* fixed EAP-FAST server with TLS GCM/CCM ciphers
* dropped support for libnl 1.1
* added support for nl80211 control port for EAPOL frame TX/RX
* fixed OWE key derivation with groups 20 and 21; this breaks backwards
  compatibility for these groups while the default group 19 remains
  backwards compatible; owe_ptk_workaround=1 can be used to enabled a
  a workaround for the group 20/21 backwards compatibility
* added support for Beacon protection
* added support for Extended Key ID for pairwise keys
* removed WEP support from the default build (CONFIG_WEP=y can be used
  to enable it, if really needed)
* added a build option to remove TKIP support (CONFIG_NO_TKIP=y)
* added support for Transition Disable mechanism to allow the AP to
  automatically disable transition mode to improve security
* added support for PASN
* added EAP-TLS server support for TLS 1.3 (disabled by default for now)
* a large number of other fixes, cleanup, and extensions


2. Changes for wpa_supplicant

2024-07-20 - v2.11
* Wi-Fi Easy Connect
  - add support for DPP release 3
  - allow Configurator parameters to be provided during config exchange
* MACsec
  - add support for GCM-AES-256 cipher suite
  - remove incorrect EAP Session-Id length constraint
  - add hardware offload

CVS commit: src/include

2024-09-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 16 17:58:43 UTC 2024

Modified Files:
src/include: time.h

Log Message:
move gmtime_r in the right ifdefs block, it was not removed in 202405.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/include/time.h

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



CVS commit: src/include

2024-09-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 16 17:58:43 UTC 2024

Modified Files:
src/include: time.h

Log Message:
move gmtime_r in the right ifdefs block, it was not removed in 202405.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/include/time.h

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

Modified files:

Index: src/include/time.h
diff -u src/include/time.h:1.51 src/include/time.h:1.52
--- src/include/time.h:1.51	Mon Sep 16 13:25:34 2024
+++ src/include/time.h	Mon Sep 16 13:58:43 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: time.h,v 1.51 2024/09/16 17:25:34 christos Exp $	*/
+/*	$NetBSD: time.h,v 1.52 2024/09/16 17:58:43 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -176,12 +176,15 @@ int timer_getoverrun(timer_t);
 char *asctime_r(const struct tm * __restrict, char * __restrict);
 #ifndef __LIBC12_SOURCE__
 char *ctime_r(const time_t *, char *) __RENAME(__ctime_r50);
-struct tm *gmtime_r(const time_t * __restrict, struct tm * __restrict)
-__RENAME(__gmtime_r50);
 #endif
 #endif
+
 #if (_POSIX_C_SOURCE - 0) >= 199506L || \
 (_XOPEN_SOURCE - 0) >= 500 || defined(_REENTRANT) || defined(_NETBSD_SOURCE)
+#ifndef __LIBC12_SOURCE__
+struct tm *gmtime_r(const time_t * __restrict, struct tm * __restrict)
+__RENAME(__gmtime_r50);
+#endif
 struct tm *localtime_r(const time_t * __restrict, struct tm * __restrict)
 __RENAME(__localtime_r50);
 #endif



CVS commit: src/include

2024-09-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 16 17:25:34 UTC 2024

Modified Files:
src/include: time.h

Log Message:
asctime_r and ctime_r are no more for POSIX202405


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/include/time.h

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

Modified files:

Index: src/include/time.h
diff -u src/include/time.h:1.50 src/include/time.h:1.51
--- src/include/time.h:1.50	Sun Sep  8 14:13:07 2024
+++ src/include/time.h	Mon Sep 16 13:25:34 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: time.h,v 1.50 2024/09/08 18:13:07 rillig Exp $	*/
+/*	$NetBSD: time.h,v 1.51 2024/09/16 17:25:34 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -171,17 +171,20 @@ int timer_delete(timer_t);
 int timer_getoverrun(timer_t);
 #endif /* _POSIX_C_SOURCE >= 199309 || _XOPEN_SOURCE >= 500 || ... */
 
-#if (_POSIX_C_SOURCE - 0) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \
-defined(_REENTRANT) || defined(_NETBSD_SOURCE)
+#if ((_POSIX_C_SOURCE - 0) >= 199506L && (_POSIX_C_SOURCE - 0) < 202405L) || \
+(_XOPEN_SOURCE - 0) >= 500 || defined(_REENTRANT) || defined(_NETBSD_SOURCE)
 char *asctime_r(const struct tm * __restrict, char * __restrict);
 #ifndef __LIBC12_SOURCE__
 char *ctime_r(const time_t *, char *) __RENAME(__ctime_r50);
 struct tm *gmtime_r(const time_t * __restrict, struct tm * __restrict)
 __RENAME(__gmtime_r50);
+#endif
+#endif
+#if (_POSIX_C_SOURCE - 0) >= 199506L || \
+(_XOPEN_SOURCE - 0) >= 500 || defined(_REENTRANT) || defined(_NETBSD_SOURCE)
 struct tm *localtime_r(const time_t * __restrict, struct tm * __restrict)
 __RENAME(__localtime_r50);
 #endif
-#endif
 
 #if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE)
 #  ifndef __LOCALE_T_DECLARED



CVS commit: src/include

2024-09-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep 16 17:25:34 UTC 2024

Modified Files:
src/include: time.h

Log Message:
asctime_r and ctime_r are no more for POSIX202405


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/include/time.h

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



CVS commit: src/external/bsd/byacc

2024-09-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 15 16:06:41 UTC 2024

Modified Files:
src/external/bsd/byacc: Makefile.inc

Log Message:
Include the date version (from RVP)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/byacc/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/bsd/byacc/Makefile.inc
diff -u src/external/bsd/byacc/Makefile.inc:1.2 src/external/bsd/byacc/Makefile.inc:1.3
--- src/external/bsd/byacc/Makefile.inc:1.2	Fri Sep 16 12:41:20 2011
+++ src/external/bsd/byacc/Makefile.inc	Sun Sep 15 12:06:41 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.2 2011/09/16 16:41:20 joerg Exp $
+#	$NetBSD: Makefile.inc,v 1.3 2024/09/15 16:06:41 christos Exp $
 
 WARNS=4
 
@@ -7,8 +7,10 @@ WARNS=4
 BINDIR?= /usr/bin
 
 IDIST=	${NETBSDSRCDIR}/external/bsd/byacc/dist
+YYPATCH != cat ${IDIST}/VERSION
 
 CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}
+CPPFLAGS+= -DYYPATCH=${YYPATCH}
 CWARNFLAGS+=	-Wno-missing-noreturn
 
 .PATH: ${IDIST}



CVS commit: src/external/bsd/byacc

2024-09-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 15 16:06:41 UTC 2024

Modified Files:
src/external/bsd/byacc: Makefile.inc

Log Message:
Include the date version (from RVP)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/byacc/Makefile.inc

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



CVS commit: src/sys/external/bsd/acpica

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 15 00:11:54 UTC 2024

Modified Files:
src/sys/external/bsd/acpica: acpica2netbsd

Log Message:
fix typo, noted by RVP


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/acpica/acpica2netbsd

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



CVS commit: src/sys/external/bsd/acpica

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Sep 15 00:11:54 UTC 2024

Modified Files:
src/sys/external/bsd/acpica: acpica2netbsd

Log Message:
fix typo, noted by RVP


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/acpica/acpica2netbsd

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

Modified files:

Index: src/sys/external/bsd/acpica/acpica2netbsd
diff -u src/sys/external/bsd/acpica/acpica2netbsd:1.2 src/sys/external/bsd/acpica/acpica2netbsd:1.3
--- src/sys/external/bsd/acpica/acpica2netbsd:1.2	Fri Sep 13 19:16:48 2024
+++ src/sys/external/bsd/acpica/acpica2netbsd	Sat Sep 14 20:11:54 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: acpica2netbsd,v 1.2 2024/09/13 23:16:48 christos Exp $
+# $NetBSD: acpica2netbsd,v 1.3 2024/09/15 00:11:54 christos Exp $
 #
 #  Copyright (c) 2014 The NetBSD Foundation.
 #  All rights reserved.
@@ -46,4 +46,4 @@ mv components/* .
 rmdir source components
 echo; echo
 find . -type -f -exec chmod a-x {} +
-mv include/ACPIXF.h include/ascpxf.h
+mv include/ACPIXF.h include/acpixf.h



CVS commit: src/doc

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 22:30:28 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new byacc


To generate a diff of this commit:
cvs rdiff -u -r1.2043 -r1.2044 src/doc/3RDPARTY
cvs rdiff -u -r1.3093 -r1.3094 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/3RDPARTY
diff -u src/doc/3RDPARTY:1.2043 src/doc/3RDPARTY:1.2044
--- src/doc/3RDPARTY:1.2043	Fri Sep 13 19:15:19 2024
+++ src/doc/3RDPARTY	Sat Sep 14 18:30:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2043 2024/09/13 23:15:19 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.2044 2024/09/14 22:30:28 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -238,12 +238,12 @@ is a FreeBSD committer who has been help
 in the past.
 
 Package:	byacc
-Version:	20210109
-Current Vers:	20210109
+Version:	20240109
+Current Vers:	20240109
 Maintainer:	Thomas Dickey 
 Archive Site:	http://www.invisible-island.net/byacc/byacc.html
 Home Page:	http://www.invisible-island.net/byacc/byacc.html
-Date:		2021-02-20
+Date:		2024-09-14
 Mailing List:
 Responsible:	christos
 License:	Public Domain

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3093 src/doc/CHANGES:1.3094
--- src/doc/CHANGES:1.3093	Sat Sep 14 17:21:43 2024
+++ src/doc/CHANGES	Sat Sep 14 18:30:28 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3093 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3094 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -520,3 +520,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	mac68k: Support for LCD brightness control on PB 1xx.  [nat 20240914]
 	mac68k: Support for power off on PB 1xx.  [nat 20240914]
 	mac68k: Support for the power button on PB 160/180.  [nat 20240914]
+	byacc: Update to 20240109. [christos 20240914]



CVS commit: src/doc

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 22:30:28 UTC 2024

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new byacc


To generate a diff of this commit:
cvs rdiff -u -r1.2043 -r1.2044 src/doc/3RDPARTY
cvs rdiff -u -r1.3093 -r1.3094 src/doc/CHANGES

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



Re: CVS commit: src/lib/libc

2024-09-14 Thread Christos Zoulas
In article ,
Thomas Klausner   wrote:
>On Wed, Sep 11, 2024 at 09:50:35AM -0400, Christos Zoulas wrote:
>> Module Name: src
>> Committed By:christos
>> Date:Wed Sep 11 13:50:35 UTC 2024
>> 
>> Modified Files:
>>  src/lib/libc/compat/time: compat_localtime.c
>>  src/lib/libc/time: CONTRIBUTING Makefile Makefile.inc NEWS asctime.c
>>  localtime.c private.h theory.html tz-art.html tz-link.html tzfile.5
>>  tzselect.ksh version zdump.c zic.8 zic.c
>> 
>> Log Message:
>> Merge tzcode-2024b
>> 
>> Release 2024b - 2024-09-04 12:27:47 -0700
>> 
>>   Changes to code
>> 
>> localtime.c now always uses a TZif file's time type 0 to handle
>> timestamps before the file's first transition.  Formerly,
>> localtime.c sometimes inferred a different time type, in order to
>> handle problematic data generated by zic 2018e or earlier.  As it
>> is now safe to assume more recent versions of zic, there is no
>> longer a pressing need to fail to conform RFC 8536 section 3.2,
>> which requires using time type 0 in this situation.  This change
>> does not affect behavior when reading TZif files generated by zic
>> 2018f and later.
>> 
>> POSIX.1-2024 removes asctime_r and ctime_r and does not let
>> libraries define them, so remove them except when needed to
>> conform to earlier POSIX.  These functions are dangerous as they
>> can overrun user buffers.  If you still need them, add
>> -DSUPPORT_POSIX2008 to CFLAGS.
>
>Hm, that sounds like we should hide asctime_r and ctime_r?
>

I think that it will break stuff in pkgsrc... We could, I guess.

christos





CVS commit: src/external/bsd/byacc/bin

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 22:13:34 UTC 2024

Modified Files:
src/external/bsd/byacc/bin: yacc.1

Log Message:
sync with current man page


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/byacc/bin/yacc.1

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/byacc/bin/yacc.1
diff -u src/external/bsd/byacc/bin/yacc.1:1.9 src/external/bsd/byacc/bin/yacc.1:1.10
--- src/external/bsd/byacc/bin/yacc.1:1.9	Sun Jul 26 20:34:56 2020
+++ src/external/bsd/byacc/bin/yacc.1	Sat Sep 14 18:13:34 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: yacc.1,v 1.9 2020/07/27 00:34:56 uwe Exp $
+.\"	$NetBSD: yacc.1,v 1.10 2024/09/14 22:13:34 christos Exp $
 .\"
 .\" Copyright (c) 1989, 1990 The Regents of the University of California.
 .\" All rights reserved.
@@ -32,9 +32,9 @@
 .\"
 .\"	from: @(#)yacc.1	5.7 (Berkeley) 7/30/91
 .\"	from: Id: yacc.1,v 1.24 2014/10/06 00:03:48 tom Exp
-.\"	$NetBSD: yacc.1,v 1.9 2020/07/27 00:34:56 uwe Exp $
+.\"	$NetBSD: yacc.1,v 1.10 2024/09/14 22:13:34 christos Exp $
 .\"
-.Dd October 5, 2014
+.Dd September 14, 2024
 .Dt YACC 1
 .Os
 .Sh NAME
@@ -44,8 +44,9 @@
 parser generator
 .Sh SYNOPSIS
 .Nm
-.Op Fl BdgilLPrtvVy
+.Op Fl BdhgilLPrtvVy
 .Op Fl b Ar file_prefix
+.Op Fl H Ar defines_file
 .Op Fl o Ar output_file
 .Op Fl p Ar symbol_prefix
 .Ar filename
@@ -78,14 +79,26 @@ The default prefix is the character
 Create a backtracking parser (compile-type configuration for
 .Nm ) .
 .It Fl d
-The
-.Fl d
-option causes the header file
+causes the header file
 .Pa y.tab.h
 to be written.
 It contains
 .No #define Ns 's
 for the token identifiers.
+.It Fl h
+print a usage message to the standard error.
+.It Fl H Ar defines_file
+causes
+.No #define Ns 's
+for the token identifiers
+to be written to the given 
+.Ar defines_file
+rather
+than the 
+.Pa y.tab.h
+file used by the
+.Fl d
+option.
 .It Fl g
 The
 .Fl g
@@ -146,21 +159,13 @@ Enable position processing, e.g.,
 (compile-type configuration for
 .Nm ) .
 .It Fl o Ar output_file
-Specify the filename for the parser file.
+specify the filename for the parser file.
 If this option is not given, the output filename is
 the file prefix concatenated with the file suffix, e.g.
 .Pa y.tab.c .
 This overrides the
 .Fl b
 option.
-.It Fl P
-The
-.Fl P
-options instructs
-.Nm
-to create a reentrant parser, like
-.Ql %pure-parser
-does.
 .It Fl p Ar symbol_prefix
 The
 .Fl p
@@ -169,6 +174,9 @@ the string denoted by
 .Ar symbol_prefix .
 The default prefix is the string
 .Ql yy .
+.It Fl P
+create a reentrant parser, e.g.,
+.Ql %pure-parser .
 .It Fl r
 The
 .Fl r
@@ -237,16 +245,16 @@ The
 option changes the preprocessor directives generated by
 .Nm
 so that debugging statements will be incorporated in the compiled code.
-.It Fl V
-The
-.Fl V
-option prints the version number to the standard output.
 .It Fl v
 The
 .Fl v
 option causes a human-readable description of the generated parser to
 be written to the file
 .Pa y.output .
+.It Fl V
+The
+.Fl V
+print the version number to the standard output.
 .It Fl y
 .Nm
 ignores this option,
@@ -254,23 +262,80 @@ which
 .Xr bison 1
 supports for ostensible POSIX compatibility.
 .El
+.Pp
+The filename parameter is not optional.
+However, 
+.Nm
+accepts a single
+.Dq \&-
+to read the grammar from the standard input.
+A double 
+.Dq \&--
+marker denotes the end of options.
+A single filename  parameter  is  expected after a
+.Dq \&--
+marker.
 .Sh EXTENSIONS
 .Nm
 provides some extensions for
 compatibility with
 .Xr bison 1
 and other implementations of yacc.
+It accepts several
+.Ql long options
+which have equivalents in
+.Nm .
 The
 .Ql %destructor
 and
 .Ql %locations
 features are available only if
 .Nm yacc
-has been configured and compiled to support the back-tracking functionality.
+has been configured and compiled to support the back-tracking 
+.Aq ( btyacc )
+functionality.
 The remaining features are always available:
-.Bl -tag -width Ic
+.Bl -tag -width Fl
+.It Ic %code Ar keyword { Ar code Ic }
+Adds the indicated source code at a given point in the output
+file.
+The optional
+.Ar keyword
+tells yacc where to insert the
+.Ar code :
+.Bl -tag -width Fl
+.It Ic top
+just after the version-definition in  the  generated  code-file.
+.It Ic requires
+just after the declaration of public parser variables.
+If the 
+.Fl d
+option is given, the code is inserted at the beginning of the 
+.Ar defines_file .
+.It Ic provides
+just after the declaration of private parser variables.
+If the
+.Fl d
+option is given, the code is inserted at the end  of the
+.Ar defines_file .
+.El
+.Pp
+If no 
+.Ar keyword
+is given, the code is inserted at the beginning of
+the section of code copied verbatim from the source file.
+Multiple
+.Ar %code
+directives may be given;
+.Nm
+inserts those into the corresponding code- or defines_file in the order that
+they a

CVS commit: src/external/bsd/byacc/bin

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 22:13:34 UTC 2024

Modified Files:
src/external/bsd/byacc/bin: yacc.1

Log Message:
sync with current man page


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/byacc/bin/yacc.1

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



CVS commit: src/external/bsd/byacc

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 21:29:05 UTC 2024

Modified Files:
src/external/bsd/byacc/dist: btyaccpar.c btyaccpar.skel closure.c
config.guess config.sub config_h.in defs.h error.c lalr.c lr0.c
main.c mkpar.c mstring.c output.c reader.c verbose.c yacc.1
yaccpar.c
src/external/bsd/byacc/dist/test: expr.oxout.h expr.oxout.y
ok_syntax1.y
src/external/bsd/byacc/dist/test/btyacc: btyacc_calc1.tab.c
btyacc_calc1.tab.h btyacc_demo.tab.c btyacc_demo.tab.h
btyacc_destroy1.tab.c btyacc_destroy1.tab.h btyacc_destroy2.tab.c
btyacc_destroy2.tab.h btyacc_destroy3.tab.c btyacc_destroy3.tab.h
calc.tab.c calc1.tab.c calc1.tab.h calc2.tab.c calc3.tab.c
calc_code_all.tab.c calc_code_default.tab.c calc_code_imports.tab.c
calc_code_provides.tab.c calc_code_requires.tab.c
calc_code_top.tab.c code_calc.code.c code_calc.tab.c
code_error.code.c code_error.tab.c defines1.calc.c defines2.calc.c
defines3.calc.c empty.tab.c err_inherit3.tab.c err_inherit3.tab.h
err_inherit4.tab.c err_inherit4.tab.h err_syntax10.tab.c
err_syntax11.tab.c err_syntax12.tab.c err_syntax18.tab.c
err_syntax20.tab.c error.tab.c expr.oxout.tab.c expr.oxout.tab.h
grammar.tab.c inherit0.tab.c inherit1.tab.c inherit1.tab.h
inherit2.tab.c inherit2.tab.h ok_syntax1.tab.c ok_syntax1.tab.h
pure_calc.tab.c pure_error.tab.c quote_calc-s.tab.c
quote_calc.tab.c quote_calc2-s.tab.c quote_calc2.tab.c
quote_calc3-s.tab.c quote_calc3.tab.c quote_calc4-s.tab.c
quote_calc4.tab.c rename_debug.c stdin1.calc.c stdin2.calc.c
varsyntax_calc1.tab.c varsyntax_calc1.tab.h
src/external/bsd/byacc/dist/test/yacc: calc.tab.c calc1.tab.c
calc1.tab.h calc2.tab.c calc3.tab.c calc_code_all.tab.c
calc_code_default.tab.c calc_code_imports.tab.c
calc_code_provides.tab.c calc_code_requires.tab.c
calc_code_top.tab.c code_calc.code.c code_calc.tab.c
code_error.code.c code_error.tab.c defines1.calc.c defines2.calc.c
defines3.calc.c empty.tab.c err_syntax10.tab.c err_syntax11.tab.c
err_syntax12.tab.c err_syntax18.tab.c err_syntax20.tab.c
error.tab.c expr.oxout.tab.c expr.oxout.tab.h grammar.tab.c
ok_syntax1.tab.c ok_syntax1.tab.h pure_calc.tab.c pure_error.tab.c
quote_calc-s.tab.c quote_calc.tab.c quote_calc2-s.tab.c
quote_calc2.tab.c quote_calc3-s.tab.c quote_calc3.tab.c
quote_calc4-s.tab.c quote_calc4.tab.c rename_debug.c stdin1.calc.c
stdin2.calc.c varsyntax_calc1.tab.c varsyntax_calc1.tab.h
src/external/bsd/byacc/include: config.h
Removed Files:
src/external/bsd/byacc/dist/package/debian: compat docs postinst prerm

Log Message:
merge conflicts between 20210109 and 20240109


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/byacc/dist/btyaccpar.c \
src/external/bsd/byacc/dist/btyaccpar.skel \
src/external/bsd/byacc/dist/config.guess \
src/external/bsd/byacc/dist/config_h.in \
src/external/bsd/byacc/dist/yaccpar.c
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/byacc/dist/closure.c
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/byacc/dist/config.sub \
src/external/bsd/byacc/dist/mstring.c
cvs rdiff -u -r1.19 -r1.20 src/external/bsd/byacc/dist/defs.h
cvs rdiff -u -r1.14 -r1.15 src/external/bsd/byacc/dist/error.c
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/byacc/dist/lalr.c
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/byacc/dist/lr0.c \
src/external/bsd/byacc/dist/mkpar.c src/external/bsd/byacc/dist/verbose.c
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/byacc/dist/main.c \
src/external/bsd/byacc/dist/reader.c
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/byacc/dist/output.c
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/byacc/dist/yacc.1
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/byacc/dist/package/debian/compat
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/byacc/dist/package/debian/docs \
src/external/bsd/byacc/dist/package/debian/postinst \
src/external/bsd/byacc/dist/package/debian/prerm
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/byacc/dist/test/expr.oxout.h
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/byacc/dist/test/expr.oxout.y
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/byacc/dist/test/ok_syntax1.y
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/byacc/dist/test/btyacc/btyacc_calc1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_demo.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.tab.c \
src/external/bsd/byacc/dist/test/btyacc/calc.tab.c \
src/external/bsd/bya

CVS import: src/external/bsd/byacc/dist

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 21:26:12 UTC 2024

Update of /cvsroot/src/external/bsd/byacc/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv3774

Log Message:
Import byacc 20240109, previous was 20210109

Changes:

2024-01-09  Thomas E. Dickey  

* yacc.1: minor cleanup

* package/debian/copyright: bump

* configure: regen

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-12-01  Thomas E. Dickey  

* aclocal.m4:
resync with my-autoconf: CF_CONST_X_STRING CF_MKSTEMP CF_WITH_MAN2HTML 
CF_XOPEN_SOURCE

2023-09-15  Thomas E. Dickey  

* config.sub: 2023-09-15

2023-08-22  Thomas E. Dickey  

* config.guess: 2023-08-22

2023-05-21  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

* configure: regen

* aclocal.m4:
updates for CF_INSTALL_MAN from reflex, which needs the symbolic link 
feature

* aclocal.m4:
improve install-man by adding sed commands for --program-transform-name

2023-05-19  Thomas E. Dickey  

* makefile.in: use CF_INSTALL_MAN

* aclocal.m4:
add CF_INSTALL_MAN, to begin refactoring install rule for manpage

* configure: regen

* configure.in: use CF_INSTALL_MAN

2023-05-18  Thomas E. Dickey  

* error.c, defs.h, reader.c:
allow @1 or $@ with a warning if no %locations was given

2023-05-17  Thomas E. Dickey  

* reader.c: clear pointer in end_ainfo() after freeing it.

2023-05-16  Thomas E. Dickey  

* reader.c: report errors in %define as "unexpected value"

* reader.c:
add/use macros begin_ainfo() and end_ainfo() to reduce clutter

* defs.h, error.c: add function unexpected_value()

* reader.c:
recognize bison's "%define api.pure" as an alternative to "%pure-parser"

* reader.c:
add %nterm as an alias for %type, since bison made that confusion.

* reader.c:
ensure that filler_buf and prefix_buf are initialized for the special 
case
where they are empty (report by Martin Jansa, cf: 20230219)

* output.c:
make test-differences smaller when compiling with YY_NO_LEAKS by 
replacing
a blank line with the generated #define rather than adding 3 lines.

* reader.c: gcc-warnings

2023-05-15  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

* reader.c:
when copying parameters, check for a case where the last token is not a
name, e.g., "foo [1]" would have "[1]".  In this case, scan back to find
the actual parameter name.

* reader.c:
correct a use-after-free in more_curly, which could occur if a 
%lex-param
or %parse-param was multi-line (Redhat #2183006).

2023-05-11  Thomas E. Dickey  

* main.c: rename no_space() to on_error()

* error.c: rename no_space() to no_error(), handling any errno

* defs.h: rename no_space() to on_error()

2023-04-03  Thomas E. Dickey  

* aclocal.m4: resync with my-autoconf: CF_GCC_VERSION CF_XOPEN_SOURCE

2023-02-26  Thomas E. Dickey  

* mstring.c, reader.c: yak-indent

2023-02-26  mingodad

* reader.c:
patch for byacc #6: Segmentation fault when trying to parse bison-3.8.2 
grammar

2023-02-26  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-02-20  Thomas E. Dickey  

* configure: regen

* aclocal.m4: resync with my-autoconf

2023-02-19  Thomas E. Dickey  

* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
  test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen

* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c

* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition (report by Dag-Erling Smørgrav).

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-02-01  Thomas E. Dickey  

* configure: regen

* configure.in: initialize $ac_includes_default

* VERSION, package/byacc.spec, package/debian/changelog,
  package/debian/copyright, package/mingw-byacc.spec,
  package/pkgsrc/Makefile:
bump

2023-01-05  Thomas E. Dickey  

* aclocal.m4: resync with my-autoconf

2022-12-29  Thomas E. Dickey  

* configure: regen

* configur

CVS import: src/external/bsd/byacc/dist

2024-09-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 14 21:26:12 UTC 2024

Update of /cvsroot/src/external/bsd/byacc/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv3774

Log Message:
Import byacc 20240109, previous was 20210109

Changes:

2024-01-09  Thomas E. Dickey  

* yacc.1: minor cleanup

* package/debian/copyright: bump

* configure: regen

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-12-01  Thomas E. Dickey  

* aclocal.m4:
resync with my-autoconf: CF_CONST_X_STRING CF_MKSTEMP CF_WITH_MAN2HTML 
CF_XOPEN_SOURCE

2023-09-15  Thomas E. Dickey  

* config.sub: 2023-09-15

2023-08-22  Thomas E. Dickey  

* config.guess: 2023-08-22

2023-05-21  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

* configure: regen

* aclocal.m4:
updates for CF_INSTALL_MAN from reflex, which needs the symbolic link 
feature

* aclocal.m4:
improve install-man by adding sed commands for --program-transform-name

2023-05-19  Thomas E. Dickey  

* makefile.in: use CF_INSTALL_MAN

* aclocal.m4:
add CF_INSTALL_MAN, to begin refactoring install rule for manpage

* configure: regen

* configure.in: use CF_INSTALL_MAN

2023-05-18  Thomas E. Dickey  

* error.c, defs.h, reader.c:
allow @1 or $@ with a warning if no %locations was given

2023-05-17  Thomas E. Dickey  

* reader.c: clear pointer in end_ainfo() after freeing it.

2023-05-16  Thomas E. Dickey  

* reader.c: report errors in %define as "unexpected value"

* reader.c:
add/use macros begin_ainfo() and end_ainfo() to reduce clutter

* defs.h, error.c: add function unexpected_value()

* reader.c:
recognize bison's "%define api.pure" as an alternative to "%pure-parser"

* reader.c:
add %nterm as an alias for %type, since bison made that confusion.

* reader.c:
ensure that filler_buf and prefix_buf are initialized for the special 
case
where they are empty (report by Martin Jansa, cf: 20230219)

* output.c:
make test-differences smaller when compiling with YY_NO_LEAKS by 
replacing
a blank line with the generated #define rather than adding 3 lines.

* reader.c: gcc-warnings

2023-05-15  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

* reader.c:
when copying parameters, check for a case where the last token is not a
name, e.g., "foo [1]" would have "[1]".  In this case, scan back to find
the actual parameter name.

* reader.c:
correct a use-after-free in more_curly, which could occur if a 
%lex-param
or %parse-param was multi-line (Redhat #2183006).

2023-05-11  Thomas E. Dickey  

* main.c: rename no_space() to on_error()

* error.c: rename no_space() to no_error(), handling any errno

* defs.h: rename no_space() to on_error()

2023-04-03  Thomas E. Dickey  

* aclocal.m4: resync with my-autoconf: CF_GCC_VERSION CF_XOPEN_SOURCE

2023-02-26  Thomas E. Dickey  

* mstring.c, reader.c: yak-indent

2023-02-26  mingodad

* reader.c:
patch for byacc #6: Segmentation fault when trying to parse bison-3.8.2 
grammar

2023-02-26  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-02-20  Thomas E. Dickey  

* configure: regen

* aclocal.m4: resync with my-autoconf

2023-02-19  Thomas E. Dickey  

* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
  test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen

* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c

* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition (report by Dag-Erling Smørgrav).

* VERSION, package/byacc.spec, package/debian/changelog,
  package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2023-02-01  Thomas E. Dickey  

* configure: regen

* configure.in: initialize $ac_includes_default

* VERSION, package/byacc.spec, package/debian/changelog,
  package/debian/copyright, package/mingw-byacc.spec,
  package/pkgsrc/Makefile:
bump

2023-01-05  Thomas E. Dickey  

* aclocal.m4: resync with my-autoconf

2022-12-29  Thomas E. Dickey  

* configure: regen

* configur

CVS commit: src/sys/external/bsd/acpica

2024-09-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 13 23:16:48 UTC 2024

Modified Files:
src/sys/external/bsd/acpica: acpica2netbsd

Log Message:
fix more windows damage: remove executable bit, fix capitalized file


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/acpica/acpica2netbsd

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

Modified files:

Index: src/sys/external/bsd/acpica/acpica2netbsd
diff -u src/sys/external/bsd/acpica/acpica2netbsd:1.1 src/sys/external/bsd/acpica/acpica2netbsd:1.2
--- src/sys/external/bsd/acpica/acpica2netbsd:1.1	Sat Oct 25 17:00:06 2014
+++ src/sys/external/bsd/acpica/acpica2netbsd	Fri Sep 13 19:16:48 2024
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: acpica2netbsd,v 1.1 2014/10/25 21:00:06 christos Exp $
+# $NetBSD: acpica2netbsd,v 1.2 2024/09/13 23:16:48 christos Exp $
 #
 #  Copyright (c) 2014 The NetBSD Foundation.
 #  All rights reserved.
@@ -45,3 +45,5 @@ mv source/* .
 mv components/* .
 rmdir source components
 echo; echo
+find . -type -f -exec chmod a-x {} +
+mv include/ACPIXF.h include/ascpxf.h



CVS commit: src/sys/external/bsd/acpica

2024-09-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 13 23:16:48 UTC 2024

Modified Files:
src/sys/external/bsd/acpica: acpica2netbsd

Log Message:
fix more windows damage: remove executable bit, fix capitalized file


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/acpica/acpica2netbsd

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



  1   2   3   4   5   6   7   8   9   10   >