CVS commit: src/sys/dev/usb

2023-12-23 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Dec 24 02:47:47 UTC 2023

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
usbdevs.h & usbdevs_data.h: regen


To generate a diff of this commit:
cvs rdiff -u -r1.802 -r1.803 src/sys/dev/usb/usbdevs.h \
src/sys/dev/usb/usbdevs_data.h

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

Modified files:

Index: src/sys/dev/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.802 src/sys/dev/usb/usbdevs.h:1.803
--- src/sys/dev/usb/usbdevs.h:1.802	Mon Dec 11 13:35:40 2023
+++ src/sys/dev/usb/usbdevs.h	Sun Dec 24 02:47:47 2023
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs.h,v 1.802 2023/12/11 13:35:40 mlelstv Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.803 2023/12/24 02:47:47 gutteridge Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.810 2023/12/11 13:33:35 mlelstv Exp
+ *	NetBSD: usbdevs,v 1.811 2023/12/24 02:42:51 gutteridge Exp
  */
 
 /*-
@@ -2929,6 +2929,7 @@
 #define	USB_PRODUCT_REALTEK_RTL8713	0x8713		/* RTL8713 */
 #define	USB_PRODUCT_REALTEK_RTL8188CU_COMBO	0x8754		/* RTL8188CU */
 #define	USB_PRODUCT_REALTEK_RTL8192SU	0xc512		/* RTL8192SU */
+#define	USB_PRODUCT_REALTEK_RTL8188FU	0xf179		/* RTL8188FU */
 
 /* Research In Motion */
 #define	USB_PRODUCT_RIM_BLACKBERRY	0x0001		/* BlackBerry */
Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.802 src/sys/dev/usb/usbdevs_data.h:1.803
--- src/sys/dev/usb/usbdevs_data.h:1.802	Mon Dec 11 13:35:40 2023
+++ src/sys/dev/usb/usbdevs_data.h	Sun Dec 24 02:47:47 2023
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs_data.h,v 1.802 2023/12/11 13:35:40 mlelstv Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.803 2023/12/24 02:47:47 gutteridge Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.810 2023/12/11 13:33:35 mlelstv Exp
+ *	NetBSD: usbdevs,v 1.811 2023/12/24 02:42:51 gutteridge Exp
  */
 
 /*-
@@ -3968,162 +3968,164 @@ static const uint32_t usb_products[] = {
 	5293, 0,
 	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8192SU, 
 	5431, 0,
-	USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY, 
+	USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188FU, 
 	17332, 0,
+	USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY, 
+	17342, 0,
 	USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY_PEARL_DUAL, 
-	17332, 17343, 13673, 0,
+	17342, 17353, 13673, 0,
 	USB_VENDOR_RIM, USB_PRODUCT_RIM_BLACKBERRY_PEARL, 
-	17332, 17343, 0,
+	17342, 17353, 0,
 	USB_VENDOR_ROCKFIRE, USB_PRODUCT_ROCKFIRE_GAMEPAD, 
-	12974, 17349, 0,
+	12974, 17359, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UA100, 
-	17356, 4959, 7316, 17363, 0,
+	17366, 4959, 7316, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM4, 
-	17367, 17372, 17363, 0,
+	17377, 17382, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SC8850, 
-	17377, 17386, 17394, 17400, 17372, 17407, 0,
+	17387, 17396, 17404, 17410, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_U8, 
-	17414, 4959, 7316, 17363, 0,
+	17424, 4959, 7316, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM2, 
-	17418, 17372, 17363, 0,
+	17428, 17382, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SC8820, 
-	17423, 17435, 17372, 17407, 0,
+	17433, 17445, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_PC300, 
-	17443, 17372, 5993, 0,
+	17453, 17382, 5993, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM1, 
-	17450, 17372, 17363, 0,
+	17460, 17382, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SK500, 
-	17423, 17455, 17372, 5993, 0,
+	17433, 17465, 17382, 5993, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SCD70, 
-	17462, 17372, 17407, 0,
+	17472, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UA3, 
-	17469, 17476, 4959, 17481, 17363, 0,
+	17479, 17486, 4959, 17491, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_XV5050, 
-	17487, 17372, 17407, 0,
+	17497, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM880N, 
-	17469, 17495, 17372, 17363, 17502, 0,
+	17479, 17505, 17382, 17373, 17512, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM880G, 
-	17469, 17495, 17372, 17363, 17511, 0,
+	17479, 17505, 17382, 17373, 17521, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SD90, 
-	17469, 17521, 17527, 17400, 17372, 17407, 0,
+	17479, 17531, 17537, 17410, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UA1A, 
-	17533, 4959, 7316, 17363, 0,
+	17543, 4959, 7316, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_UM550, 
-	17539, 17372, 17363, 0,
+	17549, 17382, 17373, 0,
 	USB_VENDOR_ROLAND, USB_PRODUCT_ROLAND_SD20, 
-	17546, 17372, 17407, 0,
+	17556, 17382, 17417, 0,
 	USB_VENDOR_ROLAND, 

CVS commit: src/sys/dev/usb

2023-12-23 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Dec 24 02:47:47 UTC 2023

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
usbdevs.h & usbdevs_data.h: regen


To generate a diff of this commit:
cvs rdiff -u -r1.802 -r1.803 src/sys/dev/usb/usbdevs.h \
src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/sys/dev/usb

2023-12-23 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Dec 24 02:42:51 UTC 2023

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
usbdevs: add RTL8188FU


To generate a diff of this commit:
cvs rdiff -u -r1.810 -r1.811 src/sys/dev/usb/usbdevs

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/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.810 src/sys/dev/usb/usbdevs:1.811
--- src/sys/dev/usb/usbdevs:1.810	Mon Dec 11 13:33:35 2023
+++ src/sys/dev/usb/usbdevs	Sun Dec 24 02:42:51 2023
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.810 2023/12/11 13:33:35 mlelstv Exp $
+$NetBSD: usbdevs,v 1.811 2023/12/24 02:42:51 gutteridge Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -2922,6 +2922,7 @@ product REALTEK RTL8712		0x8712	RTL8712
 product REALTEK RTL8713		0x8713	RTL8713
 product REALTEK RTL8188CU_COMBO	0x8754	RTL8188CU
 product REALTEK RTL8192SU	0xc512	RTL8192SU
+product REALTEK RTL8188FU	0xf179	RTL8188FU
 
 /* Research In Motion */
 product RIM BLACKBERRY			0x0001	BlackBerry



CVS commit: src/sys/dev/usb

2023-12-23 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sun Dec 24 02:42:51 UTC 2023

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
usbdevs: add RTL8188FU


To generate a diff of this commit:
cvs rdiff -u -r1.810 -r1.811 src/sys/dev/usb/usbdevs

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



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

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 23:00:09 UTC 2023

Modified Files:
src/sys/arch/evbarm/adi_brh: brh_machdep.c

Log Message:
Fix physmem printf format specifier %d->%ld.

Fixes VERBOSE_INIT_ARM enabled build for ADI_BRH kernel config.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/evbarm/adi_brh/brh_machdep.c

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



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

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 23:00:09 UTC 2023

Modified Files:
src/sys/arch/evbarm/adi_brh: brh_machdep.c

Log Message:
Fix physmem printf format specifier %d->%ld.

Fixes VERBOSE_INIT_ARM enabled build for ADI_BRH kernel config.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/evbarm/adi_brh/brh_machdep.c

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

Modified files:

Index: src/sys/arch/evbarm/adi_brh/brh_machdep.c
diff -u src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.53 src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.54
--- src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.53	Thu Oct 12 11:33:37 2023
+++ src/sys/arch/evbarm/adi_brh/brh_machdep.c	Sat Dec 23 23:00:09 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: brh_machdep.c,v 1.53 2023/10/12 11:33:37 skrll Exp $	*/
+/*	$NetBSD: brh_machdep.c,v 1.54 2023/12/23 23:00:09 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.53 2023/10/12 11:33:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.54 2023/12/23 23:00:09 andvar Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_console.h"
@@ -407,7 +407,7 @@ initarm(void *arg)
 
 #ifdef VERBOSE_INIT_ARM
 	/* Tell the user about the memory */
