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
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
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_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_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_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_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_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
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
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/Makefile diff -u
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
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
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 = [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(); @@ -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: src/lib/libc/gen
Module Name:src Committed By: dholland Date: Sat Aug 7 03:17:23 UTC 2021 Modified Files: src/lib/libc/gen: signal.3 Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/signal.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/gen
Module Name:src Committed By: dholland Date: Sat Aug 7 03:17:23 UTC 2021 Modified Files: src/lib/libc/gen: signal.3 Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/signal.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/gen/signal.3 diff -u src/lib/libc/gen/signal.3:1.28 src/lib/libc/gen/signal.3:1.29 --- src/lib/libc/gen/signal.3:1.28 Wed Dec 6 16:38:22 2017 +++ src/lib/libc/gen/signal.3 Sat Aug 7 03:17:23 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: signal.3,v 1.28 2017/12/06 16:38:22 dholland Exp $ +.\" $NetBSD: signal.3,v 1.29 2021/08/07 03:17:23 dholland Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -148,7 +148,7 @@ function; ignored signals remain ignored. .Pp Only functions that are async-signal-safe can safely be used in signal -handlers, see +handlers; see .Xr sigaction 2 for a complete list. .Sh RETURN VALUES
CVS commit: src/games/fish
Module Name:src Committed By: dholland Date: Sun Jul 25 02:00:42 UTC 2021 Modified Files: src/games/fish: fish.c Log Message: Flush input to EOL correctly in games/fish. PR 54885 from Mouse, with a somewhat different patch. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/games/fish/fish.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fish/fish.c diff -u src/games/fish/fish.c:1.26 src/games/fish/fish.c:1.27 --- src/games/fish/fish.c:1.26 Sun May 2 12:25:55 2021 +++ src/games/fish/fish.c Sun Jul 25 02:00:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fish.c,v 1.26 2021/05/02 12:25:55 rillig Exp $ */ +/* $NetBSD: fish.c,v 1.27 2021/07/25 02:00:42 dholland Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 19 #if 0 static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fish.c,v 1.26 2021/05/02 12:25:55 rillig Exp $"); +__RCSID("$NetBSD: fish.c,v 1.27 2021/07/25 02:00:42 dholland Exp $"); #endif #endif /* not lint */ @@ -432,15 +432,20 @@ init(void) static void instructions(void) { - int input; + int input, c; pid_t pid; int fd; const char *pager; int status; (void)printf("Would you like instructions (y or n)? "); - input = getchar(); - while (getchar() != '\n'); + input = c = getchar(); + while (c != '\n') { + c = getchar(); + if (c == EOF) { + exit(1); + } + } if (input != 'y') return;
CVS commit: src/games/fish
Module Name:src Committed By: dholland Date: Sun Jul 25 02:00:42 UTC 2021 Modified Files: src/games/fish: fish.c Log Message: Flush input to EOL correctly in games/fish. PR 54885 from Mouse, with a somewhat different patch. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/games/fish/fish.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: dholland Date: Mon Jul 19 01:33:53 UTC 2021 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. Part 3; cvs randomly didn't commit all the files the first time, still hunting down the files it skipped. To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/miscfs/kernfs/kernfs_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/miscfs/kernfs/kernfs_vnops.c diff -u src/sys/miscfs/kernfs/kernfs_vnops.c:1.171 src/sys/miscfs/kernfs/kernfs_vnops.c:1.172 --- src/sys/miscfs/kernfs/kernfs_vnops.c:1.171 Sun Jul 18 23:56:13 2021 +++ src/sys/miscfs/kernfs/kernfs_vnops.c Mon Jul 19 01:33:53 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: kernfs_vnops.c,v 1.171 2021/07/18 23:56:13 dholland Exp $ */ +/* $NetBSD: kernfs_vnops.c,v 1.172 2021/07/19 01:33:53 dholland Exp $ */ /* * Copyright (c) 1992, 1993 @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.171 2021/07/18 23:56:13 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.172 2021/07/19 01:33:53 dholland Exp $"); #include #include @@ -137,8 +137,6 @@ const struct kernfs_fileop kernfs_defaul }; int kernfs_lookup(void *); -#define kernfs_create genfs_eopnotsupp -#define kernfs_mknod genfs_eopnotsupp int kernfs_open(void *); int kernfs_close(void *); int kernfs_access(void *); @@ -146,34 +144,15 @@ int kernfs_getattr(void *); int kernfs_setattr(void *); int kernfs_read(void *); int kernfs_write(void *); -#define kernfs_fcntl genfs_fcntl int kernfs_ioctl(void *); -#define kernfs_poll genfs_poll -#define kernfs_revoke genfs_revoke -#define kernfs_fsync genfs_nullop -#define kernfs_seek genfs_nullop -#define kernfs_remove genfs_eopnotsupp int kernfs_link(void *); -#define kernfs_rename genfs_eopnotsupp -#define kernfs_mkdir genfs_eopnotsupp -#define kernfs_rmdir genfs_eopnotsupp int kernfs_symlink(void *); int kernfs_readdir(void *); -#define kernfs_readlink genfs_eopnotsupp -#define kernfs_abortop genfs_abortop int kernfs_inactive(void *); int kernfs_reclaim(void *); -#define kernfs_lock genfs_lock -#define kernfs_unlock genfs_unlock -#define kernfs_bmap genfs_badop -#define kernfs_strategy genfs_eopnotsupp int kernfs_print(void *); -#define kernfs_islocked genfs_islocked int kernfs_pathconf(void *); -#define kernfs_advlock genfs_einval -#define kernfs_bwrite genfs_eopnotsupp int kernfs_getpages(void *); -#define kernfs_putpages genfs_putpages static int kernfs_xread(struct kernfs_node *, int, char **, size_t, size_t *); @@ -184,8 +163,8 @@ const struct vnodeopv_entry_desc kernfs_ { _default_desc, vn_default_error }, { _parsepath_desc, genfs_parsepath }, /* parsepath */ { _lookup_desc, kernfs_lookup }, /* lookup */ - { _create_desc, kernfs_create }, /* create */ - { _mknod_desc, kernfs_mknod }, /* mknod */ + { _create_desc, genfs_eopnotsupp }, /* create */ + { _mknod_desc, genfs_eopnotsupp }, /* mknod */ { _open_desc, kernfs_open }, /* open */ { _close_desc, kernfs_close }, /* close */ { _access_desc, kernfs_access }, /* access */ @@ -196,35 +175,35 @@ const struct vnodeopv_entry_desc kernfs_ { _write_desc, kernfs_write }, /* write */ { _fallocate_desc, genfs_eopnotsupp }, /* fallocate */ { _fdiscard_desc, genfs_eopnotsupp }, /* fdiscard */ - { _fcntl_desc, kernfs_fcntl }, /* fcntl */ + { _fcntl_desc, genfs_fcntl }, /* fcntl */ { _ioctl_desc, kernfs_ioctl }, /* ioctl */ - { _poll_desc, kernfs_poll }, /* poll */ + { _poll_desc, genfs_poll }, /* poll */ { _kqfilter_desc, genfs_kqfilter }, /* kqfilter */ - { _revoke_desc, kernfs_revoke }, /* revoke */ - { _fsync_desc, kernfs_fsync }, /* fsync */ - { _seek_desc, kernfs_seek }, /* seek */ - { _remove_desc, kernfs_remove }, /* remove */ + { _revoke_desc, genfs_revoke }, /* revoke */ + { _fsync_desc, genfs_nullop }, /* fsync */ + { _seek_desc, genfs_nullop }, /* seek */ + { _remove_desc, genfs_eopnotsupp }, /* remove */ { _link_desc, kernfs_link }, /* link */ - { _rename_desc, kernfs_rename }, /* rename */ - { _mkdir_desc, kernfs_mkdir }, /* mkdir */ - { _rmdir_desc, kernfs_rmdir }, /* rmdir */ + { _rename_desc, genfs_eopnotsupp }, /* rename */ + { _mkdir_desc, genfs_eopnotsupp }, /* mkdir */ + { _rmdir_desc, genfs_eopnotsupp }, /* rmdir */ { _symlink_desc, kernfs_symlink }, /* symlink */ { _readdir_desc, kernfs_readdir }, /* readdir */ - { _readlink_desc, kernfs_readlink }, /* readlink */ - { _abortop_desc, kernfs_abortop }, /* abortop */ + { _readlink_desc, genfs_eopnotsupp }, /* readlink */ + { _abortop_desc, genfs_abortop }, /* abortop
CVS commit: src/sys/miscfs/kernfs
Module Name:src Committed By: dholland Date: Mon Jul 19 01:33:53 UTC 2021 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. Part 3; cvs randomly didn't commit all the files the first time, still hunting down the files it skipped. To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/miscfs/kernfs/kernfs_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/fs
Module Name:src Committed By: dholland Date: Mon Jul 19 01:30:25 UTC 2021 Modified Files: src/sys/fs/cd9660: cd9660_vnops.c src/sys/fs/puffs: puffs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.c tmpfs_specops.c Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. Part 2; cvs randomly didn't commit these changes before, and then hid them from me until I touched the files to force it to rethink. Dunno what happened. There's probably more of these, going to have to scan the tree the hard way. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/fs/cd9660/cd9660_vnops.c cvs rdiff -u -r1.220 -r1.221 src/sys/fs/puffs/puffs_vnops.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_fifoops.c cvs rdiff -u -r1.15 -r1.16 src/sys/fs/tmpfs/tmpfs_specops.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/fs/cd9660/cd9660_vnops.c diff -u src/sys/fs/cd9660/cd9660_vnops.c:1.60 src/sys/fs/cd9660/cd9660_vnops.c:1.61 --- src/sys/fs/cd9660/cd9660_vnops.c:1.60 Sun Jul 18 23:56:13 2021 +++ src/sys/fs/cd9660/cd9660_vnops.c Mon Jul 19 01:30:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cd9660_vnops.c,v 1.60 2021/07/18 23:56:13 dholland Exp $ */ +/* $NetBSD: cd9660_vnops.c,v 1.61 2021/07/19 01:30:24 dholland Exp $ */ /*- * Copyright (c) 1994 @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.60 2021/07/18 23:56:13 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.61 2021/07/19 01:30:24 dholland Exp $"); #include #include @@ -829,21 +829,6 @@ cd9660_setattr(void *v) } /* - * Global vfs data structures for isofs - */ -#define cd9660_create genfs_eopnotsupp -#define cd9660_mknod genfs_eopnotsupp -#define cd9660_write genfs_eopnotsupp -#define cd9660_fsync genfs_nullop -#define cd9660_remove genfs_eopnotsupp -#define cd9660_rename genfs_eopnotsupp -#define cd9660_mkdir genfs_eopnotsupp -#define cd9660_rmdir genfs_eopnotsupp -#define cd9660_advlock genfs_einval -#define cd9660_bwrite genfs_eopnotsupp -#define cd9660_revoke genfs_revoke - -/* * Global vfs data structures for cd9660 */ int (**cd9660_vnodeop_p)(void *); @@ -851,34 +836,34 @@ const struct vnodeopv_entry_desc cd9660_ { _default_desc, vn_default_error }, { _parsepath_desc, genfs_parsepath }, /* parsepath */ { _lookup_desc, cd9660_lookup }, /* lookup */ - { _create_desc, cd9660_create }, /* create */ - { _mknod_desc, cd9660_mknod }, /* mknod */ - { _open_desc, cd9660_open }, /* open */ - { _close_desc, cd9660_close }, /* close */ + { _create_desc, genfs_eopnotsupp }, /* create */ + { _mknod_desc, genfs_eopnotsupp }, /* mknod */ + { _open_desc, genfs_nullop }, /* open */ + { _close_desc, genfs_nullop }, /* close */ { _access_desc, cd9660_access }, /* access */ { _accessx_desc, genfs_accessx }, /* accessx */ { _getattr_desc, cd9660_getattr }, /* getattr */ { _setattr_desc, cd9660_setattr }, /* setattr */ { _read_desc, cd9660_read }, /* read */ - { _write_desc, cd9660_write }, /* write */ + { _write_desc, genfs_eopnotsupp }, /* write */ { _fallocate_desc, genfs_eopnotsupp }, /* fallocate */ { _fdiscard_desc, genfs_eopnotsupp }, /* fdiscard */ { _fcntl_desc, genfs_fcntl }, /* fcntl */ - { _ioctl_desc, cd9660_ioctl }, /* ioctl */ - { _poll_desc, cd9660_poll }, /* poll */ - { _revoke_desc, cd9660_revoke }, /* revoke */ - { _mmap_desc, cd9660_mmap }, /* mmap */ - { _fsync_desc, cd9660_fsync }, /* fsync */ - { _seek_desc, cd9660_seek }, /* seek */ - { _remove_desc, cd9660_remove }, /* remove */ + { _ioctl_desc, genfs_enoioctl }, /* ioctl */ + { _poll_desc, genfs_poll }, /* poll */ + { _revoke_desc, genfs_revoke }, /* revoke */ + { _mmap_desc, genfs_mmap }, /* mmap */ + { _fsync_desc, genfs_nullop }, /* fsync */ + { _seek_desc, genfs_seek }, /* seek */ + { _remove_desc, genfs_eopnotsupp }, /* remove */ { _link_desc, cd9660_link }, /* link */ - { _rename_desc, cd9660_rename }, /* rename */ - { _mkdir_desc, cd9660_mkdir }, /* mkdir */ - { _rmdir_desc, cd9660_rmdir }, /* rmdir */ + { _rename_desc, genfs_eopnotsupp }, /* rename */ + { _mkdir_desc, genfs_eopnotsupp }, /* mkdir */ + { _rmdir_desc, genfs_eopnotsupp }, /* rmdir */ { _symlink_desc, cd9660_symlink }, /* symlink */ { _readdir_desc, cd9660_readdir }, /* readdir */ { _readlink_desc, cd9660_readlink }, /* readlink */ - { _abortop_desc, cd9660_abortop }, /* abortop */ + { _abortop_desc, genfs_abortop }, /* abortop */ { _inactive_desc, cd9660_inactive }, /* inactive */ { _reclaim_desc, cd9660_reclaim }, /* reclaim */ { _lock_desc, genfs_lock }, /* lock */ @@ -888,7 +873,7 @@ const struct vnodeopv_entry_desc
CVS commit: src/sys/fs
Module Name:src Committed By: dholland Date: Mon Jul 19 01:30:25 UTC 2021 Modified Files: src/sys/fs/cd9660: cd9660_vnops.c src/sys/fs/puffs: puffs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.c tmpfs_specops.c Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. Part 2; cvs randomly didn't commit these changes before, and then hid them from me until I touched the files to force it to rethink. Dunno what happened. There's probably more of these, going to have to scan the tree the hard way. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/fs/cd9660/cd9660_vnops.c cvs rdiff -u -r1.220 -r1.221 src/sys/fs/puffs/puffs_vnops.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_fifoops.c cvs rdiff -u -r1.15 -r1.16 src/sys/fs/tmpfs/tmpfs_specops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/ptyfs
Module Name:src Committed By: dholland Date: Sun Jul 18 23:57:34 UTC 2021 Modified Files: src/sys/fs/ptyfs: ptyfs_vnops.c Log Message: Fix ptyfs link and symlink ops. They were set (via macro obfuscation just eliminated) to genfs_abortop, which is the wrong thing. These code paths are currently inaccessible because of EROFS enforcement in namei, but if either were reached odd behavior would likely ensue. Use genfs_eopnotsupp like the rest of the ops that don't make sense here. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/fs/ptyfs/ptyfs_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/fs/ptyfs/ptyfs_vnops.c diff -u src/sys/fs/ptyfs/ptyfs_vnops.c:1.65 src/sys/fs/ptyfs/ptyfs_vnops.c:1.66 --- src/sys/fs/ptyfs/ptyfs_vnops.c:1.65 Sun Jul 18 23:57:14 2021 +++ src/sys/fs/ptyfs/ptyfs_vnops.c Sun Jul 18 23:57:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ptyfs_vnops.c,v 1.65 2021/07/18 23:57:14 dholland Exp $ */ +/* $NetBSD: ptyfs_vnops.c,v 1.66 2021/07/18 23:57:34 dholland Exp $ */ /* * Copyright (c) 1993, 1995 @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.65 2021/07/18 23:57:14 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.66 2021/07/18 23:57:34 dholland Exp $"); #include #include @@ -167,11 +167,11 @@ const struct vnodeopv_entry_desc ptyfs_v { _fsync_desc, genfs_nullop }, /* fsync */ { _seek_desc, genfs_nullop }, /* seek */ { _remove_desc, genfs_eopnotsupp }, /* remove */ - { _link_desc, genfs_abortop }, /* link */ + { _link_desc, genfs_eopnotsupp }, /* link */ { _rename_desc, genfs_eopnotsupp }, /* rename */ { _mkdir_desc, genfs_eopnotsupp }, /* mkdir */ { _rmdir_desc, genfs_eopnotsupp }, /* rmdir */ - { _symlink_desc, genfs_abortop }, /* symlink */ + { _symlink_desc, genfs_eopnotsupp }, /* symlink */ { _readdir_desc, ptyfs_readdir }, /* readdir */ { _readlink_desc, genfs_eopnotsupp }, /* readlink */ { _abortop_desc, genfs_abortop }, /* abortop */
CVS commit: src/sys/fs/ptyfs
Module Name:src Committed By: dholland Date: Sun Jul 18 23:57:34 UTC 2021 Modified Files: src/sys/fs/ptyfs: ptyfs_vnops.c Log Message: Fix ptyfs link and symlink ops. They were set (via macro obfuscation just eliminated) to genfs_abortop, which is the wrong thing. These code paths are currently inaccessible because of EROFS enforcement in namei, but if either were reached odd behavior would likely ensue. Use genfs_eopnotsupp like the rest of the ops that don't make sense here. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/fs/ptyfs/ptyfs_vnops.c 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: Sun Jul 18 23:57:16 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/sys/fs/adosfs: advnops.c src/sys/fs/cd9660: cd9660_node.h src/sys/fs/filecorefs: filecore_node.h filecore_vnops.c src/sys/fs/msdosfs: denode.h msdosfs_vnops.c src/sys/fs/ptyfs: ptyfs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.h tmpfs_specops.h tmpfs_vnops.c tmpfs_vnops.h src/sys/miscfs/deadfs: dead_vnops.c src/sys/miscfs/procfs: procfs_vnops.c src/sys/miscfs/specfs: spec_vnops.c specdev.h src/sys/nfs: nfs_vnops.c nfsnode.h src/sys/ufs/ext2fs: ext2fs_vnops.c src/sys/ufs/ffs: ffs_vnops.c src/sys/ufs/lfs: lfs_vnops.c ulfs_extern.h src/sys/ufs/mfs: mfs_extern.h mfs_vnops.c mfsnode.h src/sys/ufs/ufs: ufs_extern.h Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c cvs rdiff -u -r1.56 -r1.57 src/sys/fs/adosfs/advnops.c cvs rdiff -u -r1.16 -r1.17 src/sys/fs/cd9660/cd9660_node.h cvs rdiff -u -r1.6 -r1.7 src/sys/fs/filecorefs/filecore_node.h cvs rdiff -u -r1.48 -r1.49 src/sys/fs/filecorefs/filecore_vnops.c cvs rdiff -u -r1.25 -r1.26 src/sys/fs/msdosfs/denode.h cvs rdiff -u -r1.105 -r1.106 src/sys/fs/msdosfs/msdosfs_vnops.c cvs rdiff -u -r1.64 -r1.65 src/sys/fs/ptyfs/ptyfs_vnops.c cvs rdiff -u -r1.8 -r1.9 src/sys/fs/tmpfs/tmpfs_fifoops.h \ src/sys/fs/tmpfs/tmpfs_specops.h cvs rdiff -u -r1.146 -r1.147 src/sys/fs/tmpfs/tmpfs_vnops.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/tmpfs/tmpfs_vnops.h cvs rdiff -u -r1.64 -r1.65 src/sys/miscfs/deadfs/dead_vnops.c cvs rdiff -u -r1.217 -r1.218 src/sys/miscfs/procfs/procfs_vnops.c cvs rdiff -u -r1.182 -r1.183 src/sys/miscfs/specfs/spec_vnops.c cvs rdiff -u -r1.45 -r1.46 src/sys/miscfs/specfs/specdev.h cvs rdiff -u -r1.319 -r1.320 src/sys/nfs/nfs_vnops.c cvs rdiff -u -r1.74 -r1.75 src/sys/nfs/nfsnode.h cvs rdiff -u -r1.134 -r1.135 src/sys/ufs/ext2fs/ext2fs_vnops.c cvs rdiff -u -r1.136 -r1.137 src/sys/ufs/ffs/ffs_vnops.c cvs rdiff -u -r1.338 -r1.339 src/sys/ufs/lfs/lfs_vnops.c cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/lfs/ulfs_extern.h cvs rdiff -u -r1.31 -r1.32 src/sys/ufs/mfs/mfs_extern.h cvs rdiff -u -r1.62 -r1.63 src/sys/ufs/mfs/mfs_vnops.c cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/mfs/mfsnode.h cvs rdiff -u -r1.86 -r1.87 src/sys/ufs/ufs/ufs_extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.73 src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.74 --- src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.73 Sun Jul 18 23:56:12 2021 +++ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Sun Jul 18 23:57:13 2021 @@ -6337,13 +6337,6 @@ const struct genfs_ops zfs_genfsops = { .gop_putrange = zfs_netbsd_gop_putrange, }; -#define zfs_netbsd_lock genfs_lock -#define zfs_netbsd_unlock genfs_unlock -#define zfs_netbsd_islocked genfs_islocked -#define zfs_netbsd_seek genfs_seek -#define zfs_netbsd_mmap genfs_mmap -#define zfs_netbsd_fcntl genfs_fcntl - int (**zfs_vnodeop_p)(void *); const struct vnodeopv_entry_desc zfs_vnodeop_entries[] = { { _default_desc, vn_default_error }, @@ -6366,8 +6359,8 @@ const struct vnodeopv_entry_desc zfs_vno { _fsync_desc, zfs_netbsd_fsync }, { _remove_desc, zfs_netbsd_remove }, { _link_desc, zfs_netbsd_link }, - { _lock_desc, zfs_netbsd_lock }, - { _unlock_desc, zfs_netbsd_unlock }, + { _lock_desc, genfs_lock }, + { _unlock_desc, genfs_unlock }, { _rename_desc, zfs_netbsd_rename }, { _mkdir_desc, zfs_netbsd_mkdir }, { _rmdir_desc, zfs_netbsd_rmdir }, @@ -6377,14 +6370,14 @@ const struct vnodeopv_entry_desc zfs_vno { _inactive_desc, zfs_netbsd_inactive }, { _reclaim_desc, zfs_netbsd_reclaim }, { _pathconf_desc, zfs_netbsd_pathconf }, - { _seek_desc, zfs_netbsd_seek }, + { _seek_desc, genfs_seek }, { _getpages_desc, zfs_netbsd_getpages }, { _putpages_desc, zfs_netbsd_putpages }, - { _mmap_desc, zfs_netbsd_mmap }, - { _islocked_desc, zfs_netbsd_islocked }, + { _mmap_desc, genfs_mmap }, + { _islocked_desc, genfs_islocked }, { _advlock_desc, zfs_netbsd_advlock }, { _print_desc, zfs_netbsd_print }, - { _fcntl_desc, zfs_netbsd_fcntl }, + { _fcntl_desc, genfs_fcntl }, { NULL, NULL } }; @@ -6403,14 +6396,14 @@ const struct vnodeopv_entry_desc zfs_spe { _read_desc, /**/zfs_netbsd_read }, {
CVS commit: src
Module Name:src Committed By: dholland Date: Sun Jul 18 23:57:16 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/sys/fs/adosfs: advnops.c src/sys/fs/cd9660: cd9660_node.h src/sys/fs/filecorefs: filecore_node.h filecore_vnops.c src/sys/fs/msdosfs: denode.h msdosfs_vnops.c src/sys/fs/ptyfs: ptyfs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.h tmpfs_specops.h tmpfs_vnops.c tmpfs_vnops.h src/sys/miscfs/deadfs: dead_vnops.c src/sys/miscfs/procfs: procfs_vnops.c src/sys/miscfs/specfs: spec_vnops.c specdev.h src/sys/nfs: nfs_vnops.c nfsnode.h src/sys/ufs/ext2fs: ext2fs_vnops.c src/sys/ufs/ffs: ffs_vnops.c src/sys/ufs/lfs: lfs_vnops.c ulfs_extern.h src/sys/ufs/mfs: mfs_extern.h mfs_vnops.c mfsnode.h src/sys/ufs/ufs: ufs_extern.h Log Message: Abolish all the silly indirection macros for initializing vnode ops tables. These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c cvs rdiff -u -r1.56 -r1.57 src/sys/fs/adosfs/advnops.c cvs rdiff -u -r1.16 -r1.17 src/sys/fs/cd9660/cd9660_node.h cvs rdiff -u -r1.6 -r1.7 src/sys/fs/filecorefs/filecore_node.h cvs rdiff -u -r1.48 -r1.49 src/sys/fs/filecorefs/filecore_vnops.c cvs rdiff -u -r1.25 -r1.26 src/sys/fs/msdosfs/denode.h cvs rdiff -u -r1.105 -r1.106 src/sys/fs/msdosfs/msdosfs_vnops.c cvs rdiff -u -r1.64 -r1.65 src/sys/fs/ptyfs/ptyfs_vnops.c cvs rdiff -u -r1.8 -r1.9 src/sys/fs/tmpfs/tmpfs_fifoops.h \ src/sys/fs/tmpfs/tmpfs_specops.h cvs rdiff -u -r1.146 -r1.147 src/sys/fs/tmpfs/tmpfs_vnops.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/tmpfs/tmpfs_vnops.h cvs rdiff -u -r1.64 -r1.65 src/sys/miscfs/deadfs/dead_vnops.c cvs rdiff -u -r1.217 -r1.218 src/sys/miscfs/procfs/procfs_vnops.c cvs rdiff -u -r1.182 -r1.183 src/sys/miscfs/specfs/spec_vnops.c cvs rdiff -u -r1.45 -r1.46 src/sys/miscfs/specfs/specdev.h cvs rdiff -u -r1.319 -r1.320 src/sys/nfs/nfs_vnops.c cvs rdiff -u -r1.74 -r1.75 src/sys/nfs/nfsnode.h cvs rdiff -u -r1.134 -r1.135 src/sys/ufs/ext2fs/ext2fs_vnops.c cvs rdiff -u -r1.136 -r1.137 src/sys/ufs/ffs/ffs_vnops.c cvs rdiff -u -r1.338 -r1.339 src/sys/ufs/lfs/lfs_vnops.c cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/lfs/ulfs_extern.h cvs rdiff -u -r1.31 -r1.32 src/sys/ufs/mfs/mfs_extern.h cvs rdiff -u -r1.62 -r1.63 src/sys/ufs/mfs/mfs_vnops.c cvs rdiff -u -r1.21 -r1.22 src/sys/ufs/mfs/mfsnode.h cvs rdiff -u -r1.86 -r1.87 src/sys/ufs/ufs/ufs_extern.h 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: Sun Jul 18 23:56:14 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/sys/fs/cd9660: cd9660_vnops.c src/sys/fs/efs: efs_vnops.c src/sys/fs/hfs: hfs_vnops.c src/sys/fs/puffs: puffs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.c tmpfs_specops.c src/sys/fs/v7fs: v7fs_extern.c src/sys/miscfs/fifofs: fifo.h src/sys/miscfs/kernfs: kernfs_vnops.c src/sys/miscfs/specfs: specdev.h src/sys/nfs: nfs_vnops.c src/sys/rump/librump/rumpvfs: rumpfs.c src/sys/ufs/chfs: chfs_vnops.c src/sys/ufs/ext2fs: ext2fs_vnops.c src/sys/ufs/ffs: ffs_vnops.c src/sys/ufs/lfs: lfs_vnops.c Log Message: Use macros for the canned parts of device and fifo vnode op tables. Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain the portion of the vnode ops table declaration that is (conservatively) the same in every fs. Use these in every fs that supports devices and/or fifos with separate ops tables. Note that ptyfs works differently (it has one type of vnode with open-coded dispatch to the specfs code, which I haven't changed in this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic dispatch that already does more or less the same thing, which I also haven't changed. Also note that this anticipates a few bits in the next changeset here and there, and adds missing but unreachable calls in some cases (e.g. most fses weren't defining whiteout on devices and fifos, but it isn't reachable there), and it changes parsepath on devices and fifos to genfs_badop from genfs_parsepath (but it's not reachable there either). It appears that devices in kernfs were missing kqfilter, so it's possible that if you try to use kqueue on /kern/rootdev that it'll explode. And finally note that the ops declaration tables aren't order-dependent. (Other than vop_default_desc has to come first.) Otherwise this wouldn't work. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c cvs rdiff -u -r1.59 -r1.60 src/sys/fs/cd9660/cd9660_vnops.c cvs rdiff -u -r1.42 -r1.43 src/sys/fs/efs/efs_vnops.c cvs rdiff -u -r1.38 -r1.39 src/sys/fs/hfs/hfs_vnops.c cvs rdiff -u -r1.219 -r1.220 src/sys/fs/puffs/puffs_vnops.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/tmpfs/tmpfs_fifoops.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_specops.c cvs rdiff -u -r1.8 -r1.9 src/sys/fs/v7fs/v7fs_extern.c cvs rdiff -u -r1.26 -r1.27 src/sys/miscfs/fifofs/fifo.h cvs rdiff -u -r1.170 -r1.171 src/sys/miscfs/kernfs/kernfs_vnops.c cvs rdiff -u -r1.44 -r1.45 src/sys/miscfs/specfs/specdev.h cvs rdiff -u -r1.318 -r1.319 src/sys/nfs/nfs_vnops.c cvs rdiff -u -r1.164 -r1.165 src/sys/rump/librump/rumpvfs/rumpfs.c cvs rdiff -u -r1.44 -r1.45 src/sys/ufs/chfs/chfs_vnops.c cvs rdiff -u -r1.133 -r1.134 src/sys/ufs/ext2fs/ext2fs_vnops.c cvs rdiff -u -r1.135 -r1.136 src/sys/ufs/ffs/ffs_vnops.c cvs rdiff -u -r1.337 -r1.338 src/sys/ufs/lfs/lfs_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/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.72 src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.73 --- src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.72 Fri Jul 2 17:14:36 2021 +++ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Sun Jul 18 23:56:12 2021 @@ -6394,10 +6394,7 @@ const struct vnodeopv_desc zfs_vnodeop_o int (**zfs_specop_p)(void *); const struct vnodeopv_entry_desc zfs_specop_entries[] = { { _default_desc, vn_default_error }, - { _lookup_desc, spec_lookup }, - { _create_desc, spec_create }, - { _mknod_desc, spec_mknod }, - { _open_desc, spec_open }, + GENFS_SPECOP_ENTRIES, { _close_desc, spec_close }, { _access_desc, zfs_netbsd_access }, { _accessx_desc, genfs_accessx }, @@ -6405,31 +6402,12 @@ const struct vnodeopv_entry_desc zfs_spe { _setattr_desc, zfs_netbsd_setattr }, { _read_desc, /**/zfs_netbsd_read }, { _write_desc, /**/zfs_netbsd_write }, - { _ioctl_desc, spec_ioctl }, - { _poll_desc, spec_poll }, - { _kqfilter_desc, spec_kqfilter }, - { _revoke_desc, spec_revoke }, { _fsync_desc, zfs_spec_fsync }, - { _remove_desc, spec_remove }, - { _link_desc, spec_link }, { _lock_desc, zfs_netbsd_lock }, { _unlock_desc, zfs_netbsd_unlock }, - { _rename_desc, spec_rename }, - { _mkdir_desc, spec_mkdir }, - { _rmdir_desc, spec_rmdir }, - { _symlink_desc, spec_symlink }, - { _readdir_desc, spec_readdir }, - { _readlink_desc, spec_readlink }, { _inactive_desc, zfs_netbsd_inactive }, { _reclaim_desc, zfs_netbsd_reclaim }, - { _pathconf_desc, spec_pathconf }, - { _seek_desc, spec_seek }, - { _getpages_desc, spec_getpages }, - {
CVS commit: src
Module Name:src Committed By: dholland Date: Sun Jul 18 23:56:14 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/sys/fs/cd9660: cd9660_vnops.c src/sys/fs/efs: efs_vnops.c src/sys/fs/hfs: hfs_vnops.c src/sys/fs/puffs: puffs_vnops.c src/sys/fs/tmpfs: tmpfs_fifoops.c tmpfs_specops.c src/sys/fs/v7fs: v7fs_extern.c src/sys/miscfs/fifofs: fifo.h src/sys/miscfs/kernfs: kernfs_vnops.c src/sys/miscfs/specfs: specdev.h src/sys/nfs: nfs_vnops.c src/sys/rump/librump/rumpvfs: rumpfs.c src/sys/ufs/chfs: chfs_vnops.c src/sys/ufs/ext2fs: ext2fs_vnops.c src/sys/ufs/ffs: ffs_vnops.c src/sys/ufs/lfs: lfs_vnops.c Log Message: Use macros for the canned parts of device and fifo vnode op tables. Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain the portion of the vnode ops table declaration that is (conservatively) the same in every fs. Use these in every fs that supports devices and/or fifos with separate ops tables. Note that ptyfs works differently (it has one type of vnode with open-coded dispatch to the specfs code, which I haven't changed in this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic dispatch that already does more or less the same thing, which I also haven't changed. Also note that this anticipates a few bits in the next changeset here and there, and adds missing but unreachable calls in some cases (e.g. most fses weren't defining whiteout on devices and fifos, but it isn't reachable there), and it changes parsepath on devices and fifos to genfs_badop from genfs_parsepath (but it's not reachable there either). It appears that devices in kernfs were missing kqfilter, so it's possible that if you try to use kqueue on /kern/rootdev that it'll explode. And finally note that the ops declaration tables aren't order-dependent. (Other than vop_default_desc has to come first.) Otherwise this wouldn't work. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c cvs rdiff -u -r1.59 -r1.60 src/sys/fs/cd9660/cd9660_vnops.c cvs rdiff -u -r1.42 -r1.43 src/sys/fs/efs/efs_vnops.c cvs rdiff -u -r1.38 -r1.39 src/sys/fs/hfs/hfs_vnops.c cvs rdiff -u -r1.219 -r1.220 src/sys/fs/puffs/puffs_vnops.c cvs rdiff -u -r1.13 -r1.14 src/sys/fs/tmpfs/tmpfs_fifoops.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_specops.c cvs rdiff -u -r1.8 -r1.9 src/sys/fs/v7fs/v7fs_extern.c cvs rdiff -u -r1.26 -r1.27 src/sys/miscfs/fifofs/fifo.h cvs rdiff -u -r1.170 -r1.171 src/sys/miscfs/kernfs/kernfs_vnops.c cvs rdiff -u -r1.44 -r1.45 src/sys/miscfs/specfs/specdev.h cvs rdiff -u -r1.318 -r1.319 src/sys/nfs/nfs_vnops.c cvs rdiff -u -r1.164 -r1.165 src/sys/rump/librump/rumpvfs/rumpfs.c cvs rdiff -u -r1.44 -r1.45 src/sys/ufs/chfs/chfs_vnops.c cvs rdiff -u -r1.133 -r1.134 src/sys/ufs/ext2fs/ext2fs_vnops.c cvs rdiff -u -r1.135 -r1.136 src/sys/ufs/ffs/ffs_vnops.c cvs rdiff -u -r1.337 -r1.338 src/sys/ufs/lfs/lfs_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/kern
Module Name:src Committed By: dholland Date: Sun Jul 18 09:30:36 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Fix confusion arising from whether FOLLOW or NOFOLLOW is 0. In vn_open, don't set and then throw away FOLLOW, and clarify the comment about requesting FOLLOW/NOFOLLOW behavior. Related to PR 56316. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/kern/vfs_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/kern/vfs_vnops.c diff -u src/sys/kern/vfs_vnops.c:1.220 src/sys/kern/vfs_vnops.c:1.221 --- src/sys/kern/vfs_vnops.c:1.220 Thu Jul 1 15:53:20 2021 +++ src/sys/kern/vfs_vnops.c Sun Jul 18 09:30:36 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_vnops.c,v 1.220 2021/07/01 15:53:20 martin Exp $ */ +/* $NetBSD: vfs_vnops.c,v 1.221 2021/07/18 09:30:36 dholland Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.220 2021/07/01 15:53:20 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.221 2021/07/18 09:30:36 dholland Exp $"); #include "veriexec.h" @@ -155,8 +155,9 @@ const struct fileops vnops = { * EOPNOTSUPP will be produced in the cases that would otherwise return * a file descriptor. * - * Note that callers that want NOFOLLOW should pass O_NOFOLLOW in fmode, - * not NOFOLLOW in nmode. + * Note that callers that want no-follow behavior should pass + * O_NOFOLLOW in fmode. Neither FOLLOW nor NOFOLLOW in nmode is + * honored. */ int vn_open(struct vnode *at_dvp, struct pathbuf *pb, @@ -179,7 +180,7 @@ vn_open(struct vnode *at_dvp, struct pat if ((fmode & (O_CREAT | O_DIRECTORY)) == (O_CREAT | O_DIRECTORY)) return EINVAL; - NDINIT(, LOOKUP, FOLLOW | nmode, pb); + NDINIT(, LOOKUP, nmode, pb); if (at_dvp != NULL) NDAT(, at_dvp);
CVS commit: src/sys/kern
Module Name:src Committed By: dholland Date: Sun Jul 18 09:30:36 UTC 2021 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Fix confusion arising from whether FOLLOW or NOFOLLOW is 0. In vn_open, don't set and then throw away FOLLOW, and clarify the comment about requesting FOLLOW/NOFOLLOW behavior. Related to PR 56316. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/kern/vfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/usr.sbin/execsnoop
Module Name:src Committed By: dholland Date: Sun Jul 18 06:24:58 UTC 2021 Modified Files: src/tests/usr.sbin/execsnoop: t_execsnoop.sh Log Message: Mark t_execsnoop xfail (PR 53417) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/usr.sbin/execsnoop/t_execsnoop.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/usr.sbin/execsnoop/t_execsnoop.sh diff -u src/tests/usr.sbin/execsnoop/t_execsnoop.sh:1.3 src/tests/usr.sbin/execsnoop/t_execsnoop.sh:1.4 --- src/tests/usr.sbin/execsnoop/t_execsnoop.sh:1.3 Sat Jul 11 09:55:26 2020 +++ src/tests/usr.sbin/execsnoop/t_execsnoop.sh Sun Jul 18 06:24:58 2021 @@ -1,4 +1,4 @@ -# $NetBSD: t_execsnoop.sh,v 1.3 2020/07/11 09:55:26 jruoho Exp $ +# $NetBSD: t_execsnoop.sh,v 1.4 2021/07/18 06:24:58 dholland Exp $ # # Copyright (c) 2020 The NetBSD Foundation, Inc. # All rights reserved. @@ -37,6 +37,7 @@ basic_head() { } basic_body() { + atf_expect_fail "PR kern/53417" n=10 atf_check -s exit:0 -o ignore -e empty -x "execsnoop > $tmp &"
CVS commit: src/tests/usr.sbin/execsnoop
Module Name:src Committed By: dholland Date: Sun Jul 18 06:24:58 UTC 2021 Modified Files: src/tests/usr.sbin/execsnoop: t_execsnoop.sh Log Message: Mark t_execsnoop xfail (PR 53417) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/usr.sbin/execsnoop/t_execsnoop.sh 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 Jul 11 00:35:05 UTC 2021 Modified Files: src/games/fortune/datfiles: fortunes Log Message: add something To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 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.96 src/games/fortune/datfiles/fortunes:1.97 --- src/games/fortune/datfiles/fortunes:1.96 Mon Nov 9 03:23:14 2020 +++ src/games/fortune/datfiles/fortunes Sun Jul 11 00:35:05 2021 @@ -16307,3 +16307,5 @@ The purpose of computing numbers is not % Iamonthemoonandthereisnowheretogetabeer. Thereisnospacebar. +% +metropole, n.: The axis on which the subway turns.
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: dholland Date: Sun Jul 11 00:35:05 UTC 2021 Modified Files: src/games/fortune/datfiles: fortunes Log Message: add something To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/games/fortune/datfiles/fortunes Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.