Re: CVS commit: src/share/misc

2023-03-06 Thread Jason Thorpe



> On Mar 1, 2023, at 2:25 PM, Steffen Nurpmeso  wrote:
> 
> Jason R Thorpe wrote in
> <20230301040454.c3b17f...@cvs.netbsd.org>:
> |Module Name:  src
> |Committed By: thorpej
> |Date: Wed Mar  1 04:04:54 UTC 2023
> |
> |Modified Files:
> | src/share/misc: acronyms.comp
> |
> |Log Message:
> |Add NHACP (NABU HCCA Application Communication Protocol)
> 
> NABU is Naturschutzbund Deutschland!
> (Nature and Biodiversity Conservation Union Germany.
> [Heck, they loose the Game!])

In this context, that’s not actually what it is, but it’s good to know there is 
at least one expansion :-)

-- thorpej



CVS commit: src/share/misc

2023-03-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Mar  7 01:29:21 UTC 2023

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

Log Message:
Add:
HCC - Home Cable Computer
HCCA - Home Cable Computer Adaptor (yes, that is the original spelling)


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

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.345 src/share/misc/acronyms.comp:1.346
--- src/share/misc/acronyms.comp:1.345	Fri Mar  3 15:29:48 2023
+++ src/share/misc/acronyms.comp	Tue Mar  7 01:29:21 2023
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.345 2023/03/03 15:29:48 jschauma Exp $
+$NetBSD: acronyms.comp,v 1.346 2023/03/07 01:29:21 thorpej Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -672,6 +672,8 @@ HAL	hardware abstraction layer
 HAT	hashed array tree
 HATEOAS	hypermedia as the engine of application state
 HBA	host bus adapter
+HCC	Home Cable Computer
+HCCA	Home Cable Computer Adaptor
 HCF	halt and catch fire
 HCI	host controller interface
 HCI	human-computer interaction



CVS commit: src/share/misc

2023-03-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Mar  7 01:29:21 UTC 2023

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

Log Message:
Add:
HCC - Home Cable Computer
HCCA - Home Cable Computer Adaptor (yes, that is the original spelling)


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

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



CVS commit: src

2023-03-06 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Mon Mar  6 21:39:06 UTC 2023

Modified Files:
src/common/lib/libc/gen: radixtree.c
src/sys/arch/mipsco/mipsco: machdep.c
src/usr.bin/elf2ecoff: elf2ecoff.c

Log Message:
fix few typos in comments and log messages.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/common/lib/libc/gen/radixtree.c
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/mipsco/mipsco/machdep.c
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/elf2ecoff/elf2ecoff.c

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



CVS commit: src

2023-03-06 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Mon Mar  6 21:39:06 UTC 2023

Modified Files:
src/common/lib/libc/gen: radixtree.c
src/sys/arch/mipsco/mipsco: machdep.c
src/usr.bin/elf2ecoff: elf2ecoff.c

Log Message:
fix few typos in comments and log messages.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/common/lib/libc/gen/radixtree.c
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/mipsco/mipsco/machdep.c
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/elf2ecoff/elf2ecoff.c

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

Modified files:

Index: src/common/lib/libc/gen/radixtree.c
diff -u src/common/lib/libc/gen/radixtree.c:1.28 src/common/lib/libc/gen/radixtree.c:1.29
--- src/common/lib/libc/gen/radixtree.c:1.28	Tue May 24 20:50:17 2022
+++ src/common/lib/libc/gen/radixtree.c	Mon Mar  6 21:39:06 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $	*/
+/*	$NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $	*/
 
 /*-
  * Copyright (c)2011,2012,2013 YAMAMOTO Takashi,
@@ -104,7 +104,7 @@
  * intermediate nodes and quickly skips uninterested parts of a tree.
  *
  * A tree has RADIX_TREE_TAG_ID_MAX independent tag spaces, each of which are
- * identified by an zero-origin numbers, tagid.  For the current implementation,
+ * identified by a zero-origin numbers, tagid.  For the current implementation,
  * RADIX_TREE_TAG_ID_MAX is 2.  A set of tags is described as a bitmask tagmask,
  * which is a bitwise OR of (1 << tagid).
  */
@@ -112,7 +112,7 @@
 #include 
 
 #if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $");
 #include 
 #include 
 #include 