-	printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
+	printf("physmemory: %ld pages at 0x%08lx -> 0x%08lx\n", physmem,
 	physical_start, physical_end - 1);
 #endif
 



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

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 21:53:54 UTC 2023

Modified Files:
src/external/bsd/blocklist/bin: blocklistd.c

Log Message:
PR/57767: Yoshitaka Tokugawa: When restoring, do so from a readonly copy
of the database and update the read-write copy with the new firewall ids.
Before we did not update the state file so it contained the old firewall ids.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/blocklist/bin/blocklistd.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/blocklist/bin/blocklistd.c
diff -u src/external/bsd/blocklist/bin/blocklistd.c:1.3 src/external/bsd/blocklist/bin/blocklistd.c:1.4
--- src/external/bsd/blocklist/bin/blocklistd.c:1.3	Wed Oct 12 14:36:02 2022
+++ src/external/bsd/blocklist/bin/blocklistd.c	Sat Dec 23 16:53:54 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: blocklistd.c,v 1.3 2022/10/12 18:36:02 christos Exp $	*/
+/*	$NetBSD: blocklistd.c,v 1.4 2023/12/23 21:53:54 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include "config.h"
 #endif
 #include 
-__RCSID("$NetBSD: blocklistd.c,v 1.3 2022/10/12 18:36:02 christos Exp $");
+__RCSID("$NetBSD: blocklistd.c,v 1.4 2023/12/23 21:53:54 christos Exp $");
 
 #include 
 #include 
@@ -395,15 +395,25 @@ rules_flush(void)
 static void
 rules_restore(void)
 {
+	DB *db;
 	struct conf c;
 	struct dbinfo dbi;
 	unsigned int f;
 
-	for (f = 1; state_iterate(state, , , f) == 1; f = 0) {
+	db = state_open(dbfile, O_RDONLY, 0);
+	if (db == NULL) {
+		(*lfun)(LOG_ERR, "Can't open `%s' to restore state (%m)",
+			dbfile);
+		return;
+	}
+	for (f = 1; state_iterate(db, , , f) == 1; f = 0) {
 		if (dbi.id[0] == '\0')
 			continue;
 		(void)run_change("add", , dbi.id, sizeof(dbi.id));
+		state_put(state, , );
 	}
+	state_close(db);
+	state_sync(state);
 }
 
 int



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

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 21:53:54 UTC 2023

Modified Files:
src/external/bsd/blocklist/bin: blocklistd.c

Log Message:
PR/57767: Yoshitaka Tokugawa: When restoring, do so from a readonly copy
of the database and update the read-write copy with the new firewall ids.
Before we did not update the state file so it contained the old firewall ids.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/blocklist/bin/blocklistd.c

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



CVS commit: src/sys/arch/x68k/stand/loadbsd

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:57:16 UTC 2023

Modified Files:
src/sys/arch/x68k/stand/loadbsd: loadbsd.c

Log Message:
update usage() and usage comment with missing options.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/loadbsd/loadbsd.c

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

Modified files:

Index: src/sys/arch/x68k/stand/loadbsd/loadbsd.c
diff -u src/sys/arch/x68k/stand/loadbsd/loadbsd.c:1.14 src/sys/arch/x68k/stand/loadbsd/loadbsd.c:1.15
--- src/sys/arch/x68k/stand/loadbsd/loadbsd.c:1.14	Mon Feb 21 02:31:59 2011
+++ src/sys/arch/x68k/stand/loadbsd/loadbsd.c	Sat Dec 23 20:57:16 2023
@@ -4,10 +4,11 @@
  *	written by ITOH Yasufumi
  *	public domain
  *
- *	loadbsd [-hvV] [-abDs] [-r root_device] netbsd
+ *	loadbsd [-hvV] [-abDNqs] [-r root_device] netbsd
  *
  *	loadbsd options:
  *		-h	help
+ *		-N	do not actually execute kernel
  *		-V	print version and exit
  *
  *	kernel options:
@@ -19,13 +20,13 @@
  *		-q	quiet boot
  *		-v	verbose boot (also turn on verbosity of loadbsd)
  *
- *	$NetBSD: loadbsd.c,v 1.14 2011/02/21 02:31:59 itohy Exp $
+ *	$NetBSD: loadbsd.c,v 1.15 2023/12/23 20:57:16 andvar Exp $
  */
 
 #include 
 
-__RCSID("$NetBSD: loadbsd.c,v 1.14 2011/02/21 02:31:59 itohy Exp $");
-#define VERSION	"$Revision: 1.14 $ $Date: 2011/02/21 02:31:59 $"
+__RCSID("$NetBSD: loadbsd.c,v 1.15 2023/12/23 20:57:16 andvar Exp $");
+#define VERSION	"$Revision: 1.15 $ $Date: 2023/12/23 20:57:16 $"
 
 #include 		/* ntohl */
 #include 
