CVS commit: src/lib/libc/string

2023-08-12 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 04:20:08 UTC 2023 Modified Files: src/lib/libc/string: memcpy.3 Log Message: memcpy: consistency in prototype and fix sentence To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/memcpy.3

CVS commit: src/lib/libc/string

2023-08-12 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 04:20:08 UTC 2023 Modified Files: src/lib/libc/string: memcpy.3 Log Message: memcpy: consistency in prototype and fix sentence To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/memcpy.3

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:22:49 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: F_GETPATH guarantees that data points to a MAXPATHLEN pointer, so go back to using MAXPATHLEN. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:22:49 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: F_GETPATH guarantees that data points to a MAXPATHLEN pointer, so go back to using MAXPATHLEN. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:09:12 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: mfd_name should be already NUL terminated. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/kern/sys_memfd.c Please note

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:09:12 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: mfd_name should be already NUL terminated. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/kern/sys_memfd.c Please note

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:07:46 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: Add missing F_GETPATH (from Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/kern/sys_memfd.c Please

CVS commit: src/sys/kern

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 23:07:46 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: Add missing F_GETPATH (from Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/kern/sys_memfd.c Please

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:32:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: clean up comments There's no output buffer anymore. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:32:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: clean up comments There's no output buffer anymore. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:08:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:08:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 20:48:24 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c externs.h src/usr.bin/xlint/lint1: emit1.c mem1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: for each record in the output

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 20:48:24 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c externs.h src/usr.bin/xlint/lint1: emit1.c mem1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: for each record in the output

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 18:05:52 UTC 2023 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cgram.y check-msgs.lua Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 18:05:52 UTC 2023 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cgram.y check-msgs.lua Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/usr.bin/xlint/common

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 17:13:28 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c Log Message: lint: remove unnecessary double-buffering for output files To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/usr.bin/xlint/common

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 17:13:28 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c Log Message: lint: remove unnecessary double-buffering for output files To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/distrib/sets/lists/base

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 16:44:15 UTC 2023 Modified Files: src/distrib/sets/lists/base: shl.mi Log Message: base/shl.mi: Tag libasan.so and libubsan.so with gcc like before. Not in clang builds. This tag got dropped in the gcc12 update.

CVS commit: src/distrib/sets/lists/base

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 16:44:15 UTC 2023 Modified Files: src/distrib/sets/lists/base: shl.mi Log Message: base/shl.mi: Tag libasan.so and libubsan.so with gcc like before. Not in clang builds. This tag got dropped in the gcc12 update.

Re: CVS commit: src

2023-08-12 Thread Andrius V
Hi, Sorry, didn't notice the email until today. To answer your question why it is not enabled in GENERIC by default, I am not sure (Taylor(?)), it was commented since the day one both on i386 and amd64. However, I have some doubts if it is very relevant driver to enable it. From the context

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:56:34 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #324 and #325 To generate a diff of this commit: cvs rdiff -u -r1.1.2.105 -r1.1.2.106 src/doc/CHANGES-10.0 Please note that

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:56:34 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #324 and #325 To generate a diff of this commit: cvs rdiff -u -r1.1.2.105 -r1.1.2.106 src/doc/CHANGES-10.0 Please note that

CVS commit: [netbsd-10] src/share/man/man7

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:53:18 UTC 2023 Modified Files: src/share/man/man7 [netbsd-10]: signal.7 Log Message: Pull up following revision(s) (requested by riastradh in ticket #325): share/man/man7/signal.7: revision 1.27

CVS commit: [netbsd-10] src/share/man/man7

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:53:18 UTC 2023 Modified Files: src/share/man/man7 [netbsd-10]: signal.7 Log Message: Pull up following revision(s) (requested by riastradh in ticket #325): share/man/man7/signal.7: revision 1.27

CVS commit: src

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:53 UTC 2023 Modified Files: src/lib/libc/gen: vis.c src/tests/lib/libc/gen: t_vis.c Log Message: vis(3): Fix one more buffer overrun in an edge case. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX

CVS commit: src

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:53 UTC 2023 Modified Files: src/lib/libc/gen: vis.c src/tests/lib/libc/gen: t_vis.c Log Message: vis(3): Fix one more buffer overrun in an edge case. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX

CVS commit: src

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:37 UTC 2023 Modified Files: src/lib/libc/gen: vis.c src/tests/lib/libc/gen: t_vis.c Log Message: vis(3): Fix main part of PR lib/57573. >From Kyle Evans . XXX pullup-10 XXX pullup-9 XXX pullup-8 To

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:17 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Avoid potential arithmetic overflow in maxolen. Can't easily prove that this overflow is impossible, so let's add a check. Prompted by

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:01 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Call wcslen(start) only once. It had better not change between these two times! Prompted by PR lib/57573. XXX pullup-10 XXX pullup-9

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:48:01 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Call wcslen(start) only once. It had better not change between these two times! Prompted by PR lib/57573. XXX pullup-10 XXX pullup-9

CVS commit: [netbsd-10] src/external/mit/xorg/etc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:47:48 UTC 2023 Modified Files: src/external/mit/xorg/etc/etc.dreamcast [netbsd-10]: xorg.conf.jpkbd xorg.conf.uskbd src/external/mit/xorg/etc/etc.hpc [netbsd-10]: xorg.conf.640x240-jp

CVS commit: [netbsd-10] src/external/mit/xorg/etc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:47:48 UTC 2023 Modified Files: src/external/mit/xorg/etc/etc.dreamcast [netbsd-10]: xorg.conf.jpkbd xorg.conf.uskbd src/external/mit/xorg/etc/etc.hpc [netbsd-10]: xorg.conf.640x240-jp

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:47:17 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Avoid arithmetic overflow before calloc(3). Prompted by PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff of

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:47:17 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Avoid arithmetic overflow before calloc(3). Prompted by PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff of

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:50 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Make mbslength unsigned. Sprinkle assertions and comments justifying the proposition that it would never go negative if signed.

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:50 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Make mbslength unsigned. Sprinkle assertions and comments justifying the proposition that it would never go negative if signed.

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:33 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Make maxolen unsigned size_t, not ssize_t. It is initialized once either to *dlen, which is unsigned size_t, or to wcslen(start) *

CVS commit: src/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:33 UTC 2023 Modified Files: src/lib/libc/gen: vis.c Log Message: vis(3): Make maxolen unsigned size_t, not ssize_t. It is initialized once either to *dlen, which is unsigned size_t, or to wcslen(start) *

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:16 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Test another overflow edge case. Related to PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:16 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Test another overflow edge case. Related to PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:45:03 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Expand tests and diagnostic outputs on failure. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:45:03 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Expand tests and diagnostic outputs on failure. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:43:26 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Add xfail test for encoding overflow. >From Kyle Evans . PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To

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

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:43:26 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Add xfail test for encoding overflow. >From Kyle Evans . PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:41:58 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Ammend ticket #317 for more pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.104 -r1.1.2.105 src/doc/CHANGES-10.0

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:41:58 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Ammend ticket #317 for more pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.104 -r1.1.2.105 src/doc/CHANGES-10.0

CVS commit: src/distrib/sets/lists/comp

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 12:40:41 UTC 2023 Modified Files: src/distrib/sets/lists/comp: mi Log Message: off-by-one To generate a diff of this commit: cvs rdiff -u -r1.2447 -r1.2448 src/distrib/sets/lists/comp/mi Please note that diffs are

CVS commit: src/distrib/sets/lists/comp

2023-08-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 12 12:40:41 UTC 2023 Modified Files: src/distrib/sets/lists/comp: mi Log Message: off-by-one To generate a diff of this commit: cvs rdiff -u -r1.2447 -r1.2448 src/distrib/sets/lists/comp/mi Please note that diffs are

CVS commit: [netbsd-10] src/external/bsd/nsd

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:39:52 UTC 2023 Modified Files: src/external/bsd/nsd/lib/libnsd [netbsd-10]: Makefile src/external/bsd/nsd/sbin/nsd [netbsd-10]: Makefile src/external/bsd/nsd/sbin/nsd-checkzone [netbsd-10]: Makefile

CVS commit: [netbsd-10] src/external/bsd/nsd

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:39:52 UTC 2023 Modified Files: src/external/bsd/nsd/lib/libnsd [netbsd-10]: Makefile src/external/bsd/nsd/sbin/nsd [netbsd-10]: Makefile src/external/bsd/nsd/sbin/nsd-checkzone [netbsd-10]: Makefile

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:00:19 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Entry for ticket #317 adjusted for additional pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.103 -r1.1.2.104

CVS commit: [netbsd-10] src/doc

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 12:00:19 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Entry for ticket #317 adjusted for additional pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.103 -r1.1.2.104

CVS commit: [netbsd-10] src/distrib/sets/lists/base

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 11:50:28 UTC 2023 Modified Files: src/distrib/sets/lists/base [netbsd-10]: ad.mips Log Message: Additionally pull up following revision(s) (requested by riastradh in ticket #317):

CVS commit: [netbsd-10] src/distrib/sets/lists/base

2023-08-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Aug 12 11:50:28 UTC 2023 Modified Files: src/distrib/sets/lists/base [netbsd-10]: ad.mips Log Message: Additionally pull up following revision(s) (requested by riastradh in ticket #317):

CVS commit: src/sys/arch/riscv/include

2023-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 12 07:48:12 UTC 2023 Modified Files: src/sys/arch/riscv/include: pmap.h Log Message: risc-v: Use 'onproc' for 2nd arg of pmap_md_page_syncicache Match other definitions of pmap_md_page_syncicache argument naming by

CVS commit: src/sys/arch/riscv/include

2023-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 12 07:48:12 UTC 2023 Modified Files: src/sys/arch/riscv/include: pmap.h Log Message: risc-v: Use 'onproc' for 2nd arg of pmap_md_page_syncicache Match other definitions of pmap_md_page_syncicache argument naming by

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/ftp

2023-08-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Aug 12 07:40:13 UTC 2023 Modified Files: src/usr.bin/ftp: fetch.c Log Message: Don't finish downloading an empty file with 'already done' before it is created locally. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/xlint/lint1

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 06:43:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up lexing of preprocessing lines The relation between 'c' and 'cp' was tricky to follow. No functional change. To generate a

CVS commit: src/usr.bin/xlint/lint1

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 06:43:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up lexing of preprocessing lines The relation between 'c' and 'cp' was tricky to follow. No functional change. To generate a