CVS commit: src/usr.sbin/installboot
Module Name:src Committed By: dholland Date: Thu Aug 29 05:02:45 UTC 2024 Modified Files: src/usr.sbin/installboot: installboot.8 Log Message: installboot(8): excise stray word To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/usr.sbin/installboot/installboot.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/installboot/installboot.8 diff -u src/usr.sbin/installboot/installboot.8:1.110 src/usr.sbin/installboot/installboot.8:1.111 --- src/usr.sbin/installboot/installboot.8:1.110 Sat Jun 1 20:19:41 2024 +++ src/usr.sbin/installboot/installboot.8 Thu Aug 29 05:02:44 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: installboot.8,v 1.110 2024/06/01 20:19:41 gutteridge Exp $ +.\" $NetBSD: installboot.8,v 1.111 2024/08/29 05:02:44 dholland Exp $ .\" .\" Copyright (c) 2002-2023 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -468,7 +468,7 @@ Use as the type of .Ar filesystem . The default operation is to attempt to auto-detect this setting. -The following file system types are currently supported by: +The following file system types are currently supported: . .Bl -tag -width Ic .
CVS commit: src/usr.sbin/installboot
Module Name:src Committed By: dholland Date: Thu Aug 29 05:02:45 UTC 2024 Modified Files: src/usr.sbin/installboot: installboot.8 Log Message: installboot(8): excise stray word To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/usr.sbin/installboot/installboot.8 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
Module Name:src Committed By: dholland Date: Wed Feb 28 21:52:40 UTC 2024 Modified Files: src/sys/dev/usb: usb_quirks.c usbdevs.h usbdevs_data.h Log Message: usbdevs: regen; usb_quirks.c: update to match Regen for additional Logitech B100, and update the UQ_ALWAYS_ON entry to refer to both device ids. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/dev/usb/usb_quirks.c cvs rdiff -u -r1.805 -r1.806 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/usb_quirks.c diff -u src/sys/dev/usb/usb_quirks.c:1.107 src/sys/dev/usb/usb_quirks.c:1.108 --- src/sys/dev/usb/usb_quirks.c:1.107 Sun May 14 23:58:35 2023 +++ src/sys/dev/usb/usb_quirks.c Wed Feb 28 21:52:40 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: usb_quirks.c,v 1.107 2023/05/14 23:58:35 pgoyette Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.108 2024/02/28 21:52:40 dholland Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */ /* @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.107 2023/05/14 23:58:35 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.108 2024/02/28 21:52:40 dholland Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -399,7 +399,9 @@ Static const struct usbd_quirk_entry { { UQ_ALWAYS_ON, NULL }}, { USB_VENDOR_PIXART, USB_PRODUCT_PIXART_RPIMOUSE, ANY, { UQ_ALWAYS_ON, NULL }}, - { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100, ANY, + { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100_1, ANY, + { UQ_ALWAYS_ON, NULL }}, + { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100_2, ANY, { UQ_ALWAYS_ON, NULL }}, { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_OPTUSBMOUSE, ANY, { UQ_ALWAYS_ON, NULL }}, /* Index: src/sys/dev/usb/usbdevs.h diff -u src/sys/dev/usb/usbdevs.h:1.805 src/sys/dev/usb/usbdevs.h:1.806 --- src/sys/dev/usb/usbdevs.h:1.805 Sat Jan 13 15:22:40 2024 +++ src/sys/dev/usb/usbdevs.h Wed Feb 28 21:52:40 2024 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs.h,v 1.805 2024/01/13 15:22:40 hgutch Exp $ */ +/* $NetBSD: usbdevs.h,v 1.806 2024/02/28 21:52:40 dholland Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.813 2024/01/13 14:42:14 hgutch Exp + * NetBSD: usbdevs,v 1.814 2024/02/28 21:50:51 dholland Exp */ /*- @@ -2204,7 +2204,8 @@ #define USB_PRODUCT_LOGITECH_USBPS2MOUSE 0xc00e /* USB-PS/2 Optical Mouse */ #define USB_PRODUCT_LOGITECH_MUV55A 0xc016 /* M-UV55a */ #define USB_PRODUCT_LOGITECH_UN58A 0xc030 /* iFeel Mouse */ -#define USB_PRODUCT_LOGITECH_B100 0xc077 /* B100 Optical Mouse */ +#define USB_PRODUCT_LOGITECH_B100_1 0xc05a /* B100 Optical Mouse */ +#define USB_PRODUCT_LOGITECH_B100_2 0xc077 /* B100 Optical Mouse */ #define USB_PRODUCT_LOGITECH_WMPAD 0xc208 /* WingMan GamePad Extreme */ #define USB_PRODUCT_LOGITECH_WMRPAD 0xc20a /* WingMan RumblePad */ #define USB_PRODUCT_LOGITECH_WMJOY 0xc281 /* WingMan Force joystick */ Index: src/sys/dev/usb/usbdevs_data.h diff -u src/sys/dev/usb/usbdevs_data.h:1.805 src/sys/dev/usb/usbdevs_data.h:1.806 --- src/sys/dev/usb/usbdevs_data.h:1.805 Sat Jan 13 15:22:40 2024 +++ src/sys/dev/usb/usbdevs_data.h Wed Feb 28 21:52:40 2024 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs_data.h,v 1.805 2024/01/13 15:22:40 hgutch Exp $ */ +/* $NetBSD: usbdevs_data.h,v 1.806 2024/02/28 21:52:40 dholland Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.813 2024/01/13 14:42:14 hgutch Exp + * NetBSD: usbdevs,v 1.814 2024/02/28 21:50:51 dholland Exp */ /*- @@ -2903,7 +2903,9 @@ static const uint32_t usb_products[] = { 13531, 0, USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_UN58A, 13539, 6494, 0, - USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100, + USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100_1, + 13545, 3370, 6494, 0, + USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_B100_2, 13545, 3370, 6494, 0, USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_WMPAD, 13502, 10939, 13550, 0, @@ -5519,7 +5521,7 @@ static const char usb_words[] = { "." "Cambridge\0" /* 1 refs @ 3349 */ "Radio\0" /* 8 refs @ 3359 */ "Trek\0" /* 1 refs @ 3365 */ - "Optical\0" /* 9 refs @ 3370 */ + "Optical\0" /* 10 refs @ 3370 */ "ShanTou\0" /* 1 refs @ 3378 */ "MediaGear\0" /* 1 refs @ 3386 */ "Broadcom\0" /* 2 refs @ 3396 */ @@ -5926,7 +5928,7 @@ static const char usb_words[] = { "." "(Wellspring2/JIS)\0" /* 1 refs @ 6463 */ "mouse\0" /* 16 refs @ 6481 */ "Mighty\0" /* 2 refs @ 6487 */ - "Mouse\0" /* 18 refs @ 6494 */ + "Mouse\0" /* 19 refs @ 6494 */ "Trackpad\0" /* 3 refs @ 6500 */ "(Fountain)\0" /* 1 refs @ 6509 */ "(Geyser)\0" /* 1 refs @ 6520 */ @@ -6877,7 +6879,7 @@ static const
CVS commit: src/sys/dev/usb
Module Name:src Committed By: dholland Date: Wed Feb 28 21:52:40 UTC 2024 Modified Files: src/sys/dev/usb: usb_quirks.c usbdevs.h usbdevs_data.h Log Message: usbdevs: regen; usb_quirks.c: update to match Regen for additional Logitech B100, and update the UQ_ALWAYS_ON entry to refer to both device ids. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/dev/usb/usb_quirks.c cvs rdiff -u -r1.805 -r1.806 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
Module Name:src Committed By: dholland Date: Wed Feb 28 21:50:51 UTC 2024 Modified Files: src/sys/dev/usb: usbdevs Log Message: usbdevs: add another device id for LOGITECH B100. The mouse I'm looking at says "Logitech B100" on the back but has a different device id from the one already here. To generate a diff of this commit: cvs rdiff -u -r1.813 -r1.814 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.813 src/sys/dev/usb/usbdevs:1.814 --- src/sys/dev/usb/usbdevs:1.813 Sat Jan 13 14:42:14 2024 +++ src/sys/dev/usb/usbdevs Wed Feb 28 21:50:51 2024 @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.813 2024/01/13 14:42:14 hgutch Exp $ +$NetBSD: usbdevs,v 1.814 2024/02/28 21:50:51 dholland Exp $ /*- * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -2197,7 +2197,8 @@ product LOGITECH BD58 0xc00c BD58 mouse product LOGITECH USBPS2MOUSE 0xc00e USB-PS/2 Optical Mouse product LOGITECH MUV55A 0xc016 M-UV55a product LOGITECH UN58A 0xc030 iFeel Mouse -product LOGITECH B100 0xc077 B100 Optical Mouse +product LOGITECH B100_1 0xc05a B100 Optical Mouse +product LOGITECH B100_2 0xc077 B100 Optical Mouse product LOGITECH WMPAD 0xc208 WingMan GamePad Extreme product LOGITECH WMRPAD 0xc20a WingMan RumblePad product LOGITECH WMJOY 0xc281 WingMan Force joystick
CVS commit: src/sys/dev/usb
Module Name:src Committed By: dholland Date: Wed Feb 28 21:50:51 UTC 2024 Modified Files: src/sys/dev/usb: usbdevs Log Message: usbdevs: add another device id for LOGITECH B100. The mouse I'm looking at says "Logitech B100" on the back but has a different device id from the one already here. To generate a diff of this commit: cvs rdiff -u -r1.813 -r1.814 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
Module Name:src Committed By: dholland Date: Sun Dec 31 04:20:40 UTC 2023 Modified Files: src/sys/arch/m68k/include: float.h src/sys/arch/x86/include: float.h Log Message: {x86,m68k}/float.h: document LDBL_MIN behavior It seems that even though both these platforms have 12-byte floats that are pretty much the same representation and both allegedly IEEE-compliant, they manifest the top bit of the mantissa and then differ slightly in the behavior of the extra encodings this permits. Thanks to riastradh@ for helping sort this out. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/m68k/include/float.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/include/float.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/m68k/include/float.h diff -u src/sys/arch/m68k/include/float.h:1.21 src/sys/arch/m68k/include/float.h:1.22 --- src/sys/arch/m68k/include/float.h:1.21 Tue Mar 18 18:20:41 2014 +++ src/sys/arch/m68k/include/float.h Sun Dec 31 04:20:40 2023 @@ -1,8 +1,31 @@ -/* $NetBSD: float.h,v 1.21 2014/03/18 18:20:41 riastradh Exp $ */ +/* $NetBSD: float.h,v 1.22 2023/12/31 04:20:40 dholland Exp $ */ #ifndef _M68K_FLOAT_H_ #define _M68K_FLOAT_H_ +/* + * LDBL_MIN is half the x86 LDBL_MIN, even though both are 12-byte + * floats with the same base properties and both allegedly + * IEEE-compliant, because both these representations materialize the + * top (integer-part) bit of the mantissa. But on m68k if the exponent + * is 0 and the integer bit is set, it's a regular number, whereas on + * x86 it's called a pseudo-denormal and apparently treated as a + * denormal, so it doesn't count as a valid value for LDBL_MIN. + * + * x86 citation: Intel 64 and IA-32 Architectures Software Developer's + * Manual, vol. 1 (Order Number: 253665-077US, April 2022), Sec. 8.2.2 + * `Unsupported Double Extended-Precision Floating-Point Encodings + * and Pseudo-Denormals', p. 8-14. + * + * m86k citation: MC68881/MC68882 Floating-Point Coprocessor User's + * Manual, Second Edition (Prentice-Hall, 1989, apparently issued by + * Freescale), Section 3.2 `Binary Real Data formats', pg. 3-3 bottom + * in particular and pp. 3-2 to 3-5 in general. + * + * If anyone needs to update this comment please make sure the copy in + * m68k/float.h also gets updated. + */ + #if defined(__LDBL_MANT_DIG__) #define LDBL_MANT_DIG __LDBL_MANT_DIG__ #define LDBL_EPSILON __LDBL_EPSILON__ Index: src/sys/arch/x86/include/float.h diff -u src/sys/arch/x86/include/float.h:1.6 src/sys/arch/x86/include/float.h:1.7 --- src/sys/arch/x86/include/float.h:1.6 Sat Apr 27 21:35:25 2013 +++ src/sys/arch/x86/include/float.h Sun Dec 31 04:20:40 2023 @@ -1,10 +1,33 @@ -/* $NetBSD: float.h,v 1.6 2013/04/27 21:35:25 joerg Exp $ */ +/* $NetBSD: float.h,v 1.7 2023/12/31 04:20:40 dholland Exp $ */ #ifndef _X86_FLOAT_H_ #define _X86_FLOAT_H_ #include +/* + * LDBL_MIN is twice the m68k LDBL_MIN, even though both are 12-byte + * floats with the same base properties and both allegedly + * IEEE-compliant, because both these representations materialize the + * top (integer-part) bit of the mantissa. But on m68k if the exponent + * is 0 and the integer bit is set, it's a regular number, whereas on + * x86 it's called a pseudo-denormal and apparently treated as a + * denormal, so it doesn't count as a valid value for LDBL_MIN. + * + * x86 citation: Intel 64 and IA-32 Architectures Software Developer's + * Manual, vol. 1 (Order Number: 253665-077US, April 2022), Sec. 8.2.2 + * `Unsupported Double Extended-Precision Floating-Point Encodings + * and Pseudo-Denormals', p. 8-14. + * + * m86k citation: MC68881/MC68882 Floating-Point Coprocessor User's + * Manual, Second Edition (Prentice-Hall, 1989, apparently issued by + * Freescale), Section 3.2 `Binary Real Data formats', pg. 3-3 bottom + * in particular and pp. 3-2 to 3-5 in general. + * + * If anyone needs to update this comment please make sure the copy in + * x86/float.h also gets updated. + */ + #define LDBL_MANT_DIG 64 #define LDBL_EPSILON 1.0842021724855044340E-19L #define LDBL_DIG 18
CVS commit: src/sys/arch
Module Name:src Committed By: dholland Date: Sun Dec 31 04:20:40 UTC 2023 Modified Files: src/sys/arch/m68k/include: float.h src/sys/arch/x86/include: float.h Log Message: {x86,m68k}/float.h: document LDBL_MIN behavior It seems that even though both these platforms have 12-byte floats that are pretty much the same representation and both allegedly IEEE-compliant, they manifest the top bit of the mantissa and then differ slightly in the behavior of the extra encodings this permits. Thanks to riastradh@ for helping sort this out. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/m68k/include/float.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/include/float.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/time
Module Name:src Committed By: dholland Date: Tue Sep 12 21:56:05 UTC 2023 Modified Files: src/lib/libc/time: ctime.3 Log Message: ctime.3: fix merge mistake The paragraphs about the *_r and *_z/rz functions belong at the end of the section (or somewhere like that), not affixed to the description of difftime in the middle of the list of functions. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/lib/libc/time/ctime.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/time/ctime.3 diff -u src/lib/libc/time/ctime.3:1.69 src/lib/libc/time/ctime.3:1.70 --- src/lib/libc/time/ctime.3:1.69 Sun Dec 11 17:57:23 2022 +++ src/lib/libc/time/ctime.3 Tue Sep 12 21:56:05 2023 @@ -1,9 +1,9 @@ -.\" $NetBSD: ctime.3,v 1.69 2022/12/11 17:57:23 christos Exp $ +.\" $NetBSD: ctime.3,v 1.70 2023/09/12 21:56:05 dholland Exp $ .\" .\" This file is in the public domain, so clarified as of .\" 2009-05-17 by Arthur David Olson. .\" -.Dd October 22, 2022 +.Dd September 12, 2023 .Dt CTIME 3 .Os .Sh NAME @@ -139,40 +139,6 @@ The function returns the difference between two calendar times, .Fa ( time1 No - Fa time0 ) , expressed in seconds. -.Pp -The -.Fn ctime_r , -.Fn localtime_r , -.Fn gmtime_r , -and -.Fn asctime_r -functions -are like their unsuffixed counterparts, except that they accept an -additional argument specifying where to store the result if successful. -.Pp -The -.Fn ctime_rz , -.Fn localtime_rz , -and -.Fn mktime_z -functions -are like their unsuffixed counterparts, except that they accept an -extra initial -.Ar zone -argument specifying the timezone to be used for conversion. -If -.Fa zone -is -.Dv NULL , -UT is used; otherwise, -.Fa zone -should have been allocated by -.Fn tzalloc -and should not be freed until after all uses (e.g., by calls to -.Fn strftime ) -of the filled-in -.Fn tm_zone -fields. .It Fn gmtime "clock" The .Fn gmtime @@ -415,6 +381,40 @@ variable is optional; also, there is no .Dv tzname will continue to exist in this form in future releases of this code. +.Pp +The +.Fn ctime_r , +.Fn localtime_r , +.Fn gmtime_r , +and +.Fn asctime_r +functions +are like their unsuffixed counterparts, except that they accept an +additional argument specifying where to store the result if successful. +.Pp +The +.Fn ctime_rz , +.Fn localtime_rz , +and +.Fn mktime_z +functions +are like their unsuffixed counterparts, except that they accept an +extra initial +.Ar zone +argument specifying the timezone to be used for conversion. +If +.Fa zone +is +.Dv NULL , +UT is used; otherwise, +.Fa zone +should have been allocated by +.Fn tzalloc +and should not be freed until after all uses (e.g., by calls to +.Fn strftime ) +of the filled-in +.Fn tm_zone +fields. .Sh RETURN VALUES .Bl -bullet .It
CVS commit: src/lib/libc/time
Module Name:src Committed By: dholland Date: Tue Sep 12 21:56:05 UTC 2023 Modified Files: src/lib/libc/time: ctime.3 Log Message: ctime.3: fix merge mistake The paragraphs about the *_r and *_z/rz functions belong at the end of the section (or somewhere like that), not affixed to the description of difftime in the middle of the list of functions. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/lib/libc/time/ctime.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/paxctl
Module Name:src Committed By: dholland Date: Mon Aug 21 00:41:49 UTC 2023 Modified Files: src/usr.sbin/paxctl: paxctl.8 Log Message: paxctl(8): it is not a bug that paxctl settings are persistent. Nor is it a bug that they're applied to the file rather than stored in some magic secret database where they survive reinstalls, which the prior wording seems to suggest was the eventual intention. It is worth noting that they change the target file, so still say that. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/paxctl/paxctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/paxctl/paxctl.8 diff -u src/usr.sbin/paxctl/paxctl.8:1.21 src/usr.sbin/paxctl/paxctl.8:1.22 --- src/usr.sbin/paxctl/paxctl.8:1.21 Wed Aug 16 22:22:02 2023 +++ src/usr.sbin/paxctl/paxctl.8 Mon Aug 21 00:41:49 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: paxctl.8,v 1.21 2023/08/16 22:22:02 gutteridge Exp $ +.\" $NetBSD: paxctl.8,v 1.22 2023/08/21 00:41:49 dholland Exp $ .\" .\" Copyright 2006 Elad Efrat .\" Copyright 2008 Christos Zoulas @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 23, 2023 +.Dd August 20, 2023 .Dt PAXCTL 8 .Os .Sh NAME @@ -104,17 +104,17 @@ PaX project. .Sh AUTHORS .An Elad Efrat Aq Mt e...@netbsd.org .An Christos Zoulas Aq Mt chris...@netbsd.org -.Sh BUGS +.Sh RESTRICTIONS The .Nm -utility currently uses +utility uses .Xr elf 5 -note sections to mark executables as having PaX flags enabled. -This will be done using -.Xr fileassoc 9 -in the future so that we can control who does the marking and -not alter the binary file signature. -.Po -Note this also means that -at present any flags set do not survive binary file upgrades. -.Pc +note sections to mark executables with PaX flags. +This means that, as one might expect, the PaX settings do not persist +if the program file is replaced. +It also means that running +.Nm +changes the target executable, which can be undesirable in production. +In general, +.Nm +settings should be applied to programs at build time.
CVS commit: src/usr.sbin/paxctl
Module Name:src Committed By: dholland Date: Mon Aug 21 00:41:49 UTC 2023 Modified Files: src/usr.sbin/paxctl: paxctl.8 Log Message: paxctl(8): it is not a bug that paxctl settings are persistent. Nor is it a bug that they're applied to the file rather than stored in some magic secret database where they survive reinstalls, which the prior wording seems to suggest was the eventual intention. It is worth noting that they change the target file, so still say that. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/paxctl/paxctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: dholland Date: Tue Aug 1 16:33:43 UTC 2023 Modified Files: src/sys/sys: vnode_impl.h Log Message: vnode_impl.h: clarify comment, from freenode To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/sys/vnode_impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: dholland Date: Tue Aug 1 16:33:43 UTC 2023 Modified Files: src/sys/sys: vnode_impl.h Log Message: vnode_impl.h: clarify comment, from freenode To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/sys/vnode_impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/sys/vnode_impl.h diff -u src/sys/sys/vnode_impl.h:1.26 src/sys/sys/vnode_impl.h:1.27 --- src/sys/sys/vnode_impl.h:1.26 Sat Apr 29 10:07:05 2023 +++ src/sys/sys/vnode_impl.h Tue Aug 1 16:33:43 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: vnode_impl.h,v 1.26 2023/04/29 10:07:05 riastradh Exp $ */ +/* $NetBSD: vnode_impl.h,v 1.27 2023/08/01 16:33:43 dholland Exp $ */ /*- * Copyright (c) 2016, 2019, 2020 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ struct vcache_key { * l vi_nc_listlock * m mnt_vnodelock * n vi_nc_lock - * n,l vi_nc_lock + vi_nc_listlock to modify + * n,l both vi_nc_lock + vi_nc_listlock to modify, either to read * s syncer_data_lock */ struct vnode_impl {
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Mon Jul 31 05:36:41 UTC 2023 Modified Files: src/share/dict: web2 Log Message: web2: restore snit, accidentally lost in -r1.49 To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/dict/web2 diff -u src/share/dict/web2:1.58 src/share/dict/web2:1.59 --- src/share/dict/web2:1.58 Mon Jul 31 05:35:44 2023 +++ src/share/dict/web2 Mon Jul 31 05:36:41 2023 @@ -184357,6 +184357,7 @@ snipy snirl snirt snirtle +snit snitch snitcher snite
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Mon Jul 31 05:36:41 UTC 2023 Modified Files: src/share/dict: web2 Log Message: web2: restore snit, accidentally lost in -r1.49 To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Mon Jul 31 05:35:44 UTC 2023 Modified Files: src/share/dict: web2 Log Message: web2: since we seem to be accumulating personal names in here, add a bunch. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Mon Jul 31 05:35:44 UTC 2023 Modified Files: src/share/dict: web2 Log Message: web2: since we seem to be accumulating personal names in here, add a bunch. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/dict/web2 diff -u src/share/dict/web2:1.57 src/share/dict/web2:1.58 --- src/share/dict/web2:1.57 Wed Mar 16 00:01:03 2022 +++ src/share/dict/web2 Mon Jul 31 05:35:44 2023 @@ -159,6 +159,7 @@ abducent abduct abduction abductor +Abdul Abe abeam abear @@ -4510,6 +4511,7 @@ akalimba akamatsu Akamnik Akan +Akane Akanekunik Akania Akaniaceae @@ -4639,6 +4641,7 @@ alangine Alangium alani alanine +Alanna alannah Alans alantic @@ -5071,6 +5074,7 @@ aleutite alevin alewife Alex +Alexa Alexander alexanders Alexandra @@ -5081,6 +5085,8 @@ Alexandrina Alexandrine alexandrite Alexas +Alexei +Alexey Alexia alexia Alexian @@ -6225,6 +6231,7 @@ alymphia alymphopotent alypin alysson +Alyssa Alyssum alytarch Alytes @@ -6392,6 +6399,7 @@ ambatch ambatoarinite ambay ambeer +Amber amber amberfish ambergris @@ -7745,6 +7753,7 @@ anana ananaplas ananaples ananas +Anand ananda anandrarious anandria @@ -8318,6 +8327,7 @@ angaria angary Angdistis angekok +Angel angel Angela angelate @@ -8340,6 +8350,7 @@ angelicize angelico angelin Angelina +Angeline angeline angelique angelize @@ -8643,6 +8654,7 @@ anhydromyelia anhydrous anhydroxime anhysteretic +Ani ani Aniba Anice @@ -8893,6 +8905,7 @@ ann Anna anna Annabel +Annabelle annabergite annal annale @@ -8903,6 +8916,7 @@ annalistic annalize annals Annam +Annamarie Annamese Annamite Annamitic @@ -8922,6 +8936,7 @@ annelidan Annelides annelidian annelidous +Annelise annelism Annellata anneloid @@ -9497,6 +9512,7 @@ antewar anthecological anthecologist anthecology +Anthea Antheia anthela anthelion @@ -12217,6 +12233,7 @@ Aracana aracanga aracari Araceae +Araceli araceous arachic arachidonic @@ -13163,6 +13180,8 @@ arhatship Arhauaco arhythmic aria +Ari +Aria Ariadne Arian Ariana @@ -13171,6 +13190,7 @@ Arianistic Arianistical Arianize Arianizer +Arianna Arianrhod aribine Arician @@ -13185,6 +13205,7 @@ aridness ariegite Ariel ariel +Ariela arienzo Aries arietation @@ -13289,6 +13310,7 @@ arizonite arjun ark Arkab +Arkady Arkansan Arkansas Arkansawyer @@ -13932,6 +13954,7 @@ Arvicolinae arvicoline arvicolous arviculture +Arwen arx ary Arya @@ -13941,6 +13964,7 @@ Aryanization Aryanize aryballoid aryballus +Aryeh aryepiglottic aryl arylamine @@ -14189,7 +14213,9 @@ ashkoko ashlar ashlared ashlaring +Ashleigh ashless +Ashley ashling Ashluslay ashman @@ -15485,6 +15511,7 @@ Atticist Atticize atticize atticomastoid +Atticus attid Attidae attinge @@ -16472,6 +16499,7 @@ autoxidize autoxidizer autozooid autrefois +Autumn autumn autumnal autumnally @@ -16520,6 +16548,7 @@ auxospore auxosubstance auxotonic auxotox +Ava ava avadana avadavat @@ -16932,11 +16961,14 @@ ay ayacahuite ayah Ayahuca +Ayako Aydendron aye ayegreen +Ayelet ayelp ayenbite +Ayesha ayin Aylesbury ayless @@ -17727,6 +17759,7 @@ bailable bailage bailee bailer +Bailey bailey bailie bailiery @@ -18451,6 +18484,7 @@ barathea barathra barathrum barauna +Barb barb Barbacoa Barbacoan @@ -19414,6 +19448,7 @@ baxter Baxterian Baxterianism baxtone +Bay bay Baya baya @@ -20496,6 +20531,7 @@ bellbind bellbird bellbottle bellboy +Belle belle belled belledom @@ -21534,6 +21570,7 @@ Beth beth bethabara bethankit +Bethany bethel Bethesda bethflower @@ -23862,6 +23899,7 @@ blooper blooping blore blosmy +Blossom blossom blossombill blossomed @@ -24056,6 +24094,7 @@ blusterous blusterously blustery blype +Blythe bo boa Boaedon @@ -26009,6 +26048,7 @@ breakup breakwater breakwind bream +Breanne breards breast breastband @@ -26175,6 +26215,7 @@ brewster brewsterite brey Brian +Brianna briar briarberry Briard @@ -26389,6 +26430,7 @@ brinkless briny brioche briolette +Brionne brique briquette brisk @@ -26434,6 +26476,7 @@ Britishness Briton Britoness britska +Britt Brittany britten brittle @@ -26739,6 +26782,7 @@ Brontosaurus brontoscopy Brontotherium Brontozoum +Bronwen Bronx bronze bronzed @@ -26775,6 +26819,7 @@ brookless brooklet brooklike brooklime +Brooklyn Brooklynite brookside brookweed @@ -28516,6 +28561,7 @@ cadus Cadwal Cadwallader cadweed +Cady caeca caecal caecally @@ -28652,6 +28698,8 @@ caissoned Caitanyas Caite caitiff +Caitlin +Caitlyn Cajan Cajanus cajeput @@ -28682,6 +28730,7 @@ cakewalker cakey Cakile caky +Cal cal calaba Calabar @@ -28990,6 +29039,7 @@ Callicebus callid callidity callidness +Callie calligraph calligrap
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:24:36 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: one more thing -- both macro params should get parens To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/netatalk/aarp.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/netatalk/aarp.c diff -u src/sys/netatalk/aarp.c:1.45 src/sys/netatalk/aarp.c:1.46 --- src/sys/netatalk/aarp.c:1.45 Mon Jul 31 01:23:04 2023 +++ src/sys/netatalk/aarp.c Mon Jul 31 01:24:36 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: aarp.c,v 1.45 2023/07/31 01:23:04 dholland Exp $ */ +/* $NetBSD: aarp.c,v 1.46 2023/07/31 01:24:36 dholland Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.45 2023/07/31 01:23:04 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.46 2023/07/31 01:24:36 dholland Exp $"); #include "opt_mbuftrace.h" #include "opt_atalk.h" @@ -73,14 +73,14 @@ struct aarptab aarptab[AARPTAB_SIZE]; #define AARPTAB_LOOK(aat, addr) { \ int n; \ \ - aat = &aarptab[AARPTAB_HASH(addr) * AARPTAB_BSIZ]; \ - for (n = 0; n < AARPTAB_BSIZ; n++, aat++) { \ - if (aat->aat_ataddr.s_net == (addr).s_net && \ - aat->aat_ataddr.s_node == (addr).s_node) \ + (aat) = &aarptab[AARPTAB_HASH(addr) * AARPTAB_BSIZ]; \ + for (n = 0; n < AARPTAB_BSIZ; n++, (aat)++) { \ + if ((aat)->aat_ataddr.s_net == (addr).s_net && \ + (aat)->aat_ataddr.s_node == (addr).s_node) \ break; \ } \ if (n >= AARPTAB_BSIZ) {\ - aat = 0; \ + (aat) = 0; \ } \ }
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:24:36 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: one more thing -- both macro params should get parens To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/netatalk/aarp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:23:04 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: whitespace To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/netatalk/aarp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:23:04 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: whitespace To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/netatalk/aarp.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/netatalk/aarp.c diff -u src/sys/netatalk/aarp.c:1.44 src/sys/netatalk/aarp.c:1.45 --- src/sys/netatalk/aarp.c:1.44 Mon Jul 31 01:19:49 2023 +++ src/sys/netatalk/aarp.c Mon Jul 31 01:23:04 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: aarp.c,v 1.44 2023/07/31 01:19:49 dholland Exp $ */ +/* $NetBSD: aarp.c,v 1.45 2023/07/31 01:23:04 dholland Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.44 2023/07/31 01:19:49 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.45 2023/07/31 01:23:04 dholland Exp $"); #include "opt_mbuftrace.h" #include "opt_atalk.h" @@ -70,17 +70,18 @@ struct aarptab aarptab[AARPTAB_SIZE]; #define AARPTAB_HASH(a) \ a).s_net << 8 ) + (a).s_node ) % AARPTAB_NB ) -#define AARPTAB_LOOK(aat,addr) { \ -int n; \ -aat = &aarptab[ AARPTAB_HASH(addr) * AARPTAB_BSIZ ]; \ -for ( n = 0; n < AARPTAB_BSIZ; n++, aat++ ) { \ - if ( aat->aat_ataddr.s_net == (addr).s_net && \ - aat->aat_ataddr.s_node == (addr).s_node ) \ - break; \ -} \ -if ( n >= AARPTAB_BSIZ ) { \ - aat = 0; \ -} \ +#define AARPTAB_LOOK(aat, addr) { \ + int n; \ +\ + aat = &aarptab[AARPTAB_HASH(addr) * AARPTAB_BSIZ]; \ + for (n = 0; n < AARPTAB_BSIZ; n++, aat++) { \ + if (aat->aat_ataddr.s_net == (addr).s_net && \ + aat->aat_ataddr.s_node == (addr).s_node) \ + break; \ + } \ + if (n >= AARPTAB_BSIZ) {\ + aat = 0; \ + } \ } #define AARPT_AGE (60 * 1)
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:19:50 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: fix wrong indent and add missing braces inside macro To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/netatalk/aarp.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/netatalk/aarp.c diff -u src/sys/netatalk/aarp.c:1.43 src/sys/netatalk/aarp.c:1.44 --- src/sys/netatalk/aarp.c:1.43 Sat Dec 22 14:28:56 2018 +++ src/sys/netatalk/aarp.c Mon Jul 31 01:19:49 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: aarp.c,v 1.43 2018/12/22 14:28:56 maxv Exp $ */ +/* $NetBSD: aarp.c,v 1.44 2023/07/31 01:19:49 dholland Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.43 2018/12/22 14:28:56 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aarp.c,v 1.44 2023/07/31 01:19:49 dholland Exp $"); #include "opt_mbuftrace.h" #include "opt_atalk.h" @@ -73,12 +73,14 @@ struct aarptab aarptab[AARPTAB_SIZE]; #define AARPTAB_LOOK(aat,addr) { \ int n; \ aat = &aarptab[ AARPTAB_HASH(addr) * AARPTAB_BSIZ ]; \ -for ( n = 0; n < AARPTAB_BSIZ; n++, aat++ ) \ +for ( n = 0; n < AARPTAB_BSIZ; n++, aat++ ) { \ if ( aat->aat_ataddr.s_net == (addr).s_net && \ aat->aat_ataddr.s_node == (addr).s_node ) \ break; \ - if ( n >= AARPTAB_BSIZ ) \ - aat = 0; \ +} \ +if ( n >= AARPTAB_BSIZ ) { \ + aat = 0; \ +} \ } #define AARPT_AGE (60 * 1)
CVS commit: src/sys/netatalk
Module Name:src Committed By: dholland Date: Mon Jul 31 01:19:50 UTC 2023 Modified Files: src/sys/netatalk: aarp.c Log Message: aarp.c: fix wrong indent and add missing braces inside macro To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/netatalk/aarp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc
Module Name:src Committed By: dholland Date: Sun Jul 2 00:52:04 UTC 2023 Modified Files: src/lib/libc: shlib_version Log Message: libc/shlib_version: note that *rand48* should be punted to libcompat To generate a diff of this commit: cvs rdiff -u -r1.293 -r1.294 src/lib/libc/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc
Module Name:src Committed By: dholland Date: Sun Jul 2 00:52:04 UTC 2023 Modified Files: src/lib/libc: shlib_version Log Message: libc/shlib_version: note that *rand48* should be punted to libcompat To generate a diff of this commit: cvs rdiff -u -r1.293 -r1.294 src/lib/libc/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/lib/libc/shlib_version diff -u src/lib/libc/shlib_version:1.293 src/lib/libc/shlib_version:1.294 --- src/lib/libc/shlib_version:1.293 Mon Nov 1 05:53:45 2021 +++ src/lib/libc/shlib_version Sun Jul 2 00:52:04 2023 @@ -1,4 +1,4 @@ -# $NetBSD: shlib_version,v 1.293 2021/11/01 05:53:45 thorpej Exp $ +# $NetBSD: shlib_version,v 1.294 2023/07/02 00:52:04 dholland Exp $ # Remember to update distrib/sets/lists/base/shl.* when changing # # things we wish to do on next major version bump: @@ -53,5 +53,6 @@ # - move statfs() to libcompat since we have statvfs() # - the syscall stubs for the (obsolete) lfs syscalls should be removed # - remove tzsetwall(3), upstream has removed it +# - move *rand48* to libcompat major=12 minor=220
CVS commit: src/share/misc
Module Name:src Committed By: dholland Date: Sun Jun 11 17:54:18 UTC 2023 Modified Files: src/share/misc: acronyms.comp Log Message: +DPAA To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354 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/share/misc
Module Name:src Committed By: dholland Date: Sun Jun 11 17:54:18 UTC 2023 Modified Files: src/share/misc: acronyms.comp Log Message: +DPAA To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354 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.353 src/share/misc/acronyms.comp:1.354 --- src/share/misc/acronyms.comp:1.353 Fri May 26 03:30:57 2023 +++ src/share/misc/acronyms.comp Sun Jun 11 17:54:18 2023 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.353 2023/05/26 03:30:57 jschauma Exp $ +$NetBSD: acronyms.comp,v 1.354 2023/06/11 17:54:18 dholland Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -442,6 +442,7 @@ DOM document object model DOS denial of service DOS disk operating system DP DisplayPort +DPAA data path acceleration architecture DPC deferred procedure call DPCM differential pulse code modulation DPD dead peer detection
CVS commit: src/sys/sys
Module Name:src Committed By: dholland Date: Sun May 28 06:21:00 UTC 2023 Modified Files: src/sys/sys: param.h Log Message: In sys/param.h document that MAXPATHLEN includes space for a null byte. Also note that it's the same as PATH_MAX. Reflow the comment. Suggested by Thierry Laronde. To generate a diff of this commit: cvs rdiff -u -r1.726 -r1.727 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/sys/param.h diff -u src/sys/sys/param.h:1.726 src/sys/sys/param.h:1.727 --- src/sys/sys/param.h:1.726 Sat Apr 22 14:05:36 2023 +++ src/sys/sys/param.h Sun May 28 06:21:00 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.726 2023/04/22 14:05:36 riastradh Exp $ */ +/* $NetBSD: param.h,v 1.727 2023/05/28 06:21:00 dholland Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -395,13 +395,16 @@ #define MAXFRAG 8 /* - * MAXPATHLEN defines the longest permissible path length after expanding - * symbolic links. It is used to allocate a temporary buffer from the buffer - * pool in which to do the name expansion, hence should be a power of two, - * and must be less than or equal to MAXBSIZE. MAXSYMLINKS defines the - * maximum number of symbolic links that may be expanded in a path name. - * It should be set high enough to allow all legitimate uses, but halt - * infinite loops reasonably quickly. + * MAXPATHLEN defines the longest permissible path length after + * expanding symbolic links, including a trailing null terminator + * byte. It is used to allocate a temporary buffer from the buffer + * pool in which to do the name expansion, hence should be a power of + * two, and must be less than or equal to MAXBSIZE. It must be the + * same as PATH_MAX from . + * + * MAXSYMLINKS defines the maximum number of symbolic links that may + * be expanded in a path name. It should be set high enough to allow + * all legitimate uses, but halt infinite loops reasonably quickly. * * MAXSYMLINKS should be >= _POSIX_SYMLOOP_MAX (see ) */
CVS commit: src/sys/sys
Module Name:src Committed By: dholland Date: Sun May 28 06:21:00 UTC 2023 Modified Files: src/sys/sys: param.h Log Message: In sys/param.h document that MAXPATHLEN includes space for a null byte. Also note that it's the same as PATH_MAX. Reflow the comment. Suggested by Thierry Laronde. To generate a diff of this commit: cvs rdiff -u -r1.726 -r1.727 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Sun May 28 03:35:24 UTC 2023 Modified Files: src/games/fortune/datfiles: fortunes Log Message: add a fortune To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/datfiles/fortunes diff -u src/games/fortune/datfiles/fortunes:1.99 src/games/fortune/datfiles/fortunes:1.100 --- src/games/fortune/datfiles/fortunes:1.99 Fri Sep 9 19:37:15 2022 +++ src/games/fortune/datfiles/fortunes Sun May 28 03:35:24 2023 @@ -16313,3 +16313,5 @@ metropole, n.: The axis on which the sub Dryads are usually lucky. It's well known that fortune favors the boled. % Responsible wizards always run their scrolls past a spell-checker. +% +Shampoo doesn't need active product development. It can rest on its lauryls.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Sun May 28 03:35:24 UTC 2023 Modified Files: src/games/fortune/datfiles: fortunes Log Message: add a fortune To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: dholland Date: Mon Apr 17 00:37:04 UTC 2023 Modified Files: src/share/misc: style Log Message: share/misc/style: Don't prescribe using "extern.h" for all prototypes. That's very 80s. No objection (or even response, amazingly enough) on tech-userlevel in two weeks. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/share/misc/style Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: dholland Date: Mon Apr 17 00:37:04 UTC 2023 Modified Files: src/share/misc: style Log Message: share/misc/style: Don't prescribe using "extern.h" for all prototypes. That's very 80s. No objection (or even response, amazingly enough) on tech-userlevel in two weeks. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/share/misc/style 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/style diff -u src/share/misc/style:1.72 src/share/misc/style:1.73 --- src/share/misc/style:1.72 Sat Apr 15 12:22:37 2023 +++ src/share/misc/style Mon Apr 17 00:37:04 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: style,v 1.72 2023/04/15 12:22:37 rillig Exp $ */ +/* $NetBSD: style,v 1.73 2023/04/17 00:37:04 dholland Exp $ */ /* * The revision control tag appears first, with a blank line after it. @@ -30,7 +30,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: style,v 1.72 2023/04/15 12:22:37 rillig Exp $"); +__RCSID("$NetBSD: style,v 1.73 2023/04/17 00:37:04 dholland Exp $"); /* * VERY important single-line comments look like this. @@ -356,7 +356,8 @@ function(int a1, int a2, float fl, int a * When declaring variables in functions, multiple variables per line * are okay. If a line overflows reuse the type keyword. * - * Function prototypes should go in the include file "extern.h". + * Function prototypes and external data declarations should go in a + * suitable include file. * * Avoid initializing variables in the declarations; move * declarations next to their first use, and initialize
CVS commit: src/lib/libc/gdtoa
Module Name:src Committed By: dholland Date: Sat Apr 1 23:44:11 UTC 2023 Modified Files: src/lib/libc/gdtoa: gdtoa.c Log Message: Fix lying comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gdtoa/gdtoa.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/gdtoa/gdtoa.c diff -u src/lib/libc/gdtoa/gdtoa.c:1.8 src/lib/libc/gdtoa/gdtoa.c:1.9 --- src/lib/libc/gdtoa/gdtoa.c:1.8 Thu May 6 16:15:33 2021 +++ src/lib/libc/gdtoa/gdtoa.c Sat Apr 1 23:44:11 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: gdtoa.c,v 1.8 2021/05/06 16:15:33 christos Exp $ */ +/* $NetBSD: gdtoa.c,v 1.9 2023/04/01 23:44:11 dholland Exp $ */ / @@ -128,7 +128,7 @@ gdtoa arguments of ecvt and fcvt; trailing zeros are suppressed from the returned string. If not null, *rve is set to point to the end of the return value. If d is +-Infinity or NaN, - then *decpt is set to . + then *decpt is set to -32768. be = exponent: value = (integer represented by bits) * (2 to the power of be). mode:
CVS commit: src/lib/libc/gdtoa
Module Name:src Committed By: dholland Date: Sat Apr 1 23:44:11 UTC 2023 Modified Files: src/lib/libc/gdtoa: gdtoa.c Log Message: Fix lying comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gdtoa/gdtoa.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/units
Module Name:src Committed By: dholland Date: Mon Oct 24 05:52:48 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Some more corrections/additions in units.lib: 1. cables; US cables are 720 ft, but international cables are 1/10 nautical mile and UK Admiralty cables are 1/10 of 1853.2 meters instead of 1852 meters. Make "cable" refer to the international definition, and add "uscable" and "admiraltycable". 2. rods and chains. US rods and chains and furlongs are defined in terms of US survey feet, not international feet. Since the US is apparently working on retiring survey feet, it seems like the best way forward on this is to define two sets of these units, one prefixed with "us". Also since this file was inconsistent about using "survey" vs. "surveyors", fill in more duplicates. Furthermore, Gunter's rods and chains and links are as best I can tell the same as the international ones, so since we already have "gunterschain" add "guntersrod" and "gunterslink". 3. If we're going to make pf a special abbreviation for picofarad, it's reasonable to make uf a special abbreviation for microfarad, and if we're going to define "meg" for "megabyte" we should also have "gig". 4. A "franklin" _is_ a statcoulomb, not an approximation of one. 5. "jewel" has two Es. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/units/units.lib 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/units/units.lib diff -u src/usr.bin/units/units.lib:1.28 src/usr.bin/units/units.lib:1.29 --- src/usr.bin/units/units.lib:1.28 Mon Oct 24 05:04:50 2022 +++ src/usr.bin/units/units.lib Mon Oct 24 05:52:48 2022 @@ -1,4 +1,4 @@ -/ $NetBSD: units.lib,v 1.28 2022/10/24 05:04:50 dholland Exp $ +/ $NetBSD: units.lib,v 1.29 2022/10/24 05:52:48 dholland Exp $ / primitive units @@ -104,7 +104,7 @@ radian .5 / pi degree 1|180 pi-radian circle 2 pi-radian turn 2 pi-radian -revolution turn +revolution turn rev turn grade .9 degree arcdeg 1 degree @@ -291,33 +291,82 @@ league 3 mi mil 1e-3 in / nautical +/ / Historically, the nautical mile was 6080 feet (6080.2 in England) / but was changed to 1852 meters (6076 feet and change) in the 20th / century with varying dates of adoption around the world. / https://en.wikipedia.org/wiki/Nautical_mile +/ +/ The US cable is 720 feet. The international cable is 1/10 nautical +/ mile, which is substantially shorter. The UK Admiralty cable is +/ apparently 1/10 of a historical Admiralty nautical mile, which is +/ 1853.2 instead of 1852 meters. These definitions date from the 20th +/ century. Historically, a cable was 100 fathoms, but the fathom +/ hadn't yet been fixed at 6 feet, so cables weren't a fixed length +/ either. +/ https://en.wikipedia.org/wiki/Cable_(unit) +/ fathom 6 ft nmile 1852 m nauticalmile nmile marineleague 3 nmile -cable 720 ft +cable 1|10 nmile +uscable 720 ft +admiraltycable 185.32 m / surveying / / The US survey foot is defined as 1200/3937 meters, as opposed to the / ordinary international foot, which is 0.3048 meter (that's exactly -/ 2.54 cm to the inch as defined above.) +/ 2.54 cm to the inch as defined above.) These differ slightly. / https://en.wikipedia.org/wiki/Foot_(unit) -rod 5.5 yd -rd rod -perch rd -pole rd -chain 66 ft -link 66|100 ft -furlong 220 yd +/ +/ In the US, rods, chains, and furlongs are defined in terms of survey +/ feet, though the Wikipedia page on furlongs claims without citation +/ that some states use one definition and some the other. However, it +/ appears that as of 2022 this definition is on the way out, and other +/ jurisdictions define these units (to the extent they're used at all) +/ in terms of the international foot. +/ https://en.wikipedia.org/wiki/Rod_(unit) +/ https://en.wikipedia.org/wiki/Furlong_(unit) +/ +/ Consequently we'll make two sets of definitions and prefix the +/ variant US ones with "us". +/ +/ Since historically this file defined "surveyfoot" and "surveyyard" +/ but "surveyorschain" and "surveyorslink", we will now end up with +/ several sets for consistency. +/ surveyfoot 1200|3937 meter surveyyard 3 surveyfoot -surveyorschain 66 ft -surveyorslink 66|100 ft + +rod 5.5 yard +rd rod +perch rod +pole rod +chain 66 foot +link 1|100 chain +furlong 220 yard + +usrod 5.5 surveyyard +usperch usrod +uspole usrod +uschain 66 surveyfoot +uslink 1|100 uschain +usfurlong 220 surveyyard + +surveyorsfoot surveyfoot +surveyorsyard surveyyard +surveyorsrod usrod +surveyorschain uschain +surveyorslink uslink + +/ These are the same as the basic ones based on the international foot. +/ https://en.wikipedia.org/wiki/Gunter's_chain +/ https://en.wikipedia.org/wiki/Imperial_units +guntersrod rod +gunterschain chain +gunterslink link / typographical pica 1|6 in @@ -363,7 +4
CVS commit: src/usr.bin/units
Module Name:src Committed By: dholland Date: Mon Oct 24 05:52:48 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Some more corrections/additions in units.lib: 1. cables; US cables are 720 ft, but international cables are 1/10 nautical mile and UK Admiralty cables are 1/10 of 1853.2 meters instead of 1852 meters. Make "cable" refer to the international definition, and add "uscable" and "admiraltycable". 2. rods and chains. US rods and chains and furlongs are defined in terms of US survey feet, not international feet. Since the US is apparently working on retiring survey feet, it seems like the best way forward on this is to define two sets of these units, one prefixed with "us". Also since this file was inconsistent about using "survey" vs. "surveyors", fill in more duplicates. Furthermore, Gunter's rods and chains and links are as best I can tell the same as the international ones, so since we already have "gunterschain" add "guntersrod" and "gunterslink". 3. If we're going to make pf a special abbreviation for picofarad, it's reasonable to make uf a special abbreviation for microfarad, and if we're going to define "meg" for "megabyte" we should also have "gig". 4. A "franklin" _is_ a statcoulomb, not an approximation of one. 5. "jewel" has two Es. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/units/units.lib Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/units
Module Name:src Committed By: dholland Date: Mon Oct 24 05:04:51 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: units.lib: fix "surveyfoot" and kill off "british". The US survey foot is defined as 1200/3937 of a meter, whereas the ordinary international foot is 0.3048 meter. These are almost, but not quite the same. Define the survey foot this way instead of defining an adjective unit for the conversion, which is much less confusing even if the adjective unit had a reasonable name. For the time being the fact that it was called "british" remains thoroughly obscure. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/units/units.lib 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/units/units.lib diff -u src/usr.bin/units/units.lib:1.27 src/usr.bin/units/units.lib:1.28 --- src/usr.bin/units/units.lib:1.27 Mon Oct 24 04:55:19 2022 +++ src/usr.bin/units/units.lib Mon Oct 24 05:04:50 2022 @@ -1,4 +1,4 @@ -/ $NetBSD: units.lib,v 1.27 2022/10/24 04:55:19 dholland Exp $ +/ $NetBSD: units.lib,v 1.28 2022/10/24 05:04:50 dholland Exp $ / primitive units @@ -290,8 +290,6 @@ mi mile league 3 mi mil 1e-3 in -british 1200|3937 m/ft - / nautical / Historically, the nautical mile was 6080 feet (6080.2 in England) / but was changed to 1852 meters (6076 feet and change) in the 20th @@ -304,6 +302,11 @@ marineleague 3 nmile cable 720 ft / surveying +/ +/ The US survey foot is defined as 1200/3937 meters, as opposed to the +/ ordinary international foot, which is 0.3048 meter (that's exactly +/ 2.54 cm to the inch as defined above.) +/ https://en.wikipedia.org/wiki/Foot_(unit) rod 5.5 yd rd rod perch rd @@ -311,7 +314,7 @@ pole rd chain 66 ft link 66|100 ft furlong 220 yd -surveyfoot british-ft +surveyfoot 1200|3937 meter surveyyard 3 surveyfoot surveyorschain 66 ft surveyorslink 66|100 ft @@ -356,7 +359,7 @@ englishell 45 inch rood 1.21e+3 yd / other -geodeticfoot british-ft +geodeticfoot surveyfoot geographicalmile 1852 m engineerschain 100 ft engineerslink 100|100 ft
CVS commit: src/usr.bin/units
Module Name:src Committed By: dholland Date: Mon Oct 24 05:04:51 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: units.lib: fix "surveyfoot" and kill off "british". The US survey foot is defined as 1200/3937 of a meter, whereas the ordinary international foot is 0.3048 meter. These are almost, but not quite the same. Define the survey foot this way instead of defining an adjective unit for the conversion, which is much less confusing even if the adjective unit had a reasonable name. For the time being the fact that it was called "british" remains thoroughly obscure. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/units/units.lib Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/units
Module Name:src Committed By: dholland Date: Mon Oct 24 04:55:19 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Reorganize units.lib. It's all very well to file miscellaneous old units under "trivia" but it's more useful to sort first by type and then by creakiness. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/units/units.lib 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/units/units.lib diff -u src/usr.bin/units/units.lib:1.26 src/usr.bin/units/units.lib:1.27 --- src/usr.bin/units/units.lib:1.26 Tue Feb 15 16:21:35 2022 +++ src/usr.bin/units/units.lib Mon Oct 24 04:55:19 2022 @@ -1,4 +1,4 @@ -/ $NetBSD: units.lib,v 1.26 2022/02/15 16:21:35 jakllsch Exp $ +/ $NetBSD: units.lib,v 1.27 2022/10/24 04:55:19 dholland Exp $ / primitive units @@ -58,21 +58,47 @@ a- atto z- zopto y- yocto +/ / constants fuzz 1 + pi 3.14159265358979323846 c 2.99792458e+8 m/sec fuzz -g 9.80665 m/sec2 -au 1.49597871e+11 m fuzz -mole 6.022169e+23 fuzz e 1.6021917e-19 coul fuzz +k 1.38047e-16 erg/degC +planck 6.626e-34 joule-sec +hbar 1.055e-34 joule-sec +mole 6.022169e+23 fuzz + +g 9.80665 m/sec2 + +/ conversion factors used as adjectives energy c2 force g mercury 1.33322e+5 kg/m2-sec2 hg mercury -/ dimensionless +/ standard ratios +% 1|100 +percent % +/ proof is specific to alcohol concentration +proof 1|200 + +/ +/ counts + +dozen 12 +bakersdozen 13 +score 20 +gross 144 + +/ quire and ream are specific to counting sheets of paper +quire 25 +ream 500 + +/ +/ angles radian .5 / pi degree 1|180 pi-radian @@ -83,17 +109,32 @@ rev turn grade .9 degree arcdeg 1 degree arcmin 1|60 arcdeg -ccs 1|36 erlang arcsec 1|60 arcmin +centesimalminute 1e-2 grade +centesimalsecond 1e-4 grade + +/ +/ solid angles + steradian radian2 sphere 4 pi-steradian sr steradian +spat 4 pi sr +/ / Time +/ SI unit second sec s sec + +/ special-case abbreviations +ms millisec +ns nanosec +us microsec + +/ civil timekeeping minute 60 sec min minute hour 60 min @@ -101,53 +142,142 @@ hr hour day 24 hr da day week 7 day +fortnight 14 da +month 1|12 year +mo month year 365.24219879 day fuzz yr year -month 1|12 year -ms millisec -us microsec +decade 10 yr +century 100 year +millennium 1000 year + +/ astronomical details +siderealyear 365.256360417 day +siderealday 23.934469444 hour +siderealhour 1|24 siderealday +lunarmonth 29.530 day +synodicmonth lunarmonth +siderealmonth 27.32152777 day +tropicalyear year +solaryear year +lunaryear 12 lunarmonth + +/ misc +sigma microsec + +/ +/ Frequency + +hertz /sec +Hz hertz +hz /sec +khz 1e+3 /sec +mhz 1e+6 /sec +rpm rev/minute +rps rev/sec + +fresnel 1e12 hertz +pulsatance 2 pi/sec -/ Mass +/ +/ Mass and weight gram millikg +gramme gram gm gram mg milligram metricton kilokg +tonne 1e+6 gm + +atomicmassunit 1.66044e-27 kg fuzz +amu atomicmassunit +dalton amu + +electronmass 9.1095e-31 kg +protonmass 1.6726e-27 kg +neutronmass 1.6606e-27 kg + +carat 205 mg +metriccarat 200 mg +quintal 100 kg -/ Avoirdupois +/ Avoirdupois weight lb .45359237 kg pound lb -lbf lb g ounce 1|16 lb oz ounce dram 1|16 oz dr dram grain 1|7000 lb gr grain +stone 14 lb shortton 2000 lb ton shortton longton 2240 lb -/ Apothecary +bag 94 lb +cental 100 lb +longhundredweight 112 lb +longquarter 28 lb +pennyweight 1|20 oz +pwt pennyweight +shorthundredweight 100 lb +shortquarter 25 lb +weymass 252 lb + +/ Related mass units +/ +/ According to Wikipedia there are two definitions for hyl, one using +/ grams and one using kilograms. beware + +hyl gm force sec2/m +slug lb-g-sec2/ft + +/ Apothecary weight scruple 20 grain apdram 60 grain +drachm 60 grain apounce 480 grain appound 5760 grain troypound appound troyounce 1|12 troypound +/ Thai weight + +salueng 3.75 gm +baht 4 salueng +tamlueng 4 baht +chang 20 tamlueng +hap 50 chang + +/ / Length +/ SI unit meter m +metre meter + +/ special-case abbreviations cm centimeter mm millimeter km kilometer nm nanometer -micron micrometer + +/ other metric units angstrom decinanometer +fermi 1e-1
CVS commit: src/usr.bin/units
Module Name:src Committed By: dholland Date: Mon Oct 24 04:55:19 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Reorganize units.lib. It's all very well to file miscellaneous old units under "trivia" but it's more useful to sort first by type and then by creakiness. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/units/units.lib Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/common
Module Name:src Committed By: dholland Date: Wed Sep 21 07:15:24 UTC 2022 Modified Files: src/sys/compat/common: compat_50_quota.c Log Message: compat_50_quota: reject invalid quota id types. Reported-by: syzbot+ce8391eb74a16e196...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/compat_50_quota.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/compat/common/compat_50_quota.c diff -u src/sys/compat/common/compat_50_quota.c:1.3 src/sys/compat/common/compat_50_quota.c:1.4 --- src/sys/compat/common/compat_50_quota.c:1.3 Mon Mar 9 00:42:36 2020 +++ src/sys/compat/common/compat_50_quota.c Wed Sep 21 07:15:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_50_quota.c,v 1.3 2020/03/09 00:42:36 pgoyette Exp $ */ +/* $NetBSD: compat_50_quota.c,v 1.4 2022/09/21 07:15:24 dholland Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: compat_50_quota.c,v 1.3 2020/03/09 00:42:36 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: compat_50_quota.c,v 1.4 2022/09/21 07:15:24 dholland Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -83,6 +83,9 @@ compat_50_sys_quotactl(struct lwp *l, co mp = vp->v_mount; q1cmd = SCARG(uap, cmd); idtype = quota_idtype_from_ufs(q1cmd & SUBCMDMASK); + if (idtype == -1) { + return EINVAL; + } switch ((q1cmd & ~SUBCMDMASK) >> SUBCMDSHIFT) { case Q_QUOTAON:
CVS commit: src/sys/compat/common
Module Name:src Committed By: dholland Date: Wed Sep 21 07:15:24 UTC 2022 Modified Files: src/sys/compat/common: compat_50_quota.c Log Message: compat_50_quota: reject invalid quota id types. Reported-by: syzbot+ce8391eb74a16e196...@syzkaller.appspotmail.com To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/compat_50_quota.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Fri Sep 9 19:37:15 UTC 2022 Modified Files: src/games/fortune/datfiles: fortunes Log Message: fortunes: add something To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/datfiles/fortunes diff -u src/games/fortune/datfiles/fortunes:1.98 src/games/fortune/datfiles/fortunes:1.99 --- src/games/fortune/datfiles/fortunes:1.98 Fri Aug 26 20:07:04 2022 +++ src/games/fortune/datfiles/fortunes Fri Sep 9 19:37:15 2022 @@ -16311,3 +16311,5 @@ Thereisnospacebar. metropole, n.: The axis on which the subway turns. % Dryads are usually lucky. It's well known that fortune favors the boled. +% +Responsible wizards always run their scrolls past a spell-checker.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Fri Sep 9 19:37:15 UTC 2022 Modified Files: src/games/fortune/datfiles: fortunes Log Message: fortunes: add something To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: dholland Date: Sat Aug 27 21:53:39 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/doc: 3RDPARTY src/external/bsd: Makefile Added Files: src/external/bsd/tradcpp: Makefile README src/external/bsd/tradcpp/usr.bin: Makefile Log Message: Attach tradcpp to the build. To generate a diff of this commit: cvs rdiff -u -r1.1311 -r1.1312 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.1753 -r1.1754 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.1871 -r1.1872 src/doc/3RDPARTY cvs rdiff -u -r1.75 -r1.76 src/external/bsd/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/tradcpp/Makefile \ src/external/bsd/tradcpp/README cvs rdiff -u -r0 -r1.1 src/external/bsd/tradcpp/usr.bin/Makefile 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/mi diff -u src/distrib/sets/lists/base/mi:1.1311 src/distrib/sets/lists/base/mi:1.1312 --- src/distrib/sets/lists/base/mi:1.1311 Wed Aug 17 14:03:05 2022 +++ src/distrib/sets/lists/base/mi Sat Aug 27 21:53:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1311 2022/08/17 14:03:05 kre Exp $ +# $NetBSD: mi,v 1.1312 2022/08/27 21:53:38 dholland Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -881,6 +881,7 @@ ./usr/bin/tpm_versionbase-tpm-bin tpm ./usr/bin/tput base-util-bin ./usr/bin/tr base-util-bin +./usr/bin/tradcppbase-util-bin ./usr/bin/true base-util-bin ./usr/bin/tset base-util-bin ./usr/bin/tty base-util-bin Index: src/distrib/sets/lists/man/mi diff -u src/distrib/sets/lists/man/mi:1.1753 src/distrib/sets/lists/man/mi:1.1754 --- src/distrib/sets/lists/man/mi:1.1753 Fri Aug 12 11:15:40 2022 +++ src/distrib/sets/lists/man/mi Sat Aug 27 21:53:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1753 2022/08/12 11:15:40 riastradh Exp $ +# $NetBSD: mi,v 1.1754 2022/08/27 21:53:38 dholland Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -594,6 +594,7 @@ ./usr/share/man/cat1/tpm_version.0 man-tpm-catman tpm,.cat ./usr/share/man/cat1/tput.0 man-util-catman .cat ./usr/share/man/cat1/tr.0 man-util-catman .cat +./usr/share/man/cat1/tradcpp.0 man-util-catman .cat ./usr/share/man/cat1/true.0 man-util-catman .cat ./usr/share/man/cat1/tset.0 man-util-catman .cat ./usr/share/man/cat1/tty.0 man-util-catman .cat @@ -3920,6 +3921,7 @@ ./usr/share/man/html1/tpm_version.html man-tpm-htmlman tpm,html ./usr/share/man/html1/tput.html man-util-htmlman html ./usr/share/man/html1/tr.html man-util-htmlman html +./usr/share/man/html1/tradcpp.html man-util-htmlman html ./usr/share/man/html1/true.html man-util-htmlman html ./usr/share/man/html1/tset.html man-util-htmlman html ./usr/share/man/html1/tty.html man-util-htmlman html @@ -6900,6 +6902,7 @@ ./usr/share/man/man1/tpm_version.1 man-tpm-man tpm,.man ./usr/share/man/man1/tput.1 man-util-man .man ./usr/share/man/man1/tr.1 man-util-man .man +./usr/share/man/man1/tradcpp.1 man-util-man .man ./usr/share/man/man1/true.1 man-util-man .man ./usr/share/man/man1/tset.1 man-util-man .man ./usr/share/man/man1/tty.1 man-util-man .man Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.1871 src/doc/3RDPARTY:1.1872 --- src/doc/3RDPARTY:1.1871 Sat Aug 27 14:07:26 2022 +++ src/doc/3RDPARTY Sat Aug 27 21:53:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.1871 2022/08/27 14:07:26 christos Exp $ +# $NetBSD: 3RDPARTY,v 1.1872 2022/08/27 21:53:38 dholland Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -1409,6 +1409,18 @@ Location: usr.sbin/traceroute Notes: Added changes from a5 -> a12 manually. +Package: tradcpp +Version: 0.5.3 +Current Vers: 0.5.3 +Maintainer: David A. Holland +Archive Site: https://ftp.netbsd.org/pub/NetBSD/misc/dholland/ +Home Page: https://www.netbsd.org/~dholland/tradcpp/ +Mailing List: tech-toolchain +Responsible: dholland +License: BSD (2-clause) +Location: external/bsd/tradcpp +Notes: + Package: tz Version: tzcode2022c / tzdata2022bgtz (tzdata2022c) Current Vers: tzcode2022c / tzdata2022c Index: src/external/bsd/Makefile diff -u src/external/bsd/Makefile:1.75 src/external/bsd/Makefile:1.76 --- src/external/bsd/Makefile:1.75 Mon Jun 6 10:56:28 2022 +++ src/external/bsd/Makefile Sat Aug 27 21:53:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2022/06/06 10:56:28 nia Exp $ +# $NetBSD: Makefile,v 1.76 2022/08/27 21:53:38 dholland Exp $ .include @@ -44,6 +44,6 @@ SUBDIR+= librtld_db SUBDIR+= unbound .endif -SUBDIR+= blocklist pdisk nvi ppp libnv +SUBDIR+= blocklist pdisk nvi ppp libnv tradcpp .include Added files: Index: src/external/bsd/tradcpp/Makefi
CVS commit: src
Module Name:src Committed By: dholland Date: Sat Aug 27 21:53:39 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/doc: 3RDPARTY src/external/bsd: Makefile Added Files: src/external/bsd/tradcpp: Makefile README src/external/bsd/tradcpp/usr.bin: Makefile Log Message: Attach tradcpp to the build. To generate a diff of this commit: cvs rdiff -u -r1.1311 -r1.1312 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.1753 -r1.1754 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.1871 -r1.1872 src/doc/3RDPARTY cvs rdiff -u -r1.75 -r1.76 src/external/bsd/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/tradcpp/Makefile \ src/external/bsd/tradcpp/README cvs rdiff -u -r0 -r1.1 src/external/bsd/tradcpp/usr.bin/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/external/bsd/tradcpp/dist
Module Name:src Committed By: dholland Date: Sat Aug 27 21:46:47 UTC 2022 Update of /cvsroot/src/external/bsd/tradcpp/dist In directory ivanova.netbsd.org:/tmp/cvs-serv24782 Log Message: Import tradcpp 0.5.3 Status: Vendor Tag: TRADCPP Release Tags: TRADCPP-0-5-3 N src/external/bsd/tradcpp/dist/.hg_archival.txt N src/external/bsd/tradcpp/dist/.hgtags N src/external/bsd/tradcpp/dist/CHANGES N src/external/bsd/tradcpp/dist/Makefile N src/external/bsd/tradcpp/dist/TODO N src/external/bsd/tradcpp/dist/array.c N src/external/bsd/tradcpp/dist/array.h N src/external/bsd/tradcpp/dist/bool.h N src/external/bsd/tradcpp/dist/config.h N src/external/bsd/tradcpp/dist/directive.c N src/external/bsd/tradcpp/dist/directive.h N src/external/bsd/tradcpp/dist/eval.c N src/external/bsd/tradcpp/dist/eval.h N src/external/bsd/tradcpp/dist/files.c N src/external/bsd/tradcpp/dist/files.h N src/external/bsd/tradcpp/dist/inlinedefs.h N src/external/bsd/tradcpp/dist/macro.c N src/external/bsd/tradcpp/dist/macro.h N src/external/bsd/tradcpp/dist/main.c N src/external/bsd/tradcpp/dist/mode.h N src/external/bsd/tradcpp/dist/output.c N src/external/bsd/tradcpp/dist/output.h N src/external/bsd/tradcpp/dist/place.c N src/external/bsd/tradcpp/dist/place.h N src/external/bsd/tradcpp/dist/tradcpp.1 N src/external/bsd/tradcpp/dist/union.h N src/external/bsd/tradcpp/dist/utils.c N src/external/bsd/tradcpp/dist/utils.h N src/external/bsd/tradcpp/dist/version.h N src/external/bsd/tradcpp/dist/tests/Makefile N src/external/bsd/tradcpp/dist/tests/t01.c N src/external/bsd/tradcpp/dist/tests/t01.good N src/external/bsd/tradcpp/dist/tests/t02.c N src/external/bsd/tradcpp/dist/tests/t02.good N src/external/bsd/tradcpp/dist/tests/t03.c N src/external/bsd/tradcpp/dist/tests/t03.good N src/external/bsd/tradcpp/dist/tests/t04.c N src/external/bsd/tradcpp/dist/tests/t04.good N src/external/bsd/tradcpp/dist/tests/t05.c N src/external/bsd/tradcpp/dist/tests/t05.good N src/external/bsd/tradcpp/dist/tests/t06.c N src/external/bsd/tradcpp/dist/tests/t06.good N src/external/bsd/tradcpp/dist/tests/t07.c N src/external/bsd/tradcpp/dist/tests/t07.good N src/external/bsd/tradcpp/dist/tests/t08.c N src/external/bsd/tradcpp/dist/tests/t08.good N src/external/bsd/tradcpp/dist/tests/t09.c N src/external/bsd/tradcpp/dist/tests/t09.good N src/external/bsd/tradcpp/dist/tests/t10.c N src/external/bsd/tradcpp/dist/tests/t10.good N src/external/bsd/tradcpp/dist/tests/t11.c N src/external/bsd/tradcpp/dist/tests/t11.good N src/external/bsd/tradcpp/dist/tests/t12.c N src/external/bsd/tradcpp/dist/tests/t12.good N src/external/bsd/tradcpp/dist/tests/t13.c N src/external/bsd/tradcpp/dist/tests/t13.good N src/external/bsd/tradcpp/dist/tests/t14.c N src/external/bsd/tradcpp/dist/tests/t14.good N src/external/bsd/tradcpp/dist/tests/t15.c N src/external/bsd/tradcpp/dist/tests/t15.good N src/external/bsd/tradcpp/dist/tests/t16.c N src/external/bsd/tradcpp/dist/tests/t16.good N src/external/bsd/tradcpp/dist/tests/t17.c N src/external/bsd/tradcpp/dist/tests/t17.good N src/external/bsd/tradcpp/dist/tests/t18.c N src/external/bsd/tradcpp/dist/tests/t18.good N src/external/bsd/tradcpp/dist/tests/t19.c N src/external/bsd/tradcpp/dist/tests/t19.good N src/external/bsd/tradcpp/dist/tests/t20.c N src/external/bsd/tradcpp/dist/tests/t20.good N src/external/bsd/tradcpp/dist/tests/t21.c N src/external/bsd/tradcpp/dist/tests/t21.good N src/external/bsd/tradcpp/dist/tests/t22.c N src/external/bsd/tradcpp/dist/tests/t22.good N src/external/bsd/tradcpp/dist/tests/t23.c N src/external/bsd/tradcpp/dist/tests/t23.good N src/external/bsd/tradcpp/dist/tests/t24.c N src/external/bsd/tradcpp/dist/tests/t24.good N src/external/bsd/tradcpp/dist/tests/t25.c N src/external/bsd/tradcpp/dist/tests/t25.good N src/external/bsd/tradcpp/dist/tests/t26.c N src/external/bsd/tradcpp/dist/tests/t26.good N src/external/bsd/tradcpp/dist/tests/t27.c N src/external/bsd/tradcpp/dist/tests/t27.good N src/external/bsd/tradcpp/dist/tests/t28.c N src/external/bsd/tradcpp/dist/tests/t28.good N src/external/bsd/tradcpp/dist/tests/t29.c N src/external/bsd/tradcpp/dist/tests/t29.good N src/external/bsd/tradcpp/dist/tests/t30.c N src/external/bsd/tradcpp/dist/tests/t30.good N src/external/bsd/tradcpp/dist/tests/t31.c N src/external/bsd/tradcpp/dist/tests/t31.good N src/external/bsd/tradcpp/dist/tests/t32.c N src/external/bsd/tradcpp/dist/tests/t32.good N src/external/bsd/tradcpp/dist/tests/t33.c N src/external/bsd/tradcpp/dist/tests/t33.good N src/external/bsd/tradcpp/dist/tests/t34.c N src/external/bsd/tradcpp/dist/tests/t34.good N src/external/bsd/tradcpp/dist/tests/t35.c N src/external/bsd/tradcpp/dist/tests/t35.good N src/external/bsd/tradcpp/dist/tests/t36.c N src/external/bsd/tradcpp/dist/tests/t36.good N src/external/bsd/tradcpp/dist/tests/t37.c N src/external/bsd/tradcpp/dist/tests/t37.good N src/external/bsd/tradcpp/dist/tests/t38.c N src/external/bsd/tradcpp/dist/tests/t38.good N src
CVS import: src/external/bsd/tradcpp/dist
Module Name:src Committed By: dholland Date: Sat Aug 27 21:46:47 UTC 2022 Update of /cvsroot/src/external/bsd/tradcpp/dist In directory ivanova.netbsd.org:/tmp/cvs-serv24782 Log Message: Import tradcpp 0.5.3 Status: Vendor Tag: TRADCPP Release Tags: TRADCPP-0-5-3 N src/external/bsd/tradcpp/dist/.hg_archival.txt N src/external/bsd/tradcpp/dist/.hgtags N src/external/bsd/tradcpp/dist/CHANGES N src/external/bsd/tradcpp/dist/Makefile N src/external/bsd/tradcpp/dist/TODO N src/external/bsd/tradcpp/dist/array.c N src/external/bsd/tradcpp/dist/array.h N src/external/bsd/tradcpp/dist/bool.h N src/external/bsd/tradcpp/dist/config.h N src/external/bsd/tradcpp/dist/directive.c N src/external/bsd/tradcpp/dist/directive.h N src/external/bsd/tradcpp/dist/eval.c N src/external/bsd/tradcpp/dist/eval.h N src/external/bsd/tradcpp/dist/files.c N src/external/bsd/tradcpp/dist/files.h N src/external/bsd/tradcpp/dist/inlinedefs.h N src/external/bsd/tradcpp/dist/macro.c N src/external/bsd/tradcpp/dist/macro.h N src/external/bsd/tradcpp/dist/main.c N src/external/bsd/tradcpp/dist/mode.h N src/external/bsd/tradcpp/dist/output.c N src/external/bsd/tradcpp/dist/output.h N src/external/bsd/tradcpp/dist/place.c N src/external/bsd/tradcpp/dist/place.h N src/external/bsd/tradcpp/dist/tradcpp.1 N src/external/bsd/tradcpp/dist/union.h N src/external/bsd/tradcpp/dist/utils.c N src/external/bsd/tradcpp/dist/utils.h N src/external/bsd/tradcpp/dist/version.h N src/external/bsd/tradcpp/dist/tests/Makefile N src/external/bsd/tradcpp/dist/tests/t01.c N src/external/bsd/tradcpp/dist/tests/t01.good N src/external/bsd/tradcpp/dist/tests/t02.c N src/external/bsd/tradcpp/dist/tests/t02.good N src/external/bsd/tradcpp/dist/tests/t03.c N src/external/bsd/tradcpp/dist/tests/t03.good N src/external/bsd/tradcpp/dist/tests/t04.c N src/external/bsd/tradcpp/dist/tests/t04.good N src/external/bsd/tradcpp/dist/tests/t05.c N src/external/bsd/tradcpp/dist/tests/t05.good N src/external/bsd/tradcpp/dist/tests/t06.c N src/external/bsd/tradcpp/dist/tests/t06.good N src/external/bsd/tradcpp/dist/tests/t07.c N src/external/bsd/tradcpp/dist/tests/t07.good N src/external/bsd/tradcpp/dist/tests/t08.c N src/external/bsd/tradcpp/dist/tests/t08.good N src/external/bsd/tradcpp/dist/tests/t09.c N src/external/bsd/tradcpp/dist/tests/t09.good N src/external/bsd/tradcpp/dist/tests/t10.c N src/external/bsd/tradcpp/dist/tests/t10.good N src/external/bsd/tradcpp/dist/tests/t11.c N src/external/bsd/tradcpp/dist/tests/t11.good N src/external/bsd/tradcpp/dist/tests/t12.c N src/external/bsd/tradcpp/dist/tests/t12.good N src/external/bsd/tradcpp/dist/tests/t13.c N src/external/bsd/tradcpp/dist/tests/t13.good N src/external/bsd/tradcpp/dist/tests/t14.c N src/external/bsd/tradcpp/dist/tests/t14.good N src/external/bsd/tradcpp/dist/tests/t15.c N src/external/bsd/tradcpp/dist/tests/t15.good N src/external/bsd/tradcpp/dist/tests/t16.c N src/external/bsd/tradcpp/dist/tests/t16.good N src/external/bsd/tradcpp/dist/tests/t17.c N src/external/bsd/tradcpp/dist/tests/t17.good N src/external/bsd/tradcpp/dist/tests/t18.c N src/external/bsd/tradcpp/dist/tests/t18.good N src/external/bsd/tradcpp/dist/tests/t19.c N src/external/bsd/tradcpp/dist/tests/t19.good N src/external/bsd/tradcpp/dist/tests/t20.c N src/external/bsd/tradcpp/dist/tests/t20.good N src/external/bsd/tradcpp/dist/tests/t21.c N src/external/bsd/tradcpp/dist/tests/t21.good N src/external/bsd/tradcpp/dist/tests/t22.c N src/external/bsd/tradcpp/dist/tests/t22.good N src/external/bsd/tradcpp/dist/tests/t23.c N src/external/bsd/tradcpp/dist/tests/t23.good N src/external/bsd/tradcpp/dist/tests/t24.c N src/external/bsd/tradcpp/dist/tests/t24.good N src/external/bsd/tradcpp/dist/tests/t25.c N src/external/bsd/tradcpp/dist/tests/t25.good N src/external/bsd/tradcpp/dist/tests/t26.c N src/external/bsd/tradcpp/dist/tests/t26.good N src/external/bsd/tradcpp/dist/tests/t27.c N src/external/bsd/tradcpp/dist/tests/t27.good N src/external/bsd/tradcpp/dist/tests/t28.c N src/external/bsd/tradcpp/dist/tests/t28.good N src/external/bsd/tradcpp/dist/tests/t29.c N src/external/bsd/tradcpp/dist/tests/t29.good N src/external/bsd/tradcpp/dist/tests/t30.c N src/external/bsd/tradcpp/dist/tests/t30.good N src/external/bsd/tradcpp/dist/tests/t31.c N src/external/bsd/tradcpp/dist/tests/t31.good N src/external/bsd/tradcpp/dist/tests/t32.c N src/external/bsd/tradcpp/dist/tests/t32.good N src/external/bsd/tradcpp/dist/tests/t33.c N src/external/bsd/tradcpp/dist/tests/t33.good N src/external/bsd/tradcpp/dist/tests/t34.c N src/external/bsd/tradcpp/dist/tests/t34.good N src/external/bsd/tradcpp/dist/tests/t35.c N src/external/bsd/tradcpp/dist/tests/t35.good N src/external/bsd/tradcpp/dist/tests/t36.c N src/external/bsd/tradcpp/dist/tests/t36.good N src/external/bsd/tradcpp/dist/tests/t37.c N src/external/bsd/tradcpp/dist/tests/t37.good N src/external/bsd/tradcpp/dist/tests/t38.c N src/external/bsd/tradcpp/dist/tests/t38.good N src
CVS import: external/bsd/tradcpp/dist
Module Name:external Committed By: dholland Date: Sat Aug 27 21:44:10 UTC 2022 Update of /cvsroot/external/bsd/tradcpp/dist In directory ivanova.netbsd.org:/tmp/cvs-serv4832 Log Message: Import tradcpp 0.5.3 Status: Vendor Tag: TRADCPP Release Tags: TRADCPP-0-5-3 N external/bsd/tradcpp/dist/.hg_archival.txt N external/bsd/tradcpp/dist/.hgtags N external/bsd/tradcpp/dist/CHANGES N external/bsd/tradcpp/dist/Makefile N external/bsd/tradcpp/dist/TODO N external/bsd/tradcpp/dist/array.c N external/bsd/tradcpp/dist/array.h N external/bsd/tradcpp/dist/bool.h N external/bsd/tradcpp/dist/config.h N external/bsd/tradcpp/dist/directive.c N external/bsd/tradcpp/dist/directive.h N external/bsd/tradcpp/dist/eval.c N external/bsd/tradcpp/dist/eval.h N external/bsd/tradcpp/dist/files.c N external/bsd/tradcpp/dist/files.h N external/bsd/tradcpp/dist/inlinedefs.h N external/bsd/tradcpp/dist/macro.c N external/bsd/tradcpp/dist/macro.h N external/bsd/tradcpp/dist/main.c N external/bsd/tradcpp/dist/mode.h N external/bsd/tradcpp/dist/output.c N external/bsd/tradcpp/dist/output.h N external/bsd/tradcpp/dist/place.c N external/bsd/tradcpp/dist/place.h N external/bsd/tradcpp/dist/tradcpp.1 N external/bsd/tradcpp/dist/union.h N external/bsd/tradcpp/dist/utils.c N external/bsd/tradcpp/dist/utils.h N external/bsd/tradcpp/dist/version.h N external/bsd/tradcpp/dist/tests/Makefile N external/bsd/tradcpp/dist/tests/t01.c N external/bsd/tradcpp/dist/tests/t01.good N external/bsd/tradcpp/dist/tests/t02.c N external/bsd/tradcpp/dist/tests/t02.good N external/bsd/tradcpp/dist/tests/t03.c N external/bsd/tradcpp/dist/tests/t03.good N external/bsd/tradcpp/dist/tests/t04.c N external/bsd/tradcpp/dist/tests/t04.good N external/bsd/tradcpp/dist/tests/t05.c N external/bsd/tradcpp/dist/tests/t05.good N external/bsd/tradcpp/dist/tests/t06.c N external/bsd/tradcpp/dist/tests/t06.good N external/bsd/tradcpp/dist/tests/t07.c N external/bsd/tradcpp/dist/tests/t07.good N external/bsd/tradcpp/dist/tests/t08.c N external/bsd/tradcpp/dist/tests/t08.good N external/bsd/tradcpp/dist/tests/t09.c N external/bsd/tradcpp/dist/tests/t09.good N external/bsd/tradcpp/dist/tests/t10.c N external/bsd/tradcpp/dist/tests/t10.good N external/bsd/tradcpp/dist/tests/t11.c N external/bsd/tradcpp/dist/tests/t11.good N external/bsd/tradcpp/dist/tests/t12.c N external/bsd/tradcpp/dist/tests/t12.good N external/bsd/tradcpp/dist/tests/t13.c N external/bsd/tradcpp/dist/tests/t13.good N external/bsd/tradcpp/dist/tests/t14.c N external/bsd/tradcpp/dist/tests/t14.good N external/bsd/tradcpp/dist/tests/t15.c N external/bsd/tradcpp/dist/tests/t15.good N external/bsd/tradcpp/dist/tests/t16.c N external/bsd/tradcpp/dist/tests/t16.good N external/bsd/tradcpp/dist/tests/t17.c N external/bsd/tradcpp/dist/tests/t17.good N external/bsd/tradcpp/dist/tests/t18.c N external/bsd/tradcpp/dist/tests/t18.good N external/bsd/tradcpp/dist/tests/t19.c N external/bsd/tradcpp/dist/tests/t19.good N external/bsd/tradcpp/dist/tests/t20.c N external/bsd/tradcpp/dist/tests/t20.good N external/bsd/tradcpp/dist/tests/t21.c N external/bsd/tradcpp/dist/tests/t21.good N external/bsd/tradcpp/dist/tests/t22.c N external/bsd/tradcpp/dist/tests/t22.good N external/bsd/tradcpp/dist/tests/t23.c N external/bsd/tradcpp/dist/tests/t23.good N external/bsd/tradcpp/dist/tests/t24.c N external/bsd/tradcpp/dist/tests/t24.good N external/bsd/tradcpp/dist/tests/t25.c N external/bsd/tradcpp/dist/tests/t25.good N external/bsd/tradcpp/dist/tests/t26.c N external/bsd/tradcpp/dist/tests/t26.good N external/bsd/tradcpp/dist/tests/t27.c N external/bsd/tradcpp/dist/tests/t27.good N external/bsd/tradcpp/dist/tests/t28.c N external/bsd/tradcpp/dist/tests/t28.good N external/bsd/tradcpp/dist/tests/t29.c N external/bsd/tradcpp/dist/tests/t29.good N external/bsd/tradcpp/dist/tests/t30.c N external/bsd/tradcpp/dist/tests/t30.good N external/bsd/tradcpp/dist/tests/t31.c N external/bsd/tradcpp/dist/tests/t31.good N external/bsd/tradcpp/dist/tests/t32.c N external/bsd/tradcpp/dist/tests/t32.good N external/bsd/tradcpp/dist/tests/t33.c N external/bsd/tradcpp/dist/tests/t33.good N external/bsd/tradcpp/dist/tests/t34.c N external/bsd/tradcpp/dist/tests/t34.good N external/bsd/tradcpp/dist/tests/t35.c N external/bsd/tradcpp/dist/tests/t35.good N external/bsd/tradcpp/dist/tests/t36.c N external/bsd/tradcpp/dist/tests/t36.good N external/bsd/tradcpp/dist/tests/t37.c N external/bsd/tradcpp/dist/tests/t37.good N external/bsd/tradcpp/dist/tests/t38.c N external/bsd/tradcpp/dist/tests/t38.good N external/bsd/tradcpp/dist/tests/t39.c N external/bsd/tradcpp/dist/tests/t39.good N external/bsd/tradcpp/dist/tests/t40.c N external/bsd/tradcpp/dist/tests/t40.good N external/bsd/tradcpp/dist/tests/tradcpp.sh N external/bsd/tradcpp/dist/tests/subdir/test.h No conflicts created by this import
CVS import: external/bsd/tradcpp/dist
Module Name:external Committed By: dholland Date: Sat Aug 27 21:44:10 UTC 2022 Update of /cvsroot/external/bsd/tradcpp/dist In directory ivanova.netbsd.org:/tmp/cvs-serv4832 Log Message: Import tradcpp 0.5.3 Status: Vendor Tag: TRADCPP Release Tags: TRADCPP-0-5-3 N external/bsd/tradcpp/dist/.hg_archival.txt N external/bsd/tradcpp/dist/.hgtags N external/bsd/tradcpp/dist/CHANGES N external/bsd/tradcpp/dist/Makefile N external/bsd/tradcpp/dist/TODO N external/bsd/tradcpp/dist/array.c N external/bsd/tradcpp/dist/array.h N external/bsd/tradcpp/dist/bool.h N external/bsd/tradcpp/dist/config.h N external/bsd/tradcpp/dist/directive.c N external/bsd/tradcpp/dist/directive.h N external/bsd/tradcpp/dist/eval.c N external/bsd/tradcpp/dist/eval.h N external/bsd/tradcpp/dist/files.c N external/bsd/tradcpp/dist/files.h N external/bsd/tradcpp/dist/inlinedefs.h N external/bsd/tradcpp/dist/macro.c N external/bsd/tradcpp/dist/macro.h N external/bsd/tradcpp/dist/main.c N external/bsd/tradcpp/dist/mode.h N external/bsd/tradcpp/dist/output.c N external/bsd/tradcpp/dist/output.h N external/bsd/tradcpp/dist/place.c N external/bsd/tradcpp/dist/place.h N external/bsd/tradcpp/dist/tradcpp.1 N external/bsd/tradcpp/dist/union.h N external/bsd/tradcpp/dist/utils.c N external/bsd/tradcpp/dist/utils.h N external/bsd/tradcpp/dist/version.h N external/bsd/tradcpp/dist/tests/Makefile N external/bsd/tradcpp/dist/tests/t01.c N external/bsd/tradcpp/dist/tests/t01.good N external/bsd/tradcpp/dist/tests/t02.c N external/bsd/tradcpp/dist/tests/t02.good N external/bsd/tradcpp/dist/tests/t03.c N external/bsd/tradcpp/dist/tests/t03.good N external/bsd/tradcpp/dist/tests/t04.c N external/bsd/tradcpp/dist/tests/t04.good N external/bsd/tradcpp/dist/tests/t05.c N external/bsd/tradcpp/dist/tests/t05.good N external/bsd/tradcpp/dist/tests/t06.c N external/bsd/tradcpp/dist/tests/t06.good N external/bsd/tradcpp/dist/tests/t07.c N external/bsd/tradcpp/dist/tests/t07.good N external/bsd/tradcpp/dist/tests/t08.c N external/bsd/tradcpp/dist/tests/t08.good N external/bsd/tradcpp/dist/tests/t09.c N external/bsd/tradcpp/dist/tests/t09.good N external/bsd/tradcpp/dist/tests/t10.c N external/bsd/tradcpp/dist/tests/t10.good N external/bsd/tradcpp/dist/tests/t11.c N external/bsd/tradcpp/dist/tests/t11.good N external/bsd/tradcpp/dist/tests/t12.c N external/bsd/tradcpp/dist/tests/t12.good N external/bsd/tradcpp/dist/tests/t13.c N external/bsd/tradcpp/dist/tests/t13.good N external/bsd/tradcpp/dist/tests/t14.c N external/bsd/tradcpp/dist/tests/t14.good N external/bsd/tradcpp/dist/tests/t15.c N external/bsd/tradcpp/dist/tests/t15.good N external/bsd/tradcpp/dist/tests/t16.c N external/bsd/tradcpp/dist/tests/t16.good N external/bsd/tradcpp/dist/tests/t17.c N external/bsd/tradcpp/dist/tests/t17.good N external/bsd/tradcpp/dist/tests/t18.c N external/bsd/tradcpp/dist/tests/t18.good N external/bsd/tradcpp/dist/tests/t19.c N external/bsd/tradcpp/dist/tests/t19.good N external/bsd/tradcpp/dist/tests/t20.c N external/bsd/tradcpp/dist/tests/t20.good N external/bsd/tradcpp/dist/tests/t21.c N external/bsd/tradcpp/dist/tests/t21.good N external/bsd/tradcpp/dist/tests/t22.c N external/bsd/tradcpp/dist/tests/t22.good N external/bsd/tradcpp/dist/tests/t23.c N external/bsd/tradcpp/dist/tests/t23.good N external/bsd/tradcpp/dist/tests/t24.c N external/bsd/tradcpp/dist/tests/t24.good N external/bsd/tradcpp/dist/tests/t25.c N external/bsd/tradcpp/dist/tests/t25.good N external/bsd/tradcpp/dist/tests/t26.c N external/bsd/tradcpp/dist/tests/t26.good N external/bsd/tradcpp/dist/tests/t27.c N external/bsd/tradcpp/dist/tests/t27.good N external/bsd/tradcpp/dist/tests/t28.c N external/bsd/tradcpp/dist/tests/t28.good N external/bsd/tradcpp/dist/tests/t29.c N external/bsd/tradcpp/dist/tests/t29.good N external/bsd/tradcpp/dist/tests/t30.c N external/bsd/tradcpp/dist/tests/t30.good N external/bsd/tradcpp/dist/tests/t31.c N external/bsd/tradcpp/dist/tests/t31.good N external/bsd/tradcpp/dist/tests/t32.c N external/bsd/tradcpp/dist/tests/t32.good N external/bsd/tradcpp/dist/tests/t33.c N external/bsd/tradcpp/dist/tests/t33.good N external/bsd/tradcpp/dist/tests/t34.c N external/bsd/tradcpp/dist/tests/t34.good N external/bsd/tradcpp/dist/tests/t35.c N external/bsd/tradcpp/dist/tests/t35.good N external/bsd/tradcpp/dist/tests/t36.c N external/bsd/tradcpp/dist/tests/t36.good N external/bsd/tradcpp/dist/tests/t37.c N external/bsd/tradcpp/dist/tests/t37.good N external/bsd/tradcpp/dist/tests/t38.c N external/bsd/tradcpp/dist/tests/t38.good N external/bsd/tradcpp/dist/tests/t39.c N external/bsd/tradcpp/dist/tests/t39.good N external/bsd/tradcpp/dist/tests/t40.c N external/bsd/tradcpp/dist/tests/t40.good N external/bsd/tradcpp/dist/tests/tradcpp.sh N external/bsd/tradcpp/dist/tests/subdir/test.h No conflicts created by this import
CVS commit: src/bin/test
Module Name:src Committed By: dholland Date: Sat Aug 27 21:18:39 UTC 2022 Modified Files: src/bin/test: test.c Log Message: PR 56983 Izumi Tsutsui: fix confusing message in test(1) with -DSMALL To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/bin/test/test.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/test/test.c diff -u src/bin/test/test.c:1.44 src/bin/test/test.c:1.45 --- src/bin/test/test.c:1.44 Sun Dec 5 04:42:55 2021 +++ src/bin/test/test.c Sat Aug 27 21:18:39 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: test.c,v 1.44 2021/12/05 04:42:55 msaitoh Exp $ */ +/* $NetBSD: test.c,v 1.45 2022/08/27 21:18:39 dholland Exp $ */ /* * test(1); version 7-like -- author Erik Baalbergen @@ -12,7 +12,7 @@ #include #ifndef lint -__RCSID("$NetBSD: test.c,v 1.44 2021/12/05 04:42:55 msaitoh Exp $"); +__RCSID("$NetBSD: test.c,v 1.45 2022/08/27 21:18:39 dholland Exp $"); #endif #include @@ -306,7 +306,7 @@ main(int argc, char *argv[]) */ #ifdef SMALL - error("SMALL test, no fallback usage"); + error("unsupported expression when built with -DSMALL"); #else t_wp = &argv[1];
CVS commit: src/bin/test
Module Name:src Committed By: dholland Date: Sat Aug 27 21:18:39 UTC 2022 Modified Files: src/bin/test: test.c Log Message: PR 56983 Izumi Tsutsui: fix confusing message in test(1) with -DSMALL To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/bin/test/test.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Fri Aug 26 20:07:04 UTC 2022 Modified Files: src/games/fortune/datfiles: fortunes Log Message: fortunes: add something To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/datfiles/fortunes diff -u src/games/fortune/datfiles/fortunes:1.97 src/games/fortune/datfiles/fortunes:1.98 --- src/games/fortune/datfiles/fortunes:1.97 Sun Jul 11 00:35:05 2021 +++ src/games/fortune/datfiles/fortunes Fri Aug 26 20:07:04 2022 @@ -16309,3 +16309,5 @@ Iamonthemoonandthereisnowheretogetabeer. Thereisnospacebar. % metropole, n.: The axis on which the subway turns. +% +Dryads are usually lucky. It's well known that fortune favors the boled.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Fri Aug 26 20:07:04 UTC 2022 Modified Files: src/games/fortune/datfiles: fortunes Log Message: fortunes: add something To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/libexec/telnetd
Module Name:src Committed By: dholland Date: Fri Aug 26 19:30:44 UTC 2022 Modified Files: src/libexec/telnetd: telnetd.c Log Message: telnetd: fix the crash that's been talked about the past couple days. (Move initialization of the slc table earlier so it doesn't get accessed before that happens.) Calling the crash a DoS or security problem is a bit overwrought; it's just a bug. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/libexec/telnetd/telnetd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/telnetd/telnetd.c diff -u src/libexec/telnetd/telnetd.c:1.57 src/libexec/telnetd/telnetd.c:1.58 --- src/libexec/telnetd/telnetd.c:1.57 Wed Dec 8 20:21:09 2021 +++ src/libexec/telnetd/telnetd.c Fri Aug 26 19:30:44 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: telnetd.c,v 1.57 2021/12/08 20:21:09 andvar Exp $ */ +/* $NetBSD: telnetd.c,v 1.58 2022/08/26 19:30:44 dholland Exp $ */ /* * Copyright (C) 1997 and 1998 WIDE Project. @@ -65,7 +65,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95"; #else -__RCSID("$NetBSD: telnetd.c,v 1.57 2021/12/08 20:21:09 andvar Exp $"); +__RCSID("$NetBSD: telnetd.c,v 1.58 2022/08/26 19:30:44 dholland Exp $"); #endif #endif /* not lint */ @@ -678,6 +678,11 @@ doit(struct sockaddr *who) char user_name[256]; /* + * Initialize the slc mapping table. + */ + get_slc_defaults(); + + /* * Find an available pty to use. */ pty = getpty(&ptynum); @@ -744,11 +749,6 @@ telnet(int f, int p) struct pollfd set[2]; /* - * Initialize the slc mapping table. - */ - get_slc_defaults(); - - /* * Do some tests where it is desirable to wait for a response. * Rather than doing them slowly, one at a time, do them all * at once.
CVS commit: src/libexec/telnetd
Module Name:src Committed By: dholland Date: Fri Aug 26 19:30:44 UTC 2022 Modified Files: src/libexec/telnetd: telnetd.c Log Message: telnetd: fix the crash that's been talked about the past couple days. (Move initialization of the slc table earlier so it doesn't get accessed before that happens.) Calling the crash a DoS or security problem is a bit overwrought; it's just a bug. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/libexec/telnetd/telnetd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/inetd
Module Name:src Committed By: dholland Date: Wed Aug 10 03:35:39 UTC 2022 Modified Files: src/usr.sbin/inetd: Makefile inetd.c parse.c Log Message: PR bin/56963 Mark Davies: inetd not configured for rpc Instead of using negative flags to turn on positive flags, set -DRPC in the makefile. Corrects a problem where the SunRPC code in parse.c was accidentally left disabled. This is a prime example of why we don't like negative flags... To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/inetd/Makefile cvs rdiff -u -r1.139 -r1.140 src/usr.sbin/inetd/inetd.c cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/inetd/parse.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.sbin/inetd/Makefile diff -u src/usr.sbin/inetd/Makefile:1.30 src/usr.sbin/inetd/Makefile:1.31 --- src/usr.sbin/inetd/Makefile:1.30 Tue Oct 12 19:08:04 2021 +++ src/usr.sbin/inetd/Makefile Wed Aug 10 03:35:38 2022 @@ -1,5 +1,5 @@ # from: @(#)Makefile 8.1 (Berkeley) 6/6/93 -# $NetBSD: Makefile,v 1.30 2021/10/12 19:08:04 christos Exp $ +# $NetBSD: Makefile,v 1.31 2022/08/10 03:35:38 dholland Exp $ .include @@ -15,6 +15,9 @@ WARNS= 6 # Enables debug printouts when in debug mode CPPFLAGS+=-DDEBUG_ENABLE +# Enables SunRPC support +CPPFLAGS+=-DRPC + CPPFLAGS+=-DLIBWRAP # Use LIBWRAP_INTERNAL for libwrap checking of inetd's `internal' services. #CPPFLAGS+=-DLIBWRAP_INTERNAL Index: src/usr.sbin/inetd/inetd.c diff -u src/usr.sbin/inetd/inetd.c:1.139 src/usr.sbin/inetd/inetd.c:1.140 --- src/usr.sbin/inetd/inetd.c:1.139 Sun Oct 17 04:14:49 2021 +++ src/usr.sbin/inetd/inetd.c Wed Aug 10 03:35:38 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: inetd.c,v 1.139 2021/10/17 04:14:49 ryo Exp $ */ +/* $NetBSD: inetd.c,v 1.140 2022/08/10 03:35:38 dholland Exp $ */ /*- * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19 #if 0 static char sccsid[] = "@(#)inetd.c 8.4 (Berkeley) 4/13/94"; #else -__RCSID("$NetBSD: inetd.c,v 1.139 2021/10/17 04:14:49 ryo Exp $"); +__RCSID("$NetBSD: inetd.c,v 1.140 2022/08/10 03:35:38 dholland Exp $"); #endif #endif /* not lint */ @@ -193,11 +193,6 @@ __RCSID("$NetBSD: inetd.c,v 1.139 2021/1 #include #include - -#ifndef NO_RPC -#define RPC -#endif - #include #ifdef RPC Index: src/usr.sbin/inetd/parse.c diff -u src/usr.sbin/inetd/parse.c:1.3 src/usr.sbin/inetd/parse.c:1.4 --- src/usr.sbin/inetd/parse.c:1.3 Sun May 22 11:27:37 2022 +++ src/usr.sbin/inetd/parse.c Wed Aug 10 03:35:38 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.3 2022/05/22 11:27:37 andvar Exp $ */ +/* $NetBSD: parse.c,v 1.4 2022/08/10 03:35:38 dholland Exp $ */ /*- * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ #if 0 static char sccsid[] = "@(#)inetd.c 8.4 (Berkeley) 4/13/94"; #else -__RCSID("$NetBSD: parse.c,v 1.3 2022/05/22 11:27:37 andvar Exp $"); +__RCSID("$NetBSD: parse.c,v 1.4 2022/08/10 03:35:38 dholland Exp $"); #endif #endif /* not lint */ @@ -91,6 +91,10 @@ __RCSID("$NetBSD: parse.c,v 1.3 2022/05/ #include #include +#ifdef RPC +#include +#endif + #include "inetd.h" static void config(void); @@ -321,7 +325,7 @@ config(void) if (sep->se_fd != -1) register_rpc(sep); } else -#endif +#endif /* RPC */ { if (sep->se_fd >= 0) close_sep(sep);
CVS commit: src/usr.sbin/inetd
Module Name:src Committed By: dholland Date: Wed Aug 10 03:35:39 UTC 2022 Modified Files: src/usr.sbin/inetd: Makefile inetd.c parse.c Log Message: PR bin/56963 Mark Davies: inetd not configured for rpc Instead of using negative flags to turn on positive flags, set -DRPC in the makefile. Corrects a problem where the SunRPC code in parse.c was accidentally left disabled. This is a prime example of why we don't like negative flags... To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/inetd/Makefile cvs rdiff -u -r1.139 -r1.140 src/usr.sbin/inetd/inetd.c cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/inetd/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Sun Jul 31 06:21:42 UTC 2022 Modified Files: src/lib/libc/sys: __quotactl.2 Log Message: __quotactl(2): typo. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/sys/__quotactl.2 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/sys/__quotactl.2 diff -u src/lib/libc/sys/__quotactl.2:1.3 src/lib/libc/sys/__quotactl.2:1.4 --- src/lib/libc/sys/__quotactl.2:1.3 Mon Feb 13 19:50:15 2012 +++ src/lib/libc/sys/__quotactl.2 Sun Jul 31 06:21:41 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: __quotactl.2,v 1.3 2012/02/13 19:50:15 dholland Exp $ +.\" $NetBSD: __quotactl.2,v 1.4 2022/07/31 06:21:41 dholland Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -275,7 +275,7 @@ for more information. Normally quotaon 8 is run during the boot sequence after -quotacheck 8 . +.Xr quotacheck 8 . Also see .Xr quota_quotaon 3 . .\"
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Sun Jul 31 06:21:42 UTC 2022 Modified Files: src/lib/libc/sys: __quotactl.2 Log Message: __quotactl(2): typo. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/sys/__quotactl.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/fsck_ffs
Module Name:src Committed By: dholland Date: Mon Jul 25 05:15:08 UTC 2022 Modified Files: src/sbin/fsck_ffs: wapbl.c Log Message: Fix misleading fsck_ffs messages about wapbl journal replay. Apparently fsck doesn't have a way to replay it to its internal memory only. (Someone(TM) should implement this...) This means that if you use -n, it can't replay the journal. But the sequence of prints is such that it looks like it did. This is quite misleading. Add an additional specific warning. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sbin/fsck_ffs/wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsck_ffs/wapbl.c diff -u src/sbin/fsck_ffs/wapbl.c:1.5 src/sbin/fsck_ffs/wapbl.c:1.6 --- src/sbin/fsck_ffs/wapbl.c:1.5 Sat Mar 6 11:31:40 2010 +++ src/sbin/fsck_ffs/wapbl.c Mon Jul 25 05:15:08 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: wapbl.c,v 1.5 2010/03/06 11:31:40 mlelstv Exp $ */ +/* $NetBSD: wapbl.c,v 1.6 2022/07/25 05:15:08 dholland Exp $ */ /*- * Copyright (c) 2005,2008 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #define WAPBL_INTERNAL #include -__KERNEL_RCSID(0, "$NetBSD: wapbl.c,v 1.5 2010/03/06 11:31:40 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wapbl.c,v 1.6 2022/07/25 05:15:08 dholland Exp $"); #include #include @@ -92,7 +92,16 @@ replay_wapbl(void) { int error; - if (!nflag) { + if (nflag) { + /* + * XXX: we ought to have a mode where we can replay + * the journal to memory, similar to what happens in + * the kernel with a readonly mount. For now though + * just print that we aren't doing it so as to avoid + * lying to the user. + */ + pwarn("CANNOT REPLAY JOURNAL IN -n MODE; continuing anyway\n"); + } else { error = wapbl_replay_write(wapbl_replay, 0); if (error) { pfatal("UNABLE TO REPLAY JOURNAL BLOCKS");
CVS commit: src/sbin/fsck_ffs
Module Name:src Committed By: dholland Date: Mon Jul 25 05:15:08 UTC 2022 Modified Files: src/sbin/fsck_ffs: wapbl.c Log Message: Fix misleading fsck_ffs messages about wapbl journal replay. Apparently fsck doesn't have a way to replay it to its internal memory only. (Someone(TM) should implement this...) This means that if you use -n, it can't replay the journal. But the sequence of prints is such that it looks like it did. This is quite misleading. Add an additional specific warning. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sbin/fsck_ffs/wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/uvm
Module Name:src Committed By: dholland Date: Fri Jun 3 00:21:44 UTC 2022 Modified Files: src/sys/uvm: uvm_fault.c Log Message: typo in comment To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/uvm/uvm_fault.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/uvm/uvm_fault.c diff -u src/sys/uvm/uvm_fault.c:1.229 src/sys/uvm/uvm_fault.c:1.230 --- src/sys/uvm/uvm_fault.c:1.229 Sun Dec 5 07:28:20 2021 +++ src/sys/uvm/uvm_fault.c Fri Jun 3 00:21:44 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_fault.c,v 1.229 2021/12/05 07:28:20 msaitoh Exp $ */ +/* $NetBSD: uvm_fault.c,v 1.230 2022/06/03 00:21:44 dholland Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.229 2021/12/05 07:28:20 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.230 2022/06/03 00:21:44 dholland Exp $"); #include "opt_uvmhist.h" @@ -752,7 +752,7 @@ struct uvm_faultctx { struct vm_anon *anon_spare; /* - * the folloing is actually a uvm_fault_lower() internal. + * the following is actually a uvm_fault_lower() internal. * it's here merely for debugging. * (or due to the mechanical separation of the function?) */
CVS commit: src/sys/uvm
Module Name:src Committed By: dholland Date: Fri Jun 3 00:21:44 UTC 2022 Modified Files: src/sys/uvm: uvm_fault.c Log Message: typo in comment To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/uvm/uvm_fault.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Sat May 21 01:38:14 UTC 2022 Modified Files: src/lib/libc/sys: sigaction.2 Log Message: fix typo in sigaction(2) To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libc/sys/sigaction.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Sat May 21 01:38:14 UTC 2022 Modified Files: src/lib/libc/sys: sigaction.2 Log Message: fix typo in sigaction(2) To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libc/sys/sigaction.2 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/sys/sigaction.2 diff -u src/lib/libc/sys/sigaction.2:1.51 src/lib/libc/sys/sigaction.2:1.52 --- src/lib/libc/sys/sigaction.2:1.51 Tue May 22 05:39:44 2018 +++ src/lib/libc/sys/sigaction.2 Sat May 21 01:38:14 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: sigaction.2,v 1.51 2018/05/22 05:39:44 wiz Exp $ +.\" $NetBSD: sigaction.2,v 1.52 2022/05/21 01:38:14 dholland Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -287,7 +287,7 @@ flag in .Xr termios 4 . .El .Pp -If the signal handler is called due to signal delively resulting from reasons +If the signal handler is called due to signal delivery resulting from reasons other than direct calls to .Xr kill 2 or
CVS commit: src/bin/stty
Module Name:src Committed By: dholland Date: Sat May 14 21:04:34 UTC 2022 Modified Files: src/bin/stty: stty.1 Log Message: Clarify that "stty 0" will normally hang up the tty. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/stty/stty.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/stty
Module Name:src Committed By: dholland Date: Sat May 14 21:04:34 UTC 2022 Modified Files: src/bin/stty: stty.1 Log Message: Clarify that "stty 0" will normally hang up the tty. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/stty/stty.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/stty/stty.1 diff -u src/bin/stty/stty.1:1.45 src/bin/stty/stty.1:1.46 --- src/bin/stty/stty.1:1.45 Mon Oct 30 15:38:52 2017 +++ src/bin/stty/stty.1 Sat May 14 21:04:34 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: stty.1,v 1.45 2017/10/30 15:38:52 wiz Exp $ +.\" $NetBSD: stty.1,v 1.46 2022/05/14 21:04:34 dholland Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)stty.1 8.5 (Berkeley) 6/1/94 .\" -.Dd August 15, 2016 +.Dd May 14, 2022 .Dt STTY 1 .Os .Sh NAME @@ -114,7 +114,8 @@ if possible. If the baud rate is set to zero, modem control is no longer -asserted. +asserted; this will normally hang up the line, including on ptys and +other devices not physically connected to modems. .It Cm ispeed Ar number Set terminal input baud rate to .Ar number ,
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Wed Mar 16 00:50:41 UTC 2022 Modified Files: src/lib/libc/sys: setpgid.2 Log Message: setpgid.2: Mention that both child and parent need to call it. Absence of this standard info was noticed by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/setpgid.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: dholland Date: Wed Mar 16 00:50:41 UTC 2022 Modified Files: src/lib/libc/sys: setpgid.2 Log Message: setpgid.2: Mention that both child and parent need to call it. Absence of this standard info was noticed by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/setpgid.2 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/sys/setpgid.2 diff -u src/lib/libc/sys/setpgid.2:1.23 src/lib/libc/sys/setpgid.2:1.24 --- src/lib/libc/sys/setpgid.2:1.23 Fri Sep 19 16:02:58 2014 +++ src/lib/libc/sys/setpgid.2 Wed Mar 16 00:50:40 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: setpgid.2,v 1.23 2014/09/19 16:02:58 wiz Exp $ +.\" $NetBSD: setpgid.2,v 1.24 2022/03/16 00:50:40 dholland Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)setpgid.2 8.1 (Berkeley) 6/4/93 .\" -.Dd December 18, 2003 +.Dd March 15, 2022 .Dt SETPGID 2 .Os .Sh NAME @@ -62,6 +62,14 @@ is used instead. If the invoker is not the super-user, then the affected process must have the same effective user-id as the invoker or be a descendant of the invoking process. +.Pp +In general to set the process group of a newly forked subprocess, both +the child and parent processes should call +.Fn setpgid +to ensure that the process group change takes effect in a timely +fashion. +One call will succeed and the other will fail, depending on process +scheduling. .Sh RETURN VALUES .Fn setpgid returns 0 when the operation was successful.
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Wed Mar 16 00:01:03 UTC 2022 Modified Files: src/share/dict: web2 Log Message: web2: +enqueue To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Wed Mar 16 00:01:03 UTC 2022 Modified Files: src/share/dict: web2 Log Message: web2: +enqueue To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/dict/web2 diff -u src/share/dict/web2:1.56 src/share/dict/web2:1.57 --- src/share/dict/web2:1.56 Fri Jan 21 08:58:10 2022 +++ src/share/dict/web2 Wed Mar 16 00:01:03 2022 @@ -62554,6 +62554,7 @@ enouncement enow enphytotic enplane +enqueue enquicken enquire enquirer
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Fri Jan 21 08:58:10 UTC 2022 Modified Files: src/share/dict: web2 Log Message: +aioli To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/dict/web2 diff -u src/share/dict/web2:1.55 src/share/dict/web2:1.56 --- src/share/dict/web2:1.55 Sun Dec 12 22:58:35 2021 +++ src/share/dict/web2 Fri Jan 21 08:58:10 2022 @@ -4384,6 +4384,7 @@ ainoi ainsell aint Ainu +aioli aion aionial air
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Fri Jan 21 08:58:10 UTC 2022 Modified Files: src/share/dict: web2 Log Message: +aioli To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Sun Dec 12 22:58:36 UTC 2021 Modified Files: src/share/dict: web2 Log Message: Add a bunch of missing food items. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/dict/web2 diff -u src/share/dict/web2:1.54 src/share/dict/web2:1.55 --- src/share/dict/web2:1.54 Thu Jul 16 03:08:58 2020 +++ src/share/dict/web2 Sun Dec 12 22:58:35 2021 @@ -13018,6 +13018,7 @@ Areopagitic Areopagitica Areopagus areotectonics +arepa areroscope aretaics arete @@ -18407,6 +18408,7 @@ banyan Banyoro Banyuls banzai +bao baobab bap Baphia @@ -34669,6 +34671,7 @@ chimerical chimerically chimericalness chimesmaster +chimichanga chiminage Chimmesyan chimney @@ -70796,6 +70799,7 @@ flauntiness flaunting flauntingly flaunty +flauta flautino flautist flavanilin @@ -78390,6 +78394,7 @@ gnetaceous Gnetales Gnetum gnocchetti +gnocchi gnome gnomed gnomesque @@ -102084,6 +102089,7 @@ kimberlin kimberlite Kimberly Kimbundu +kimchi Kimeridgian kimigayo Kimmo @@ -102883,6 +102889,7 @@ Koreshanity kori korimako korin +korma Kornephorus kornerupine kornskeppa @@ -118038,6 +118045,7 @@ Moeritheriidae Moeritherium mofette moff +mofongo mofussil mofussilite mog @@ -124534,6 +124542,7 @@ nightwards nightwear nightwork nightworker +nigiri nignay nignye nigori @@ -138129,6 +138138,7 @@ pandy pane panecclesiastical paned +paneer panegoism panegoist panegyric @@ -146606,6 +146616,7 @@ pierine Pieris pierless pierlike +pierogi Pierre Pierrot pierrot @@ -170250,6 +170261,7 @@ riskproof risky risorial risorius +risotto risp risper risque @@ -172056,6 +172068,7 @@ s sa saa Saad +saag Saan Saarbrucken sab @@ -180929,6 +180942,7 @@ Shulamite shuler shulwaurs shumac +shumai shun Shunammite shune @@ -195706,6 +195720,7 @@ susceptivity susceptor suscitate suscitation +sushi susi Susian Susianian @@ -197455,6 +197470,7 @@ tacky taclocus tacmahack tacnode +taco Taconian Taconic taconite @@ -199801,6 +199817,7 @@ temnospondylous temp Tempe Tempean +tempeh temper tempera temperability @@ -228884,6 +228901,7 @@ vincular vinculate vinculation vinculum +vindaloo Vindelici vindemial vindemiate
CVS commit: src/share/dict
Module Name:src Committed By: dholland Date: Sun Dec 12 22:58:36 UTC 2021 Modified Files: src/share/dict: web2 Log Message: Add a bunch of missing food items. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/share/dict/web2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/patch
Module Name:src Committed By: dholland Date: Mon Sep 20 23:22:36 UTC 2021 Modified Files: src/usr.bin/patch: patch.c Log Message: Fix the message that appears if you patch -R an unapplied patch. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/patch/patch.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/patch/patch.c diff -u src/usr.bin/patch/patch.c:1.32 src/usr.bin/patch/patch.c:1.33 --- src/usr.bin/patch/patch.c:1.32 Tue May 25 11:25:59 2021 +++ src/usr.bin/patch/patch.c Mon Sep 20 23:22:36 2021 @@ -1,7 +1,7 @@ /* * $OpenBSD: patch.c,v 1.45 2007/04/18 21:52:24 sobrado Exp $ * $DragonFly: src/usr.bin/patch/patch.c,v 1.10 2008/08/10 23:39:56 joerg Exp $ - * $NetBSD: patch.c,v 1.32 2021/05/25 11:25:59 cjep Exp $ + * $NetBSD: patch.c,v 1.33 2021/09/20 23:22:36 dholland Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__RCSID("$NetBSD: patch.c,v 1.32 2021/05/25 11:25:59 cjep Exp $"); +__RCSID("$NetBSD: patch.c,v 1.33 2021/09/20 23:22:36 dholland Exp $"); #include #include @@ -284,12 +284,14 @@ main(int argc, char *argv[]) skip_rest_of_patch = true; } else if (batch) { if (verbose) -say("%seversed (or previously applied) patch detected! %s -R.", +say("%seversed (or %spreviously applied) patch detected! %s -R.", reverse ? "R" : "Unr", +reverse ? "" : "not ", reverse ? "Assuming" : "Ignoring"); } else { - ask("%seversed (or previously applied) patch detected! %s -R? [y] ", + ask("%seversed (or %spreviously applied) patch detected! %s -R? [y] ", reverse ? "R" : "Unr", + reverse ? "" : "not ", reverse ? "Assume" : "Ignore"); if (*buf == 'n') { ask("Apply anyway? [n] ");
CVS commit: src/usr.bin/patch
Module Name:src Committed By: dholland Date: Mon Sep 20 23:22:36 UTC 2021 Modified Files: src/usr.bin/patch: patch.c Log Message: Fix the message that appears if you patch -R an unapplied patch. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/patch/patch.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/openldap/lib/libldap
Module Name:src Committed By: dholland Date: Mon Sep 13 01:12:36 UTC 2021 Modified Files: src/external/bsd/openldap/lib/libldap: Makefile.libldap Log Message: Fix broken build with MKKERBEROS=no To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/external/bsd/openldap/lib/libldap/Makefile.libldap 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/openldap/lib/libldap/Makefile.libldap diff -u src/external/bsd/openldap/lib/libldap/Makefile.libldap:1.12 src/external/bsd/openldap/lib/libldap/Makefile.libldap:1.13 --- src/external/bsd/openldap/lib/libldap/Makefile.libldap:1.12 Sun Aug 15 10:33:58 2021 +++ src/external/bsd/openldap/lib/libldap/Makefile.libldap Mon Sep 13 01:12:36 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.libldap,v 1.12 2021/08/15 10:33:58 christos Exp $ +# $NetBSD: Makefile.libldap,v 1.13 2021/09/13 01:12:36 dholland Exp $ .include "../../openldap.mk" @@ -20,7 +20,7 @@ SRCS+= bind.c open.c result.c error.c c SRCS+= tls2.c tls_o.c tls_g.c -CPPFLAGS+= -DLDAP_LIBRARY -DHAVE_GSSAPI +CPPFLAGS+= -DLDAP_LIBRARY LIBDPLIBS+= lber ${.CURDIR}/../liblber
CVS commit: src/external/bsd/openldap/lib/libldap
Module Name:src Committed By: dholland Date: Mon Sep 13 01:12:36 UTC 2021 Modified Files: src/external/bsd/openldap/lib/libldap: Makefile.libldap Log Message: Fix broken build with MKKERBEROS=no To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/external/bsd/openldap/lib/libldap/Makefile.libldap Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/testcompat
Module Name:othersrc Committed By: dholland Date: Tue Oct 15 08:36:34 UTC 2019 Modified Files: othersrc/external/bsd/testcompat/parser: lexer.mll parser.mly othersrc/external/bsd/testcompat/support: pos.ml Log Message: Improve this to use ocamlyacc's internal position tracking. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/testcompat/parser/lexer.mll \ othersrc/external/bsd/testcompat/parser/parser.mly cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/testcompat/support/pos.ml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: othersrc/external/bsd/testcompat
Module Name:othersrc Committed By: dholland Date: Tue Oct 15 08:36:34 UTC 2019 Modified Files: othersrc/external/bsd/testcompat/parser: lexer.mll parser.mly othersrc/external/bsd/testcompat/support: pos.ml Log Message: Improve this to use ocamlyacc's internal position tracking. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/testcompat/parser/lexer.mll \ othersrc/external/bsd/testcompat/parser/parser.mly cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/testcompat/support/pos.ml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: othersrc/external/bsd/testcompat/parser/lexer.mll diff -u othersrc/external/bsd/testcompat/parser/lexer.mll:1.1 othersrc/external/bsd/testcompat/parser/lexer.mll:1.2 --- othersrc/external/bsd/testcompat/parser/lexer.mll:1.1 Thu Dec 7 05:55:36 2017 +++ othersrc/external/bsd/testcompat/parser/lexer.mll Tue Oct 15 08:36:34 2019 @@ -57,15 +57,16 @@ let pos lexbuf = advance lexbuf; ret -let posval' lexbuf f = - let x = f (Lexing.lexeme lexbuf) in - { pos = (pos lexbuf); x; } +let tval' lexbuf f = + advance lexbuf; + f (Lexing.lexeme lexbuf) + +let tval lexbuf = + advance lexbuf; + Lexing.lexeme lexbuf let posval lexbuf = - posval' lexbuf (fun x -> x) - -let text lexbuf = - (posval lexbuf).x + (pos lexbuf, Lexing.lexeme lexbuf) (* string accumulation buffer *) @@ -79,56 +80,53 @@ let addstring s = let addchar c = addstring (String.make 1 c) let getstring () = - let s = Buffer.contents !stringdata in - let p0 = !stringstart in - { pos = p0; x = s; } + Buffer.contents !stringdata (* identifiers and keywords *) let keywords = Types.stringmap_of_list [ - (* bloody ocaml, you can't partially apply data constructors *) - ("abi", (fun pos -> ABI pos)); - ("add", (fun pos -> ADD pos)); - ("allocate", (fun pos -> ALLOCATE pos)); - ("arg", (fun pos -> ARG pos)); - ("asm", (fun pos -> ASM pos)); - ("attributes", (fun pos -> ATTRIBUTES pos)); - ("calltable", (fun pos -> CALLTABLE pos)); - ("concretize", (fun pos -> CONCRETIZE pos)); - ("const", (fun pos -> CONST pos)); - ("enum", (fun pos -> ENUM pos)); - ("field", (fun pos -> FIELD pos)); - ("flag", (fun pos -> FLAG pos)); - ("flagword", (fun pos -> FLAGWORD pos)); - ("for", (fun pos -> FOR pos)); - ("in", (fun pos -> IN pos)); - ("match", (fun pos -> MATCH pos)); - ("out", (fun pos -> OUT pos)); - ("place", (fun pos -> PLACE pos)); - ("pointer", (fun pos -> POINTER pos)); - ("register", (fun pos -> REGISTER pos)); - ("ret", (fun pos -> RET pos)); - ("set", (fun pos -> SET pos)); - ("specialize", (fun pos -> SPECIALIZE pos)); - ("stack", (fun pos -> STACK pos)); - ("struct", (fun pos -> STRUCT pos)); - ("syscall", (fun pos -> SYSCALL pos)); - ("syscallframe", (fun pos -> SYSCALLFRAME pos)); - ("test", (fun pos -> TEST pos)); - ("type", (fun pos -> TYPE pos)); - ("var", (fun pos -> VAR pos)); + ("abi", ABI); + ("add", ADD); + ("allocate", ALLOCATE); + ("arg", ARG); + ("asm", ASM); + ("attributes", ATTRIBUTES); + ("calltable", CALLTABLE); + ("concretize", CONCRETIZE); + ("const", CONST); + ("enum", ENUM); + ("field", FIELD); + ("flag", FLAG); + ("flagword", FLAGWORD); + ("for", FOR); + ("in", IN); + ("match", MATCH); + ("out", OUT); + ("place", PLACE); + ("pointer", POINTER); + ("register", REGISTER); + ("ret", RET); + ("set", SET); + ("specialize", SPECIALIZE); + ("stack", STACK); + ("struct", STRUCT); + ("syscall", SYSCALL); + ("syscallframe", SYSCALLFRAME); + ("test", TEST); + ("type", TYPE); + ("var", VAR); ] -let doident tval = +let doident x = try - (Types.StringMap.find tval.x keywords) tval.pos + Types.StringMap.find x keywords with Not_found -> - IDENT tval + IDENT x (* for invalid input *) -let badchar tval = - let postxt = Pos.string_of_pos tval.pos in - Util.say (postxt ^ ": Invalid input character " ^ tval.x); +let badchar (pos, x) = + let postxt = Pos.string_of_pos pos in + Util.say (postxt ^ ": Invalid input character " ^ x); Util.fail () let badstring pos = @@ -153,28 +151,28 @@ rule base = parse ws+ { advance lexbuf; base lexbuf } | '\n' { nl (); base lexbuf } | '#' { comment lexbuf; base lexbuf } - | digit alnum* { NUMBER (posval' lexbuf int_of_string) } + | digit alnum* { NUMBER (tval' lexbuf int_of_string) } | '"' { startstring lexbuf; strconst lexbuf } - | letter alnum* { doident (posval lexbuf) } - | '-' '>' { RARROW (pos lexbuf) } - | '&' { AMP (pos lexbuf) } - | ':' { COLON (pos lexbuf) } - | ',' { COMMA (pos lexbuf) } - | '=' { EQ (pos lexbuf) } - | '+' { PLUS (pos lexbuf) } - | ';' { SEMIC (pos lexbuf) } - | '*' { STAR (pos lexbuf) } - | '(' { LPAREN (pos lexbuf) } - | ')' { RPAREN (pos
CVS commit: src/lib/libisns
Module Name:src Committed By: dholland Date: Wed Jul 3 18:40:33 UTC 2019 Modified Files: src/lib/libisns: isns_thread.c Log Message: Fix up mangled logic, hopefully. PR 54323 from David Binderman. XXX: This code is pretty dodgy in general and would benefit from a XXX: workover by someone who knows what it's supposed to be doing. XXX: E.g. it appears that a read error will cause an infinite loop... To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/lib/libisns/isns_thread.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/libisns/isns_thread.c diff -u src/lib/libisns/isns_thread.c:1.1.1.1 src/lib/libisns/isns_thread.c:1.2 --- src/lib/libisns/isns_thread.c:1.1.1.1 Sun Jan 16 01:22:50 2011 +++ src/lib/libisns/isns_thread.c Wed Jul 3 18:40:33 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: isns_thread.c,v 1.1.1.1 2011/01/16 01:22:50 agc Exp $ */ +/* $NetBSD: isns_thread.c,v 1.2 2019/07/03 18:40:33 dholland Exp $ */ /*- * Copyright (c) 2004,2009 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__RCSID("$NetBSD: isns_thread.c,v 1.1.1.1 2011/01/16 01:22:50 agc Exp $"); +__RCSID("$NetBSD: isns_thread.c,v 1.2 2019/07/03 18:40:33 dholland Exp $"); /* @@ -152,12 +152,16 @@ isns_kevent_pipe(struct kevent* evt_p, s DBG("isns_kevent_pipe: ISNS_CMD_ABORT_TRANS\n"); rbytes = read(cfg_p->pipe_fds[0], &trans_id, sizeof(trans_id)); - if ((rbytes < 0) && (rbytes == sizeof(trans_id))) -isns_abort_trans(cfg_p, trans_id); - else + if (rbytes < 0) DBG("isns_kevent_pipe: " "error reading trans id\n"); - pipe_nbytes -= (int)rbytes; + else if (rbytes != sizeof(trans_id)) +DBG("isns_kevent_pipe: " +"short read reading trans id\n"); + else { +isns_abort_trans(cfg_p, trans_id); +pipe_nbytes -= (int)rbytes; + } break; case ISNS_CMD_STOP:
CVS commit: src/lib/libisns
Module Name:src Committed By: dholland Date: Wed Jul 3 18:40:33 UTC 2019 Modified Files: src/lib/libisns: isns_thread.c Log Message: Fix up mangled logic, hopefully. PR 54323 from David Binderman. XXX: This code is pretty dodgy in general and would benefit from a XXX: workover by someone who knows what it's supposed to be doing. XXX: E.g. it appears that a read error will cause an infinite loop... To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/lib/libisns/isns_thread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/sunos
Module Name:src Committed By: dholland Date: Wed Jul 3 18:24:50 UTC 2019 Modified Files: src/sys/compat/sunos: sunos_misc.c Log Message: Stack buffers mustn't escape their scope. PR 54326 from David Binderman To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/compat/sunos/sunos_misc.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/compat/sunos/sunos_misc.c diff -u src/sys/compat/sunos/sunos_misc.c:1.172 src/sys/compat/sunos/sunos_misc.c:1.173 --- src/sys/compat/sunos/sunos_misc.c:1.172 Mon Sep 3 16:29:30 2018 +++ src/sys/compat/sunos/sunos_misc.c Wed Jul 3 18:24:50 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: sunos_misc.c,v 1.172 2018/09/03 16:29:30 riastradh Exp $ */ +/* $NetBSD: sunos_misc.c,v 1.173 2019/07/03 18:24:50 dholland Exp $ */ /* * Copyright (c) 1992, 1993 @@ -50,7 +50,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.172 2018/09/03 16:29:30 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.173 2019/07/03 18:24:50 dholland Exp $"); #include #include @@ -1013,6 +1013,7 @@ sunos_sys_reboot(struct lwp *l, const st struct sunos_howto_conv *convp; int error, bsd_howto, sun_howto; char *bootstr; + char bs[128]; if ((error = kauth_authorize_system(l->l_cred, KAUTH_SYSTEM_REBOOT, 0, NULL, NULL, NULL)) != 0) @@ -1036,8 +1037,6 @@ sunos_sys_reboot(struct lwp *l, const st * next booted kernel. */ if (sun_howto & SUNOS_RB_STRING) { - char bs[128]; - error = copyinstr(SCARG(uap, bootstr), bs, sizeof(bs), 0); if (error)
CVS commit: src/sys/compat/sunos
Module Name:src Committed By: dholland Date: Wed Jul 3 18:24:50 UTC 2019 Modified Files: src/sys/compat/sunos: sunos_misc.c Log Message: Stack buffers mustn't escape their scope. PR 54326 from David Binderman To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/compat/sunos/sunos_misc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/ufs/ufs
Module Name:src Committed By: dholland Date: Mon Jul 1 00:57:06 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Lay down some comments related to the previous few revisions of ufs_vnops.c. To generate a diff of this commit: cvs rdiff -u -r1.246 -r1.247 src/sys/ufs/ufs/ufs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/ufs/ufs
Module Name:src Committed By: dholland Date: Mon Jul 1 00:57:06 UTC 2019 Modified Files: src/sys/ufs/ufs: ufs_vnops.c Log Message: Lay down some comments related to the previous few revisions of ufs_vnops.c. To generate a diff of this commit: cvs rdiff -u -r1.246 -r1.247 src/sys/ufs/ufs/ufs_vnops.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/ufs/ufs/ufs_vnops.c diff -u src/sys/ufs/ufs/ufs_vnops.c:1.246 src/sys/ufs/ufs/ufs_vnops.c:1.247 --- src/sys/ufs/ufs/ufs_vnops.c:1.246 Mon Feb 25 06:00:40 2019 +++ src/sys/ufs/ufs/ufs_vnops.c Mon Jul 1 00:57:06 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ufs_vnops.c,v 1.246 2019/02/25 06:00:40 dholland Exp $ */ +/* $NetBSD: ufs_vnops.c,v 1.247 2019/07/01 00:57:06 dholland Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.246 2019/02/25 06:00:40 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.247 2019/07/01 00:57:06 dholland Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -1257,7 +1257,12 @@ ufs_readdir(void *v) KASSERT(VOP_ISLOCKED(vp)); - /* figure out where we want to read */ + /* + * Figure out where the user wants us to read and how much. + * + * XXX: there should probably be an upper bound on callerbytes + * to avoid silliness trying to do large kernel allocations. + */ callerbytes = calleruio->uio_resid; startoffset = calleruio->uio_offset; endoffset = startoffset + callerbytes; @@ -1267,7 +1272,39 @@ ufs_readdir(void *v) return EINVAL; } - /* round start and end down to block boundaries */ + /* + * Now figure out where to actually start reading. Round the + * start down to a block boundary: we need to start at the + * beginning of a block in order to read the directory + * correctly. + * + * We also want to always read a whole number of blocks so + * that the copying code below doesn't have to worry about + * partial entries. (It used to try at one point, and was a + * horrible mess.) + * + * Furthermore, since blocks have to be scanned from the + * beginning, if we go partially into another block now we'll + * just have to rescan it on the next readdir call, which + * doesn't really serve any useful purpose. + * + * So, round down the end as well. It's ok to underpopulate + * the transfer buffer, as long as we send back at least one + * dirent so as to avoid giving a bogus EOF indication. + * + * Note that because dirents are larger than ffs struct + * directs, despite the rounding down we may not be able to + * send all the entries in the blocks we read and may have to + * rescan some of them on the next call anyway. Alternatively + * if there's empty space on disk we might have actually been + * able to fit the next block in, and so forth. None of this + * actually matters that much in practice. + * + * XXX: what does ffs do if a directory block becomes + * completely empty, and what happens if all the blocks we + * read are completely empty even though we aren't at EOF? As + * of this writing I (dholland) can't remember the details. + */ physstart = rounddown2(startoffset, ump->um_dirblksiz); physend = rounddown2(endoffset, ump->um_dirblksiz); @@ -1276,10 +1313,42 @@ ufs_readdir(void *v) return EINVAL; } + /* + * skipstart is the number of bytes we need to read in + * (because we need to start at the beginning of a block) but + * not transfer to the user. + * + * dropend is the number of bytes to ignore at the end of the + * user's buffer. + */ skipstart = startoffset - physstart; dropend = endoffset - physend; - /* how much to actually read */ + /* + * Make a transfer buffer. + * + * Note: rawbufmax = physend - physstart. Proof: + * + * physend - physstart = physend - physstart + * = physend - physstart + startoffset - startoffset + * = physend + (startoffset - physstart) - startoffset + * = physend + skipstart - startoffset + * = physend + skipstart - startoffset + endoffset - endoffset + * = skipstart - startoffset + endoffset - (endoffset - physend) + * = skipstart - startoffset + endoffset - dropend + * = skipstart - startoffset + (startoffset + callerbytes) - dropend + * = skipstart + callerbytes - dropend + * = rawbufmax + * Qed. + * + * XXX: this should just use physend - physstart. + * + * XXX: this should be rewritten to read the directs straight + * out of bufferio buffers instead of copying twice. This would + * also let us adapt better to the user's buffer size. + */ + + /* Base buffer space for CALLERBYTES of new data */ rawbufmax = callerbytes + skipstart; if (rawbufmax < callerbytes) return EINVAL;
CVS commit: src/sys/kern
Module Name:src Committed By: dholland Date: Sun May 26 19:23:04 UTC 2019 Modified Files: src/sys/kern: kern_acct.c Log Message: fix flatly wrong indent To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/kern/kern_acct.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/kern/kern_acct.c diff -u src/sys/kern/kern_acct.c:1.95 src/sys/kern/kern_acct.c:1.96 --- src/sys/kern/kern_acct.c:1.95 Thu Jun 1 02:45:13 2017 +++ src/sys/kern/kern_acct.c Sun May 26 19:23:04 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_acct.c,v 1.95 2017/06/01 02:45:13 chs Exp $ */ +/* $NetBSD: kern_acct.c,v 1.96 2019/05/26 19:23:04 dholland Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -71,7 +71,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_acct.c,v 1.95 2017/06/01 02:45:13 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_acct.c,v 1.96 2019/05/26 19:23:04 dholland Exp $"); #include #include @@ -152,7 +152,7 @@ encode_comp_t(u_long s, u_long us) s += us / (100 / AHZ); /* Maximize precision. */ while (s > MAXFRACT) { - rnd = s & (1 << (EXPSIZE - 1)); /* Round up? */ + rnd = s & (1 << (EXPSIZE - 1)); /* Round up? */ s >>= EXPSIZE; /* Base 8 exponent == 3 bit shift. */ exp++; }
CVS commit: src/sys/kern
Module Name:src Committed By: dholland Date: Sun May 26 19:23:04 UTC 2019 Modified Files: src/sys/kern: kern_acct.c Log Message: fix flatly wrong indent To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/kern/kern_acct.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: dholland Date: Sun Mar 7 23:49:14 UTC 2010 Modified Files: src/lib/libc/rpc: clnt_bcast.c Log Message: indentation/whitespace To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/rpc/clnt_bcast.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/rpc/clnt_bcast.c diff -u src/lib/libc/rpc/clnt_bcast.c:1.21 src/lib/libc/rpc/clnt_bcast.c:1.22 --- src/lib/libc/rpc/clnt_bcast.c:1.21 Sun Mar 7 23:45:22 2010 +++ src/lib/libc/rpc/clnt_bcast.c Sun Mar 7 23:49:14 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $ */ +/* $NetBSD: clnt_bcast.c,v 1.22 2010/03/07 23:49:14 dholland Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)clnt_bcast.c 1.15 89/04/21 Copyr 1988 Sun Micro"; #else -__RCSID("$NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $"); +__RCSID("$NetBSD: clnt_bcast.c,v 1.22 2010/03/07 23:49:14 dholland Exp $"); #endif #endif @@ -487,13 +487,15 @@ * Send the version 2 packet also * for UDP/IP */ -if (pmap_flag && fdlist[i].proto == IPPROTO_UDP) { - if ((size_t)sendto(fdlist[i].fd, outbuf_pmap, - outlen_pmap, 0, addr, +if (pmap_flag && +fdlist[i].proto == IPPROTO_UDP) { + if ((size_t)sendto(fdlist[i].fd, + outbuf_pmap, outlen_pmap, 0, addr, (size_t)fdlist[i].asize) != outlen_pmap) { warnx("clnt_bcast: " -"Cannot send broadcast packet"); + "Cannot send " + "broadcast packet"); stat = RPC_CANTSEND; continue; }
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: dholland Date: Sun Mar 7 23:49:14 UTC 2010 Modified Files: src/lib/libc/rpc: clnt_bcast.c Log Message: indentation/whitespace To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/rpc/clnt_bcast.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: dholland Date: Sun Mar 7 23:45:23 UTC 2010 Modified Files: src/lib/libc/rpc: clnt_bcast.c Log Message: remove stray semicolon To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/rpc/clnt_bcast.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/rpc/clnt_bcast.c diff -u src/lib/libc/rpc/clnt_bcast.c:1.20 src/lib/libc/rpc/clnt_bcast.c:1.21 --- src/lib/libc/rpc/clnt_bcast.c:1.20 Thu Feb 12 04:32:05 2009 +++ src/lib/libc/rpc/clnt_bcast.c Sun Mar 7 23:45:22 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: clnt_bcast.c,v 1.20 2009/02/12 04:32:05 lukem Exp $ */ +/* $NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)clnt_bcast.c 1.15 89/04/21 Copyr 1988 Sun Micro"; #else -__RCSID("$NetBSD: clnt_bcast.c,v 1.20 2009/02/12 04:32:05 lukem Exp $"); +__RCSID("$NetBSD: clnt_bcast.c,v 1.21 2010/03/07 23:45:22 dholland Exp $"); #endif #endif @@ -475,7 +475,7 @@ " broadcast packet"); stat = RPC_CANTSEND; continue; - }; + } #ifdef RPC_DEBUG if (!__rpc_lowvers) fprintf(stderr, "Broadcast packet sent "
CVS commit: src/lib/libc/rpc
Module Name:src Committed By: dholland Date: Sun Mar 7 23:45:23 UTC 2010 Modified Files: src/lib/libc/rpc: clnt_bcast.c Log Message: remove stray semicolon To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/rpc/clnt_bcast.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libterminfo
Module Name:src Committed By: dholland Date: Mon Mar 1 01:59:48 UTC 2010 Modified Files: src/lib/libterminfo: compile.c Log Message: compile.c needs sys/endian.h; PR 42875 from Henning Petersen. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libterminfo/compile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libterminfo
Module Name:src Committed By: dholland Date: Mon Mar 1 01:59:48 UTC 2010 Modified Files: src/lib/libterminfo: compile.c Log Message: compile.c needs sys/endian.h; PR 42875 from Henning Petersen. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libterminfo/compile.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/libterminfo/compile.c diff -u src/lib/libterminfo/compile.c:1.2 src/lib/libterminfo/compile.c:1.3 --- src/lib/libterminfo/compile.c:1.2 Thu Feb 25 23:44:02 2010 +++ src/lib/libterminfo/compile.c Mon Mar 1 01:59:48 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: compile.c,v 1.2 2010/02/25 23:44:02 roy Exp $ */ +/* $NetBSD: compile.c,v 1.3 2010/03/01 01:59:48 dholland Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,11 @@ #endif #include -__RCSID("$NetBSD: compile.c,v 1.2 2010/02/25 23:44:02 roy Exp $"); +__RCSID("$NetBSD: compile.c,v 1.3 2010/03/01 01:59:48 dholland Exp $"); + +#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H +#include +#endif #include #include
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Tue Feb 16 09:53:52 UTC 2010 Modified Files: src/games/fortune/datfiles: fortunes fortunes2 Log Message: Latin police: use proper conjugation. (whether the rest of the affected fortune is valid either is debatable) To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/games/fortune/datfiles/fortunes cvs rdiff -u -r1.41 -r1.42 src/games/fortune/datfiles/fortunes2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: dholland Date: Tue Feb 16 05:47:52 UTC 2010 Modified Files: src/sys/kern: kern_module_vfs.c Log Message: Don't inspect vn_stat() results until after checking that it succeeded. If anyone's been seeing random "File too large" results from module loading, this should fix it. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/kern/kern_module_vfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.