@@ -416,10 +417,11 @@ usage(int status, const char *msg)
 		xwarnx("%s", msg);
 
 	xerrprintf("\
-%s [-hvV] [-abDs] [-r root_device] netbsd\n\
+%s [-hvV] [-abDNqs] [-r root_device] netbsd\n\
 \n\
 loadbsd options:\n\
 \t-h	help\n\
+\t-N	do not execute kernel\n\
 \t-v	verbose\n\
 \t-V	print version and exit\n\
 \n\
@@ -427,6 +429,7 @@ kernel options:\n\
 \t-a	auto boot, opposite of -s\n\
 \t-s	single user boot (default)\n\
 \t-D	enter kernel debugger\n\
+\t-q	quiet boot\n\
 \t-b	ask root device\n\
 \t-r	specify root device (default %s)\n\
 \t	format:  [/interface/]device@unit[,lun][:partition]\n\



CVS commit: src/sys/arch/x68k/stand/loadbsd

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:57:16 UTC 2023

Modified Files:
src/sys/arch/x68k/stand/loadbsd: loadbsd.c

Log Message:
update usage() and usage comment with missing options.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/loadbsd/loadbsd.c

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



CVS commit: src/doc

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:49:22 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new tzcode


To generate a diff of this commit:
cvs rdiff -u -r1.1973 -r1.1974 src/doc/3RDPARTY
cvs rdiff -u -r1.3026 -r1.3027 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

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:49:22 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new tzcode


To generate a diff of this commit:
cvs rdiff -u -r1.1973 -r1.1974 src/doc/3RDPARTY
cvs rdiff -u -r1.3026 -r1.3027 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.1973 src/doc/3RDPARTY:1.1974
--- src/doc/3RDPARTY:1.1973	Sat Dec 23 15:32:30 2023
+++ src/doc/3RDPARTY	Sat Dec 23 15:49:22 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1973 2023/12/23 20:32:30 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.1974 2023/12/23 20:49:22 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1429,14 +1429,14 @@ Location:	external/bsd/tradcpp
 Notes:
 
 Package:	tz
-Version:	tzcode2023c / tzdata2023dgtz
+Version:	tzcode2023d / tzdata2023dgtz
 Current Vers:	tzcode2023d / tzdata2023d
 Maintainer:	Paul Eggert 
 Archive Site:	ftp://ftp.iana.org/tz/releases/
 Archive Site:	ftp://munnari.oz.au/pub/oldtz/
 Old Archive Site:	ftp://elsie.nci.nih.gov/pub/
 Home Page:	http://www.iana.org/time-zones
-Date:		2023-09-16
+Date:		2023-12-23
 Mailing List:	t...@iana.org
 Responsible:	kleink, christos, kre
 License:	Public domain

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3026 src/doc/CHANGES:1.3027
--- src/doc/CHANGES:1.3026	Sat Dec 23 15:32:30 2023
+++ src/doc/CHANGES	Sat Dec 23 15:49:22 2023
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3026 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3027 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -245,3 +245,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	OpenSSH: Import 9.6. [christos 20231220]
 	tzdata: Updated to 2023d (via 2023dgtz) [kre 20231223]
 	postfix(1): Import version 3.8.4. [christos 20231223]
+	tzcode: Updated to 2023d. [christos 20231223]



CVS commit: src/lib/libc/time

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:48:38 UTC 2023

Modified Files:
src/lib/libc/time: Makefile NEWS README localtime.c private.h
tz-art.html tz-link.html

Log Message:
Import tzcode 2023d:

localtime.c no longer mishandles TZif files that contain a single
transition into a DST regime.  Previously, it incorrectly assumed
DST was in effect before the transition too.  (Thanks to Alois
Treindl for debugging help.)

localtime.c's timeoff no longer collides with OpenBSD 7.4.

The C code now uses _Generic only if __STDC_VERSION__ says the
compiler is C11 or later.

tzselect now optionally reads zonenow.tab, to simplify when
configuring only for timestamps dated from now on.

tzselect no longer creates temporary files.

tzselect no longer mishandles the following:

  Spaces and most other special characters in BUGEMAIL, PACKAGE,
  TZDIR, and VERSION.

  TZ strings when using mawk 1.4.3, which mishandles regular
  expressions of the form /X{2,}/.

  ISO 6709 coordinates when using an awk that lacks the GNU
  extension of newlines in -v option-arguments.

  Non UTF-8 locales when using an iconv command that lacks the GNU
  //TRANSLIT extension.

zic no longer mishandles data for Palestine after the year 2075.
Previously, it incorrectly omitted post-2075 transitions that are
predicted for just before and just after Ramadan.  (Thanks to Ken
Murchison for debugging help.)

zic now works again on Linux 2.6.16 and 2.6.17 (2006).


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/time/Makefile
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/time/NEWS
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/time/README
cvs rdiff -u -r1.138 -r1.139 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.66 -r1.67 src/lib/libc/time/private.h
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/time/tz-art.html
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/time/tz-link.html

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/time/Makefile
diff -u src/lib/libc/time/Makefile:1.55 src/lib/libc/time/Makefile:1.56
--- src/lib/libc/time/Makefile:1.55	Sat Sep 16 14:40:26 2023
+++ src/lib/libc/time/Makefile	Sat Dec 23 15:48:38 2023
@@ -1,7 +1,25 @@
 # Make and install tzdb code and data.
-
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
+# Request POSIX conformance; this must be the first non-comment line.
+.POSIX:
+# On older platforms you may need to scrounge for a POSIX-conforming 'make'.
+# For example, on Solaris 10 (2005), use /usr/sfw/bin/gmake or
+# /usr/xpg4/bin/make, not /usr/ccs/bin/make.
+
+# To affect how this Makefile works, you can run a shell script like this:
+#
+#	#!/bin/sh
+#	make CC='gcc -std=gnu11' "$@"
+#
+# This example script is appropriate for a pre-2017 GNU/Linux system
+# where a non-default setting is needed to support this package's use of C99.
+#
+# Alternatively, you can simply edit this Makefile to tailor the following
+# macro definitions.
+
+###
+# Start of macros that one plausibly might want to tailor.
 
 # Package name for the code distribution.
 PACKAGE=	tzcode
@@ -191,8 +209,9 @@ UTF8_LOCALE=	en_US.utf8
 # On some hosts, this should have -lintl unless CFLAGS has -DHAVE_GETTEXT=0.
 LDLIBS=
 
-# Add the following to the end of the "CFLAGS=" line as needed to override
-# defaults specified in the source code.  "-DFOO" is equivalent to "-DFOO=1".
+# Add the following to an uncommented "CFLAGS=" line as needed
+# to override defaults specified in the source code or by the system.
+# "-DFOO" is equivalent to "-DFOO=1".
 #  -DDEPRECATE_TWO_DIGIT_YEARS for optional runtime warnings about strftime
 #	formats that generate only the last two digits of year numbers
 #  -DEPOCH_LOCAL if the 'time' function returns local time not UT
@@ -234,11 +253,16 @@ LDLIBS=
 #  -DHAVE_UNISTD_H=0 if  does not work*
 #  -DHAVE_UTMPX_H=0 if  does not work*
 #  -Dlocale_t=XXX if your system uses XXX instead of locale_t
-#  -DPORT_TO_C89 if tzcode should also run on C89 platforms+
+#  -DPORT_TO_C89 if tzcode should also run on mostly-C89 platforms+
+#	Typically it is better to use a later standard.  For example,
+#	with GCC 4.9.4 (2016), prefer '-std=gnu11' to '-DPORT_TO_C89'.
+#	Even with -DPORT_TO_C89, the code needs at least one C99
+#	feature (integers at least 64 bits wide) and maybe more.
 #  -DRESERVE_STD_EXT_IDS if your platform reserves standard identifiers
 #	with external linkage, e.g., applications cannot define 'localtime'.
 #  -Dssize_t=long on hosts like MS-Windows that lack ssize_t
 #  -DSUPPORT_C89 if the tzcode library should support C89 callers+
+#	However, this might trigger latent bugs in C99-or-later callers.
 #  -DSUPPRESS_TZDIR to not prepend TZDIR to file 

CVS commit: src/lib/libc/time

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:48:38 UTC 2023

Modified Files:
src/lib/libc/time: Makefile NEWS README localtime.c private.h
tz-art.html tz-link.html

Log Message:
Import tzcode 2023d:

localtime.c no longer mishandles TZif files that contain a single
transition into a DST regime.  Previously, it incorrectly assumed
DST was in effect before the transition too.  (Thanks to Alois
Treindl for debugging help.)

localtime.c's timeoff no longer collides with OpenBSD 7.4.

The C code now uses _Generic only if __STDC_VERSION__ says the
compiler is C11 or later.

tzselect now optionally reads zonenow.tab, to simplify when
configuring only for timestamps dated from now on.

tzselect no longer creates temporary files.

tzselect no longer mishandles the following:

  Spaces and most other special characters in BUGEMAIL, PACKAGE,
  TZDIR, and VERSION.

  TZ strings when using mawk 1.4.3, which mishandles regular
  expressions of the form /X{2,}/.

  ISO 6709 coordinates when using an awk that lacks the GNU
  extension of newlines in -v option-arguments.

  Non UTF-8 locales when using an iconv command that lacks the GNU
  //TRANSLIT extension.

zic no longer mishandles data for Palestine after the year 2075.
Previously, it incorrectly omitted post-2075 transitions that are
predicted for just before and just after Ramadan.  (Thanks to Ken
Murchison for debugging help.)

zic now works again on Linux 2.6.16 and 2.6.17 (2006).


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/time/Makefile
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/time/NEWS
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/time/README
cvs rdiff -u -r1.138 -r1.139 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.66 -r1.67 src/lib/libc/time/private.h
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/time/tz-art.html
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/time/tz-link.html

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



CVS commit: src/doc

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:32:30 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new postfix


To generate a diff of this commit:
cvs rdiff -u -r1.1972 -r1.1973 src/doc/3RDPARTY
cvs rdiff -u -r1.3025 -r1.3026 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.1972 src/doc/3RDPARTY:1.1973
--- src/doc/3RDPARTY:1.1972	Sat Dec 23 10:52:11 2023
+++ src/doc/3RDPARTY	Sat Dec 23 15:32:30 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1972 2023/12/23 15:52:11 kre Exp $
+#	$NetBSD: 3RDPARTY,v 1.1973 2023/12/23 20:32:30 christos Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1229,12 +1229,12 @@ and more. Vern's ping is gone. We are to
 now to do a new import.
 
 Package:	Postfix
-Version:	3.7.3
-Current Vers:	3.7.9/3.8.4
+Version:	3.8.4
+Current Vers:	3.8.4
 Maintainer:	Wietse Venema 
 Archive Site:
 Home Page:	http://www.postfix.org/
-Date: 		2022-10-08
+Date: 		2023-12-23
 Mailing List:	postfix-us...@postfix.org
 Responsible:	christos
 License:	IBM Public License. See also src/external/ibm-public/postfix/dist.

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3025 src/doc/CHANGES:1.3026
--- src/doc/CHANGES:1.3025	Sat Dec 23 10:52:11 2023
+++ src/doc/CHANGES	Sat Dec 23 15:32:30 2023
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3025 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3026 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -244,3 +244,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	dhcpcd: Import version 10.0.6. [roy 20231218]
 	OpenSSH: Import 9.6. [christos 20231220]
 	tzdata: Updated to 2023d (via 2023dgtz) [kre 20231223]
+	postfix(1): Import version 3.8.4. [christos 20231223]



CVS commit: src/doc

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:32:30 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new postfix


To generate a diff of this commit:
cvs rdiff -u -r1.1972 -r1.1973 src/doc/3RDPARTY
cvs rdiff -u -r1.3025 -r1.3026 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/ibm-public/postfix

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:30:46 UTC 2023

Modified Files:
src/external/ibm-public/postfix/dist: makedefs
src/external/ibm-public/postfix/dist/README_FILES: INSTALL TLS_README
src/external/ibm-public/postfix/dist/conf: main.cf master.cf
postfix-files postfix-script postfix-tls-script
src/external/ibm-public/postfix/dist/html:
ADDRESS_VERIFICATION_README.html INSTALL.html TLS_README.html
postconf.5.html
src/external/ibm-public/postfix/dist/man/man1: postfix-tls.1 postfix.1
postlog.1 postqueue.1 posttls-finger.1
src/external/ibm-public/postfix/dist/man/man5: aliases.5 cidr_table.5
ldap_table.5 mysql_table.5 pcre_table.5 pgsql_table.5 postconf.5
regexp_table.5 virtual.5
src/external/ibm-public/postfix/dist/man/man8: postscreen.8 smtp.8
smtpd.8 tlsproxy.8
src/external/ibm-public/postfix/dist/proto:
ADDRESS_VERIFICATION_README.html INSTALL.html TLS_README.html
postconf.proto
src/external/ibm-public/postfix/dist/src/cleanup: cleanup_map1n.c
cleanup_milter.c
src/external/ibm-public/postfix/dist/src/dns: dns.h dns_lookup.c
dns_rr.c dns_rr_eq_sa.c dns_sa_to_rr.c dns_str_resflags.c
dns_strrecord.c dns_strtype.c
src/external/ibm-public/postfix/dist/src/global: compat_level.c
compat_level.h dict_ldap.c dict_memcache.c dict_mysql.c
dict_pgsql.c dict_proxy.h dict_sqlite.c dynamicmaps.c
header_body_checks.h mail_dict.c mail_params.h mail_proto.h
mail_version.h map_search.c maps.c mkmap_proxy.c smtp_stream.c
smtp_stream.h
src/external/ibm-public/postfix/dist/src/local: local_expand.c
src/external/ibm-public/postfix/dist/src/milter: milter8.c
src/external/ibm-public/postfix/dist/src/postalias: postalias.c
src/external/ibm-public/postfix/dist/src/postconf: postconf.h
postconf_dbms.c postconf_edit.c postconf_main.c postconf_master.c
postconf_misc.c
src/external/ibm-public/postfix/dist/src/postfix: postfix.c
src/external/ibm-public/postfix/dist/src/postlog: postlog.c
src/external/ibm-public/postfix/dist/src/postmap: postmap.c
src/external/ibm-public/postfix/dist/src/postqueue: postqueue.c
src/external/ibm-public/postfix/dist/src/postscreen: postscreen.c
postscreen_smtpd.c
src/external/ibm-public/postfix/dist/src/posttls-finger:
posttls-finger.c
src/external/ibm-public/postfix/dist/src/showq: showq.c
src/external/ibm-public/postfix/dist/src/smtp: lmtp_params.c smtp.c
smtp.h smtp_addr.c smtp_addr.h smtp_connect.c smtp_params.c
smtp_proto.c smtp_reuse.c smtp_session.c
src/external/ibm-public/postfix/dist/src/smtpd: smtpd.c smtpd.h
smtpd_check.c smtpd_peer.c smtpd_proxy.c smtpd_sasl_glue.c
src/external/ibm-public/postfix/dist/src/tls: tls.h tls_client.c
tls_dane.c tls_dh.c tls_fprint.c tls_misc.c tls_proxy.h
tls_proxy_client_misc.c tls_proxy_client_print.c
tls_proxy_client_scan.c tls_server.c
src/external/ibm-public/postfix/dist/src/tlsproxy: tlsproxy.c
src/external/ibm-public/postfix/dist/src/util: argv.c argv.h attr.h
clean_env.c dict.c dict.h dict_cache.c dict_cdb.h dict_cidr.c
dict_db.h dict_dbm.h dict_fail.h dict_lmdb.h dict_open.c
dict_pcre.c dict_regexp.c dict_sdbm.h hash_fnv.c hash_fnv.h
htable.c inet_addr_sizes.c inet_addr_sizes.h inet_connect.c
inet_prefix_top.c inet_prefix_top.h make_dirs.c match_list.c
mkmap.h mkmap_cdb.c mkmap_db.c mkmap_dbm.c mkmap_fail.c
mkmap_lmdb.c mkmap_open.c mkmap_sdbm.c mystrtok.c sock_addr.c
sock_addr.h split_nameval.c stringops.h sys_defs.h unix_send_fd.c
valid_hostname.c valid_hostname.h
src/external/ibm-public/postfix/dist/src/xsasl: xsasl_cyrus_server.c
src/external/ibm-public/postfix/lib/global: Makefile
src/external/ibm-public/postfix/lib/util: Makefile
Removed Files:
src/external/ibm-public/postfix/dist/src/global: mkmap.h mkmap_cdb.c
mkmap_db.c mkmap_dbm.c mkmap_fail.c mkmap_lmdb.c mkmap_open.c
mkmap_sdbm.c

Log Message:
merge conflicts between 3.7.3 and 3.8.4


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/ibm-public/postfix/dist/makedefs
cvs rdiff -u -r1.9 -r1.10 \
src/external/ibm-public/postfix/dist/README_FILES/INSTALL
cvs rdiff -u -r1.13 -r1.14 \
src/external/ibm-public/postfix/dist/README_FILES/TLS_README
cvs rdiff -u -r1.9 -r1.10 src/external/ibm-public/postfix/dist/conf/main.cf
cvs rdiff -u -r1.10 -r1.11 \
src/external/ibm-public/postfix/dist/conf/master.cf
cvs rdiff -u -r1.8 -r1.9 \

CVS import: src/external/ibm-public/postfix/dist

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:25:08 UTC 2023

Update of /cvsroot/src/external/ibm-public/postfix/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv631

Log Message:
Import Postfix 3.8.4 (last was 3.7.3)

December 22, 2023: 3.8.4/3.7.9
==

Security: this release adds support to defend against an email
spoofing attack (SMTP smuggling) on recipients at a Postfix server.
For background, see https://www.postfix.org/smtp-smuggling.html.

Sites concerned about SMTP smuggling attacks should enable this
feature on Internet-facing Postfix servers. For compatibility with
non-standard clients, Postfix by default excludes clients in
mynetworks from this countermeasure.

The recommended settings are:

# Optionally disconnect remote SMTP clients that send bare newlines,
# but allow local clients with non-standard SMTP implementations
# such as netcat, fax machines, or load balancer health checks.
#
smtpd_forbid_bare_newline = yes
smtpd_forbid_bare_newline_exclusions = $mynetworks
The smtpd_forbid_bare_newline feature is disabled by default.

November 1, 2023: 3.8.3/3.7.8
=

Bugfix (defect introduced Postfix 2.5, date 20080104): the Postfix
SMTP server was waiting for a client command instead of replying
immediately, after a client certificate verification error in TLS
wrappermode. Reported by Andreas Kinzler.

Usability: the Postfix SMTP server (finally) attempts to log the
SASL username after authentication failure. In Postfix logging,
this appends ", sasl_username=xxx" after the reason for SASL
authentication failure. The logging replaces an unavailable reason
with "(reason unavailable)", and replaces an unavailable sasl_username
with "(unavailable)". Based on code by Jozsef Kadlecsik.

Compatibility bugfix (defect introduced: Postfix 2.11, date 20130405):
in forward_path, the expression ${recipient_delimiter} would expand
to an empty string when a recipient address had no recipient
delimiter. The compatibility fix is to use a configured recipient
delimiter value instead. Reported by Tod A. Sandman.

September 1, 2023: 3.8.2/3.7.7
==

Bugfix (defect introduced: Postfix alpha, 19980207): the valid_hostname()
check in the Postfix DNS client library was blocking unusual but
legitimate wildcard names (*.name) in some DNS lookup results and
lookup requests. Examples:

name  class/type result
*.one.example   IN CNAME *.other.example
*.other.example IN A 10.0.0.1
*.other.example IN TLSA  ..certificate info...
Such syntax is blesed in RFC 1034 section 4.3.3.

Bugfix (defect introduced: Postfix 3.0, 20140218): when an address
verification probe fails during or after an opportunistic TLS
handshake, don't enforce a minimum time-in-queue before falling
back to plaintext. Problem reported by Serg.

June 5, 2023: 3.8.1/3.7.6
=

Optional: harden a Postfix SMTP server against remote SMTP clients
that violate RFC 2920 (or 5321) command pipelining constraints.
With "smtpd_forbid_unauth_pipelining = yes", the server disconnects
a client immediately, after responding with "554 5.5.0 Error: SMTP
protocol synchronization" and after logging "improper command
pipelining" with the unexpected remote SMTP client input. This
feature is disabled by default in Postfix 3.5-3.8 to avoid breaking
home-grown utilities, but it is enabled by default in Postfix 3.9.
A similar feature is enabled by default in the Exim SMTP server.

Optional: some OS distributions crank up TLS security to 11, and
in doing so increase the number of plaintext email deliveries. This
introduces basic OpenSSL configuration file support that may be
used to override OS-level settings. Details are in the postconf(5)
manpage under tls_config_file and tls_config_name.

Bugfix (defect introduced: Postfix 1.0): the command "postconf ..
name=v1 .. name=v2 .." (multiple instances of the same parameter
name) created multiple main.cf name=value entries with the same
parameter name. It now logs a warning and skips the earlier name(s)
and value(s). Found during code maintenance.