@@ -122,7 +122,7 @@ __KERNEL_RCSID(0, "$NetBSD: radixtree.c,
 #include 
 #endif /* defined(_STANDALONE) */
 #else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: radixtree.c,v 1.28 2022/05/24 20:50:17 andvar Exp $");
+__RCSID("$NetBSD: radixtree.c,v 1.29 2023/03/06 21:39:06 andvar Exp $");
 #include 
 #include 
 #include 
@@ -912,7 +912,7 @@ descend:
 		/*
 		 * following the left-most (or right-most in the case of
 		 * reverse scan) child node, descend until reaching the leaf or
-		 * an non-matching entry.
+		 * a non-matching entry.
 		 */
 		while (entry_match_p(*vpp, tagmask) && lastidx < t->t_height) {
 			/*
@@ -952,7 +952,7 @@ descend:
  * Note that this function doesn't return index values of found nodes.
  * Thus, in the case of dense == false, if index values are important for
  * a caller, it's the caller's responsibility to check them, typically
- * by examinining the returned nodes using some caller-specific knowledge
+ * by examining the returned nodes using some caller-specific knowledge
  * about them.
  * In the case of dense == true, a node returned via results[N] is always for
  * the index (idx + N).

Index: src/sys/arch/mipsco/mipsco/machdep.c
diff -u src/sys/arch/mipsco/mipsco/machdep.c:1.80 src/sys/arch/mipsco/mipsco/machdep.c:1.81
--- src/sys/arch/mipsco/mipsco/machdep.c:1.80	Thu Dec 22 14:47:58 2016
+++ src/sys/arch/mipsco/mipsco/machdep.c	Mon Mar  6 21:39:06 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.80 2016/12/22 14:47:58 cherry Exp $	*/
+/*	$NetBSD: machdep.c,v 1.81 2023/03/06 21:39:06 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
 
 #include 			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.80 2016/12/22 14:47:58 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.81 2023/03/06 21:39:06 andvar Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -197,7 +197,7 @@ mach_init(int argc, char *argv[], char *
 #if NKSYMS || defined(DDB) || defined(LKM)
 	bi_syms = lookup_bootinfo(BTINFO_SYMTAB);
 
-	/* Load sysmbol table if present */
+	/* Load symbol table if present */
 	if (bi_syms != NULL) {
 		ssym = (void *)bi_syms->ssym;
 		esym = (void *)bi_syms->esym;

Index: src/usr.bin/elf2ecoff/elf2ecoff.c
diff -u src/usr.bin/elf2ecoff/elf2ecoff.c:1.33 src/usr.bin/elf2ecoff/elf2ecoff.c:1.34
--- src/usr.bin/elf2ecoff/elf2ecoff.c:1.33	Fri Feb 24 17:19:14 2017
+++ src/usr.bin/elf2ecoff/elf2ecoff.c	Mon Mar  6 21:39:06 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: elf2ecoff.c,v 1.33 2017/02/24 17:19:14 christos Exp $	*/
+/*	$NetBSD: elf2ecoff.c,v 1.34 2023/03/06 21:39:06 andvar Exp $	*/
 
 /*
  * Copyright (c) 1997 Jonathan Stone
@@ -246,7 +246,7 @@ usage:
 			nbss.len = ph[i].p_memsz - ph[i].p_filesz;
 
 			if (debug) {
-fprintf(stderr, "  combinining PH %zu type %d "
+fprintf(stderr, "  combining PH %zu type %d "
 "flags %#x with data, ndata = %d, "
 "nbss =%d\n", i, ph[i].p_type,
 ph[i].p_flags, ndata.len, nbss.len);
@@ -259,7 +259,7 @@ usage:
 			ntxt.vaddr = ph[i].p_vaddr;
 			ntxt.len = ph[i].p_filesz;
 			if (debug) 

CVS commit: src/doc

2023-03-06 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Mar  6 13:15:15 UTC 2023

Modified Files:
src/doc: CHANGES

Log Message:
doc: ch-ch-changes


To generate a diff of this commit:
cvs rdiff -u -r1.2952 -r1.2953 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-03-06 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Mar  6 13:15:15 UTC 2023

Modified Files:
src/doc: CHANGES

Log Message:
doc: ch-ch-changes


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

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2952 src/doc/CHANGES:1.2953
--- src/doc/CHANGES:1.2952	Tue Feb  7 22:26:46 2023
+++ src/doc/CHANGES	Mon Mar  6 13:15:15 2023
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2952 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2953 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -44,4 +44,34 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 	aq(4): add support for AQC113-116 [ryo 20230114]
 	bind: Import version 9.16.37. [christos 20230125]
 	xfwp(1): remove. [wiz 20230204]
+	vax: Port gpx(4) color framebuffer driver (found on VAXstation 3100)
+		from OpenBSD/vax. [tsutsui 20230206]
 	OpenSSL: Imported 1.1.1t. [christos 20230207]
+	next68k: Handle NeXT Turbo VRAM regions. [tsutsui 20230211]
+	vax: Port rasops(9)-ified smg(4) framebuffer driver for
+		VS3100 from OpenBSD/vax.  This allows using more fonts.
+		[tsutsui 20230211]
+	urndis(4): Add support for OnePlus 5T device quirks
+		[nia 20230211]
+	u3g(4): Add support for ZTE MF112 and D-Link DWM222 3G USB
+		modems [manu 20230213]
+	wscons(4): Ignore nonsense tab stops in vt100 emulation.
+		[riastradh 20230223]
+	nvmm(4): Filter CR4 bits on x86 SVM (AMD). In particular,
+		prohibit PKE, Protection Key Enable, which requires
+		some additional management of CPU state by nvmm. 
+		[riastradh 20230223]
+	ftp(1): Add option sslnoverify to control validation of SSL
+		certificates. Certificate validation is now enabled
+		by default. [mlelstv 20230225]
+	ftp(1): Add netrc processing to fetch-mode (URL on command line) to
+		enable options and autologin via netrc. [mlelstv 20230225]
+	aarch64: Audit use of curcpu(9). [riastradh 20230225]
+	xen: Memory barrier audit. Reduce unnecessary membars.
+		[riastradh 20230225]
+	x86: Mitigate MXCSR Configuration Dependent Timing CPU security
+		flaw in kernel FPU use. [riastradh 20230225]
+	kernel: Optimization: Omit needless membar when triggering softint
+		in various ports. [riastradh 20230301]
+	sh(1): Adjust tilde expansion to comply with upcoming POSIX
+		Issue 8 requirements. [kre 20230306]



CVS commit: src/share/man/man9

2023-03-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Mar  6 12:25:06 UTC 2023

Modified Files:
src/share/man/man9: portfeatures.9

Log Message:
Document __HAVE_UCAS_FULL and __HAVE_UCAS_MP.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/portfeatures.9

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/man9/portfeatures.9
diff -u src/share/man/man9/portfeatures.9:1.2 src/share/man/man9/portfeatures.9:1.3
--- src/share/man/man9/portfeatures.9:1.2	Mon Mar  6 01:03:45 2023
+++ src/share/man/man9/portfeatures.9	Mon Mar  6 12:25:06 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: portfeatures.9,v 1.2 2023/03/06 01:03:45 wiz Exp $
+.\"	$NetBSD: portfeatures.9,v 1.3 2023/03/06 12:25:06 thorpej Exp $
 .\"
 .\" Copyright (c) The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -75,4 +75,18 @@ interlock.
 .\" -
 .It Dv __HAVE_SPIN_MUTEX_STUBS Pq Xr mutex 9
 The port provides fast path enter and exit stubs for spin mutexes.
+.
+.\" -
+.It Dv __HAVE_UCAS_FULL Pq Xr ucas 9
+The port provides a full implementation of the low-level primitives
+required for atomic compare-and-swap operations to user-space addresses.
+.
+.\" -
+.It Dv __HAVE_UCAS_MP Pq Xr ucas 9
+The port does not provide a full implementation of the low-level
+primitives required for atomic compare-and-swap operations to user-space
+addresses, but does provide an implementation of those primitives that
+can be used if
+.Pq and only if
+the system has more than one processor.
 .El



CVS commit: src/share/man/man9

2023-03-06 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Mar  6 12:25:06 UTC 2023

Modified Files:
src/share/man/man9: portfeatures.9

Log Message:
Document __HAVE_UCAS_FULL and __HAVE_UCAS_MP.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/portfeatures.9

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