Bugfix (defect introduced: Postfix 3.3): the command "postconf -M
name1/type1='name2 type2 ...'" died with a segmentation violation
when the request matched multiple master.cf entries. The master.cf
file was not damaged. Problem reported by SATOH Fumiyasu.

Bugfix (defect introduced: Postfix 2.11): the command "postconf -M
name1/type1='name2 type2 ...'" could add a service definition to
master.cf that conflicted with an already existing service definition.
It now replaces all existing service definitions that match the
service pattern 'name1/type1' or the service name and type in 'name2
type2 ...' with a single service definition 'name2 type2 ...'.
Problem reported by SATOH Fumiyasu.

Bugfix (defect introduced: Postfix 3.8) the posttls-finger command
could access uninitialized memory when reconnecting. This also
fixes a malformed warning message when a 

CVS import: src/external/ibm-public/postfix/dist

2023-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 23 20:25:08 UTC 2023

Update of /cvsroot/src/external/ibm-public/postfix/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv631

Log Message:
Import Postfix 3.8.4 (last was 3.7.3)

December 22, 2023: 3.8.4/3.7.9
==

Security: this release adds support to defend against an email
spoofing attack (SMTP smuggling) on recipients at a Postfix server.
For background, see https://www.postfix.org/smtp-smuggling.html.

Sites concerned about SMTP smuggling attacks should enable this
feature on Internet-facing Postfix servers. For compatibility with
non-standard clients, Postfix by default excludes clients in
mynetworks from this countermeasure.

The recommended settings are:

# Optionally disconnect remote SMTP clients that send bare newlines,
# but allow local clients with non-standard SMTP implementations
# such as netcat, fax machines, or load balancer health checks.
#
smtpd_forbid_bare_newline = yes
smtpd_forbid_bare_newline_exclusions = $mynetworks
The smtpd_forbid_bare_newline feature is disabled by default.

November 1, 2023: 3.8.3/3.7.8
=

Bugfix (defect introduced Postfix 2.5, date 20080104): the Postfix
SMTP server was waiting for a client command instead of replying
immediately, after a client certificate verification error in TLS
wrappermode. Reported by Andreas Kinzler.

Usability: the Postfix SMTP server (finally) attempts to log the
SASL username after authentication failure. In Postfix logging,
this appends ", sasl_username=xxx" after the reason for SASL
authentication failure. The logging replaces an unavailable reason
with "(reason unavailable)", and replaces an unavailable sasl_username
with "(unavailable)". Based on code by Jozsef Kadlecsik.

Compatibility bugfix (defect introduced: Postfix 2.11, date 20130405):
in forward_path, the expression ${recipient_delimiter} would expand
to an empty string when a recipient address had no recipient
delimiter. The compatibility fix is to use a configured recipient
delimiter value instead. Reported by Tod A. Sandman.

September 1, 2023: 3.8.2/3.7.7
==

Bugfix (defect introduced: Postfix alpha, 19980207): the valid_hostname()
check in the Postfix DNS client library was blocking unusual but
legitimate wildcard names (*.name) in some DNS lookup results and
lookup requests. Examples:

name  class/type result
*.one.example   IN CNAME *.other.example
*.other.example IN A 10.0.0.1
*.other.example IN TLSA  ..certificate info...
Such syntax is blesed in RFC 1034 section 4.3.3.

Bugfix (defect introduced: Postfix 3.0, 20140218): when an address
verification probe fails during or after an opportunistic TLS
handshake, don't enforce a minimum time-in-queue before falling
back to plaintext. Problem reported by Serg.

June 5, 2023: 3.8.1/3.7.6
=

Optional: harden a Postfix SMTP server against remote SMTP clients
that violate RFC 2920 (or 5321) command pipelining constraints.
With "smtpd_forbid_unauth_pipelining = yes", the server disconnects
a client immediately, after responding with "554 5.5.0 Error: SMTP
protocol synchronization" and after logging "improper command
pipelining" with the unexpected remote SMTP client input. This
feature is disabled by default in Postfix 3.5-3.8 to avoid breaking
home-grown utilities, but it is enabled by default in Postfix 3.9.
A similar feature is enabled by default in the Exim SMTP server.

Optional: some OS distributions crank up TLS security to 11, and
in doing so increase the number of plaintext email deliveries. This
introduces basic OpenSSL configuration file support that may be
used to override OS-level settings. Details are in the postconf(5)
manpage under tls_config_file and tls_config_name.

Bugfix (defect introduced: Postfix 1.0): the command "postconf ..
name=v1 .. name=v2 .." (multiple instances of the same parameter
name) created multiple main.cf name=value entries with the same
parameter name. It now logs a warning and skips the earlier name(s)
and value(s). Found during code maintenance.

Bugfix (defect introduced: Postfix 3.3): the command "postconf -M
name1/type1='name2 type2 ...'" died with a segmentation violation
when the request matched multiple master.cf entries. The master.cf
file was not damaged. Problem reported by SATOH Fumiyasu.

Bugfix (defect introduced: Postfix 2.11): the command "postconf -M
name1/type1='name2 type2 ...'" could add a service definition to
master.cf that conflicted with an already existing service definition.
It now replaces all existing service definitions that match the
service pattern 'name1/type1' or the service name and type in 'name2
type2 ...' with a single service definition 'name2 type2 ...'.
Problem reported by SATOH Fumiyasu.

Bugfix (defect introduced: Postfix 3.8) the posttls-finger command
could access uninitialized memory when reconnecting. This also
fixes a malformed warning message when a 

CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:15:19 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Update documentation with -q and -N options.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.x68k/loadbsd.8

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



CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:15:19 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Update documentation with -q and -N options.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.x68k/loadbsd.8

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

Modified files:

Index: src/share/man/man8/man8.x68k/loadbsd.8
diff -u src/share/man/man8/man8.x68k/loadbsd.8:1.6 src/share/man/man8/man8.x68k/loadbsd.8:1.7
--- src/share/man/man8/man8.x68k/loadbsd.8:1.6	Sat Dec 23 19:13:55 2023
+++ src/share/man/man8/man8.x68k/loadbsd.8	Sat Dec 23 20:15:19 2023
@@ -1,5 +1,5 @@
-.\"	$NetBSD: loadbsd.8,v 1.6 2023/12/23 19:13:55 andvar Exp $
-.Dd February 17, 2017
+.\"	$NetBSD: loadbsd.8,v 1.7 2023/12/23 20:15:19 andvar Exp $
+.Dd December 23, 2023
 .Dt LOADBSD 8 x68k
 .Os
 .Sh NAME
@@ -8,7 +8,7 @@
 .Sh SYNOPSIS
 .Nm loadbsd.x
 .Op Fl hvV
-.Op Fl abDs
+.Op Fl abDNqs
 .Op Fl r Ar root_device
 .Ar kernel_file
 .Sh DESCRIPTION
@@ -24,6 +24,8 @@ itself) are as follows:
 .Bl -tag -width flag
 .It Fl h
 Show help and exit.
+.It Fl N
+Do not execute the kernel, if specified in combination with boot options.
 .It Fl v
 Enable verbose mode.
 .It Fl V
@@ -62,6 +64,11 @@ the same as that of
 See
 .Sx BOOT DEVICE NAMES
 below.
+.It Fl q
+Boot the system in quiet mode.
+Pass
+.Dv AB_QUIET
+boot flag to the kernel.
 .It Fl s
 Single user boot.
 Pass



CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 19:13:55 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Remove obsolete -d flag from documentation.

P.S. -q and -N flags need to be added.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/man8.x68k/loadbsd.8

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



CVS commit: src/sys/arch/zaurus/zaurus

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 18:59:27 UTC 2023

Modified Files:
src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
Remove "#ifdef RAMDISK_HOOKS" block, RB_DFLTROOT boot flag is obsolete long ago.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/zaurus/zaurus/machdep.c

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

Modified files:

Index: src/sys/arch/zaurus/zaurus/machdep.c
diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.52 src/sys/arch/zaurus/zaurus/machdep.c:1.53
--- src/sys/arch/zaurus/zaurus/machdep.c:1.52	Thu Oct 12 11:33:39 2023
+++ src/sys/arch/zaurus/zaurus/machdep.c	Sat Dec 23 18:59:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.52 2023/10/12 11:33:39 skrll Exp $	*/
+/*	$NetBSD: machdep.c,v 1.53 2023/12/23 18:59:27 andvar Exp $	*/
 /*	$OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $	*/
 
 /*
@@ -107,7 +107,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.52 2023/10/12 11:33:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.53 2023/12/23 18:59:27 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -674,9 +674,6 @@ initarm(void *arg)
 		boothowto = RB_AUTOBOOT;
 	}
 	*magicaddr = 0xdeadbeef;
-#ifdef RAMDISK_HOOKS
-boothowto |= RB_DFLTROOT;
-#endif /* RAMDISK_HOOKS */
 	if (boothowto & RB_MD1) {
 		/* serial console */
 		console = "ffuart";



CVS commit: src/sys/arch/zaurus/zaurus

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 18:59:27 UTC 2023

Modified Files:
src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
Remove "#ifdef RAMDISK_HOOKS" block, RB_DFLTROOT boot flag is obsolete long ago.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/zaurus/zaurus/machdep.c

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



CVS commit: src/doc

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:52:11 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note update of tzdata to 2023d (2023dgtz).


To generate a diff of this commit:
cvs rdiff -u -r1.1971 -r1.1972 src/doc/3RDPARTY
cvs rdiff -u -r1.3024 -r1.3025 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.1971 src/doc/3RDPARTY:1.1972
--- src/doc/3RDPARTY:1.1971	Sat Dec 23 07:36:54 2023
+++ src/doc/3RDPARTY	Sat Dec 23 15:52:11 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1971 2023/12/23 07:36:54 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.1972 2023/12/23 15:52:11 kre Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1429,8 +1429,8 @@ Location:	external/bsd/tradcpp
 Notes:
 
 Package:	tz
-Version:	tzcode2023c / tzdata2023cgtz
-Current Vers:	tzcode2023c / tzdata2023c
+Version:	tzcode2023c / tzdata2023dgtz
+Current Vers:	tzcode2023d / tzdata2023d
 Maintainer:	Paul Eggert 
 Archive Site:	ftp://ftp.iana.org/tz/releases/
 Archive Site:	ftp://munnari.oz.au/pub/oldtz/

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3024 src/doc/CHANGES:1.3025
--- src/doc/CHANGES:1.3024	Wed Dec 20 17:19:16 2023
+++ src/doc/CHANGES	Sat Dec 23 15:52:11 2023
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3024 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3025 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -243,3 +243,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	libsa: Add NFSv3 support. [mlelstv 20231212]
 	dhcpcd: Import version 10.0.6. [roy 20231218]
 	OpenSSH: Import 9.6. [christos 20231220]
+	tzdata: Updated to 2023d (via 2023dgtz) [kre 20231223]



CVS commit: src/doc

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:52:11 UTC 2023

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note update of tzdata to 2023d (2023dgtz).


To generate a diff of this commit:
cvs rdiff -u -r1.1971 -r1.1972 src/doc/3RDPARTY
cvs rdiff -u -r1.3024 -r1.3025 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/public-domain/tz/dist

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:46:44 UTC 2023

Modified Files:
src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia
leap-seconds.list leapseconds version

Log Message:
Merge tzdata2023d


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/public-domain/tz/dist/TZDATA_VERSION
cvs rdiff -u -r1.10 -r1.11 src/external/public-domain/tz/dist/asia \
src/external/public-domain/tz/dist/version
cvs rdiff -u -r1.7 -r1.8 src/external/public-domain/tz/dist/australasia
cvs rdiff -u -r1.5 -r1.6 src/external/public-domain/tz/dist/leap-seconds.list \
src/external/public-domain/tz/dist/leapseconds

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

Modified files:

Index: src/external/public-domain/tz/dist/TZDATA_VERSION
diff -u src/external/public-domain/tz/dist/TZDATA_VERSION:1.35 src/external/public-domain/tz/dist/TZDATA_VERSION:1.36
--- src/external/public-domain/tz/dist/TZDATA_VERSION:1.35	Fri Mar 31 19:05:28 2023
+++ src/external/public-domain/tz/dist/TZDATA_VERSION	Sat Dec 23 15:46:44 2023
@@ -1 +1 @@
-tzdata-2023cgtz
+tzdata-2023dgtz

Index: src/external/public-domain/tz/dist/asia
diff -u src/external/public-domain/tz/dist/asia:1.10 src/external/public-domain/tz/dist/asia:1.11
--- src/external/public-domain/tz/dist/asia:1.10	Fri Mar 31 19:05:28 2023
+++ src/external/public-domain/tz/dist/asia	Sat Dec 23 15:46:44 2023
@@ -676,7 +676,6 @@ Zone	Asia/Shanghai	8:05:43	-	LMT	1901
 			8:00	PRC	C%sT
 # Xinjiang time, used by many in western China; represented by Ürümqi / Ürümchi
 # / Wulumuqi.  (Please use Asia/Shanghai if you prefer Beijing time.)
-# Vostok base in Antarctica matches this since 1970.
 Zone	Asia/Urumqi	5:50:20	-	LMT	1928
 			6:00	-	+06
 
@@ -3477,6 +3476,9 @@ Zone	Asia/Karachi	4:28:12 -	LMT	1907
 # From Heba Hamad (2023-03-22):
 # ... summer time will begin in Palestine from Saturday 04-29-2023,
 # 02:00 AM by 60 minutes forward.
+# From Heba Hemad (2023-10-09):
+# ... winter time will begin in Palestine from Saturday 10-28-2023,
+# 02:00 AM by 60 minutes back.
 #
 # From Paul Eggert (2023-03-22):
 # For now, guess that spring and fall transitions will normally
@@ -3598,13 +3600,13 @@ Rule Palestine	2070	only	-	Oct	 4	2:00	0
 Rule Palestine	2071	only	-	Sep	19	2:00	0	-
 Rule Palestine	2072	only	-	Sep	10	2:00	0	-
 Rule Palestine	2072	only	-	Oct	15	2:00	1:00	S
+Rule Palestine	2072	max	-	Oct	Sat<=30	2:00	0	-
 Rule Palestine	2073	only	-	Sep	 2	2:00	0	-
 Rule Palestine	2073	only	-	Oct	 7	2:00	1:00	S
 Rule Palestine	2074	only	-	Aug	18	2:00	0	-
 Rule Palestine	2074	only	-	Sep	29	2:00	1:00	S
 Rule Palestine	2075	only	-	Aug	10	2:00	0	-
 Rule Palestine	2075	only	-	Sep	14	2:00	1:00	S
-Rule Palestine	2075	max	-	Oct	Sat<=30	2:00	0	-
 Rule Palestine	2076	only	-	Jul	25	2:00	0	-
 Rule Palestine	2076	only	-	Sep	 5	2:00	1:00	S
 Rule Palestine	2077	only	-	Jul	17	2:00	0	-
Index: src/external/public-domain/tz/dist/version
diff -u src/external/public-domain/tz/dist/version:1.10 src/external/public-domain/tz/dist/version:1.11
--- src/external/public-domain/tz/dist/version:1.10	Fri Mar 31 19:05:28 2023
+++ src/external/public-domain/tz/dist/version	Sat Dec 23 15:46:44 2023
@@ -1 +1 @@
-2023cgtz
+2023dgtz

Index: src/external/public-domain/tz/dist/australasia
diff -u src/external/public-domain/tz/dist/australasia:1.7 src/external/public-domain/tz/dist/australasia:1.8
--- src/external/public-domain/tz/dist/australasia:1.7	Thu Mar 23 16:40:39 2023
+++ src/external/public-domain/tz/dist/australasia	Sat Dec 23 15:46:44 2023
@@ -401,8 +401,14 @@ Zone	Indian/Cocos	6:27:40	-	LMT	1900
 # Please note that there will not be any daylight savings time change
 # in Fiji for 2022-2023
 # https://www.facebook.com/FijianGovernment/posts/pfbid0mmWVTYmTibn66ybpFda75pDcf34SSpoSaskJW5gXwaKo5Sgc7273Q4fXWc6kQV6Hl
+
+# From Almaz Mingaleev (2023-10-06):
+# Cabinet approved the suspension of Daylight Saving and appropriate
+# legislative changes will be considered including the repeal of the
+# Daylight Saving Act 1998
+# https://www.fiji.gov.fj/Media-Centre/Speeches/English/CABINET-DECISIONS-3-OCTOBER-2023
 #
-# From Paul Eggert (2022-10-27):
+# From Paul Eggert (2023-10-06):
 # For now, assume DST is suspended indefinitely.
 
 # Rule	NAME	FROM	TO	-	IN	ON	AT	SAVE	LETTER/S

Index: src/external/public-domain/tz/dist/leap-seconds.list
diff -u src/external/public-domain/tz/dist/leap-seconds.list:1.5 src/external/public-domain/tz/dist/leap-seconds.list:1.6
--- src/external/public-domain/tz/dist/leap-seconds.list:1.5	Thu Mar 23 16:47:49 2023
+++ src/external/public-domain/tz/dist/leap-seconds.list	Sat Dec 23 15:46:44 2023
@@ -204,10 +204,10 @@
 #	current -- the update time stamp, the data and the name of the file
 #	will not change.
 #
-#	Updated through IERS Bulletin C65
-#	File expires on:  28 December 2023
+#	Updated through IERS Bulletin C66
+#	File expires on:  28 June 2024
 #
-#@	

CVS commit: src/external/public-domain/tz/dist

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:46:44 UTC 2023

Modified Files:
src/external/public-domain/tz/dist: TZDATA_VERSION asia australasia
leap-seconds.list leapseconds version

Log Message:
Merge tzdata2023d


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/external/public-domain/tz/dist/TZDATA_VERSION
cvs rdiff -u -r1.10 -r1.11 src/external/public-domain/tz/dist/asia \
src/external/public-domain/tz/dist/version
cvs rdiff -u -r1.7 -r1.8 src/external/public-domain/tz/dist/australasia
cvs rdiff -u -r1.5 -r1.6 src/external/public-domain/tz/dist/leap-seconds.list \
src/external/public-domain/tz/dist/leapseconds

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



CVS import: src/external/public-domain/tz/dist

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:38:19 UTC 2023

Update of /cvsroot/src/external/public-domain/tz/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv6163

Log Message:
Import tzdata2023d from 
https://github.com/JodaOrg/global-tz/releases/download/2023dgtz/tzdata2023dgtz.tar.gz

Summary of changes in tzdata2023d (2023-12-21 20:02:24 -0800):
  * Ittoqqortoormiit, Greenland (America/Scoresbysund) joins most of
the rest of Greenland's timekeeping practice on 2024-03-31, by
changing its time zone from -01/+00 to -02/-01.
  * Fix predictions for DST transitions in Palestine in 2072-2075,
correcting a typo introduced in 2023a.
  * Various fixes to zones for several Antarctic bases.

Status:

Vendor Tag: TZDATA
Release Tags:   TZDATA2023DGTZ

U src/external/public-domain/tz/dist/calendars
U src/external/public-domain/tz/dist/CONTRIBUTING
U src/external/public-domain/tz/dist/LICENSE
U src/external/public-domain/tz/dist/Makefile
U src/external/public-domain/tz/dist/NEWS
U src/external/public-domain/tz/dist/README
U src/external/public-domain/tz/dist/SECURITY
U src/external/public-domain/tz/dist/theory.html
C src/external/public-domain/tz/dist/version
U src/external/public-domain/tz/dist/africa
U src/external/public-domain/tz/dist/antarctica
C src/external/public-domain/tz/dist/asia
C src/external/public-domain/tz/dist/australasia
U src/external/public-domain/tz/dist/europe
U src/external/public-domain/tz/dist/northamerica
U src/external/public-domain/tz/dist/southamerica
U src/external/public-domain/tz/dist/etcetera
U src/external/public-domain/tz/dist/factory
U src/external/public-domain/tz/dist/backward
U src/external/public-domain/tz/dist/backzone
U src/external/public-domain/tz/dist/iso3166.tab
C src/external/public-domain/tz/dist/leap-seconds.list
C src/external/public-domain/tz/dist/leapseconds
U src/external/public-domain/tz/dist/zone.tab
N src/external/public-domain/tz/dist/zonenow.tab
U src/external/public-domain/tz/dist/zone1970.tab
U src/external/public-domain/tz/dist/checklinks.awk
N src/external/public-domain/tz/dist/checknow.awk
U src/external/public-domain/tz/dist/checktab.awk
U src/external/public-domain/tz/dist/leapseconds.awk
U src/external/public-domain/tz/dist/ziguard.awk
U src/external/public-domain/tz/dist/zishrink.awk

5 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jTZDATA:yesterday -jTZDATA 
src/external/public-domain/tz/dist



CVS import: src/external/public-domain/tz/dist

2023-12-23 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Dec 23 15:38:19 UTC 2023

Update of /cvsroot/src/external/public-domain/tz/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv6163

Log Message:
Import tzdata2023d from 
https://github.com/JodaOrg/global-tz/releases/download/2023dgtz/tzdata2023dgtz.tar.gz

Summary of changes in tzdata2023d (2023-12-21 20:02:24 -0800):
  * Ittoqqortoormiit, Greenland (America/Scoresbysund) joins most of
the rest of Greenland's timekeeping practice on 2024-03-31, by
changing its time zone from -01/+00 to -02/-01.
  * Fix predictions for DST transitions in Palestine in 2072-2075,
correcting a typo introduced in 2023a.
  * Various fixes to zones for several Antarctic bases.

Status:

Vendor Tag: TZDATA
Release Tags:   TZDATA2023DGTZ

U src/external/public-domain/tz/dist/calendars
U src/external/public-domain/tz/dist/CONTRIBUTING
U src/external/public-domain/tz/dist/LICENSE
U src/external/public-domain/tz/dist/Makefile
U src/external/public-domain/tz/dist/NEWS
U src/external/public-domain/tz/dist/README
U src/external/public-domain/tz/dist/SECURITY
U src/external/public-domain/tz/dist/theory.html
C src/external/public-domain/tz/dist/version
U src/external/public-domain/tz/dist/africa
U src/external/public-domain/tz/dist/antarctica
C src/external/public-domain/tz/dist/asia
C src/external/public-domain/tz/dist/australasia
U src/external/public-domain/tz/dist/europe
U src/external/public-domain/tz/dist/northamerica
U src/external/public-domain/tz/dist/southamerica
U src/external/public-domain/tz/dist/etcetera
U src/external/public-domain/tz/dist/factory
U src/external/public-domain/tz/dist/backward
U src/external/public-domain/tz/dist/backzone
U src/external/public-domain/tz/dist/iso3166.tab
C src/external/public-domain/tz/dist/leap-seconds.list
C src/external/public-domain/tz/dist/leapseconds
U src/external/public-domain/tz/dist/zone.tab
N src/external/public-domain/tz/dist/zonenow.tab
U src/external/public-domain/tz/dist/zone1970.tab
U src/external/public-domain/tz/dist/checklinks.awk
N src/external/public-domain/tz/dist/checknow.awk
U src/external/public-domain/tz/dist/checktab.awk
U src/external/public-domain/tz/dist/leapseconds.awk
U src/external/public-domain/tz/dist/ziguard.awk
U src/external/public-domain/tz/dist/zishrink.awk

5 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jTZDATA:yesterday -jTZDATA 
src/external/public-domain/tz/dist



CVS commit: [netbsd-10] src/doc

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:09:54 UTC 2023

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

Log Message:
Tickets #515 and #516


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

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



CVS commit: [netbsd-10] src/doc

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:09:54 UTC 2023

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

Log Message:
Tickets #515 and #516


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

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

Modified files:

Index: src/doc/CHANGES-10.0
diff -u src/doc/CHANGES-10.0:1.1.2.175 src/doc/CHANGES-10.0:1.1.2.176
--- src/doc/CHANGES-10.0:1.1.2.175	Fri Dec 22 13:51:13 2023
+++ src/doc/CHANGES-10.0	Sat Dec 23 13:09:53 2023
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-10.0,v 1.1.2.175 2023/12/22 13:51:13 martin Exp $
+# $NetBSD: CHANGES-10.0,v 1.1.2.176 2023/12/23 13:09:53 martin Exp $
 
 A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16
 until the 10.0 release:
@@ -14434,3 +14434,14 @@ sys/arch/xen/xen/xennetback_xenbus.c		1.
 	xennet(4) backend: sanity check the fragments we get from the guest.
 	[bouyer, ticket #514]
 
+sys/arch/vax/vax/pmap.c1.200
+
+	vax: fix a crash under heavy memory pressure when PT pages are
+	heavily recycled.
+	[thorpej, ticket #515]
+
+sys/arch/vax/vax/pmap.c1.199
+
+	vax: fix locking botches.
+	[mrg, ticket #516]
+



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

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:08:50 UTC 2023

Modified Files:
src/sys/arch/vax/vax [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #516):

sys/arch/vax/vax/pmap.c: revision 1.199

fix locking botch: use mutex_spin_exit(), not _exit(), for PMAP_UNLOCK.
fixes LOCKDEBUG issue in first attempt to unlock it.

also call PMAP_UNLOCK in one non-fatal out of memory case.


To generate a diff of this commit:
cvs rdiff -u -r1.195.2.2 -r1.195.2.3 src/sys/arch/vax/vax/pmap.c

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

Modified files:

Index: src/sys/arch/vax/vax/pmap.c
diff -u src/sys/arch/vax/vax/pmap.c:1.195.2.2 src/sys/arch/vax/vax/pmap.c:1.195.2.3
--- src/sys/arch/vax/vax/pmap.c:1.195.2.2	Sat Dec 23 13:06:43 2023
+++ src/sys/arch/vax/vax/pmap.c	Sat Dec 23 13:08:50 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.195.2.2 2023/12/23 13:06:43 martin Exp $	   */
+/*	$NetBSD: pmap.c,v 1.195.2.3 2023/12/23 13:08:50 martin Exp $	   */
 /*
  * Copyright (c) 1994, 1998, 1999, 2003 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.195.2.2 2023/12/23 13:06:43 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.195.2.3 2023/12/23 13:08:50 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_cputype.h"
@@ -159,7 +159,7 @@ ptpinuse(void *pte)
 #if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
 static kmutex_t pmap_lock;
 #define PMAP_LOCK	mutex_spin_enter(_lock);
-#define PMAP_UNLOCK	mutex_spin_enter(_lock);
+#define PMAP_UNLOCK	mutex_spin_exit(_lock);
 #else
 #define PMAP_LOCK
 #define PMAP_UNLOCK
@@ -1197,6 +1197,7 @@ pmap_enter(pmap_t pmap, vaddr_t v, paddr
 	return 0;
 
 growfail:
+	PMAP_UNLOCK;
 	if (flags & PMAP_CANFAIL)
 		return ENOMEM;
 	panic("usrptmap space leakage");



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

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:08:50 UTC 2023

Modified Files:
src/sys/arch/vax/vax [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #516):

sys/arch/vax/vax/pmap.c: revision 1.199

fix locking botch: use mutex_spin_exit(), not _exit(), for PMAP_UNLOCK.
fixes LOCKDEBUG issue in first attempt to unlock it.

also call PMAP_UNLOCK in one non-fatal out of memory case.


To generate a diff of this commit:
cvs rdiff -u -r1.195.2.2 -r1.195.2.3 src/sys/arch/vax/vax/pmap.c

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



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

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:06:43 UTC 2023

Modified Files:
src/sys/arch/vax/vax [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by thorpej in ticket #515):

sys/arch/vax/vax/pmap.c: revision 1.200

rmspace(): when a PT page is put back onto the free list, invalidate
it's VA in the TB.

rmptep(): Add a comment that the no TIBS is needed for newly-freed PT
pages here because all of the callers perform a TBIA.


To generate a diff of this commit:
cvs rdiff -u -r1.195.2.1 -r1.195.2.2 src/sys/arch/vax/vax/pmap.c

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

Modified files:

Index: src/sys/arch/vax/vax/pmap.c
diff -u src/sys/arch/vax/vax/pmap.c:1.195.2.1 src/sys/arch/vax/vax/pmap.c:1.195.2.2
--- src/sys/arch/vax/vax/pmap.c:1.195.2.1	Wed Jun 21 19:09:07 2023
+++ src/sys/arch/vax/vax/pmap.c	Sat Dec 23 13:06:43 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.195.2.1 2023/06/21 19:09:07 martin Exp $	   */
+/*	$NetBSD: pmap.c,v 1.195.2.2 2023/12/23 13:06:43 martin Exp $	   */
 /*
  * Copyright (c) 1994, 1998, 1999, 2003 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.195.2.1 2023/06/21 19:09:07 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.195.2.2 2023/12/23 13:06:43 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_cputype.h"
@@ -631,6 +631,7 @@ rmspace(struct pmap *pm)
 		}
 		free_ptpstruct pte *)ptpp)->pg_pfn << VAX_PGSHIFT));
 		*ptpp = 0;
+		mtpr((vaddr_t)br, PR_TBIS);
 	}
 	lr = pm->pm_p1lr/NPTEPG;
 	for (i = lr; i < NPTEPERREG/NPTEPG; i++) {
@@ -645,6 +646,7 @@ rmspace(struct pmap *pm)
 		}
 		free_ptpstruct pte *)ptpp)->pg_pfn << VAX_PGSHIFT));
 		*ptpp = 0;
+		mtpr((vaddr_t)br, PR_TBIS);
 	}
 
 	if (pm->pm_p0lr != 0)
@@ -770,6 +772,7 @@ rmptep(struct pte *pte)
 #endif
 	free_ptpstruct pte *)ptpp)->pg_pfn << VAX_PGSHIFT));
 	*ptpp = 0;
+	/* N.B. callers all do a TBIA, so TBIS not needed here. */
 }
 
 static int 



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

2023-12-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Dec 23 13:06:43 UTC 2023

Modified Files:
src/sys/arch/vax/vax [netbsd-10]: pmap.c

Log Message:
Pull up following revision(s) (requested by thorpej in ticket #515):

sys/arch/vax/vax/pmap.c: revision 1.200

rmspace(): when a PT page is put back onto the free list, invalidate
it's VA in the TB.

rmptep(): Add a comment that the no TIBS is needed for newly-freed PT
pages here because all of the callers perform a TBIA.


To generate a diff of this commit:
cvs rdiff -u -r1.195.2.1 -r1.195.2.2 src/sys/arch/vax/vax/pmap.c

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