CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:20:38 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix integer overflow when writing past a small buffer Previously, snprintb

CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:53:40 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: eliminate two local variables, allow zero-size buffer Like snprintf, the buffer

CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:53:40 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: eliminate two local variables, allow zero-size buffer Like snprintf, the buffer

CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:20:38 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix integer overflow when writing past a small buffer Previously, snprintb

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:31:25 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use size_t for buffer sizes and positions To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:31:25 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use size_t for buffer sizes and positions To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 16:28:50 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_board.c files.bcm53xx src/sys/arch/evbarm/bcm53xx: bcm53xx_machdep.c src/sys/arch/evbarm/conf: BCM5301X BCM56340 Log Message: Retire

CVS commit: src/sys/arch

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 16:28:50 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_board.c files.bcm53xx src/sys/arch/evbarm/bcm53xx: bcm53xx_machdep.c src/sys/arch/evbarm/conf: BCM5301X BCM56340 Log Message: Retire

CVS commit: src/sys/arch/aarch64/aarch64

2024-02-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Feb 16 17:18:19 UTC 2024 Modified Files: src/sys/arch/aarch64/aarch64: kobj_machdep.c Log Message: Fix closing bracket for strdisasm() function. Fixes KOBJ_MACHDEP_DEBUG enabled build for aarch64. To generate a diff of

CVS commit: src/sys/arch/aarch64/aarch64

2024-02-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Feb 16 17:18:19 UTC 2024 Modified Files: src/sys/arch/aarch64/aarch64: kobj_machdep.c Log Message: Fix closing bracket for strdisasm() function. Fixes KOBJ_MACHDEP_DEBUG enabled build for aarch64. To generate a diff of

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:03:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: eliminate a few local variables To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:03:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: eliminate a few local variables To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/tests/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:13:47 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix test for 8-bit field value The previous version tested the behavior on a platform with signed 'char' before the

CVS commit: src/tests/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:13:47 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix test for 8-bit field value The previous version tested the behavior on a platform with signed 'char' before the

CVS commit: src/libexec/ftpd

2024-02-16 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Fri Feb 16 19:32:38 UTC 2024 Modified Files: src/libexec/ftpd: ftpcmd.y Log Message: Remove obsolete code. Per src/doc/CHANGES.prev support for the NI_WITHSCOPEID flag was removed in NetBSD 1.6. To generate a diff of this

CVS commit: src/libexec/ftpd

2024-02-16 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Fri Feb 16 19:32:38 UTC 2024 Modified Files: src/libexec/ftpd: ftpcmd.y Log Message: Remove obsolete code. Per src/doc/CHANGES.prev support for the NI_WITHSCOPEID flag was removed in NetBSD 1.6. To generate a diff of this

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 17:42:50 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: rename local variables The single-letter variables 't', 's', 'l' and 'c' were too hard to decipher. The variable 'f_len' was

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 17:42:50 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: rename local variables The single-letter variables 't', 's', 'l' and 'c' were too hard to decipher. The variable 'f_len' was

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:17:10 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use unsigned integers for parsing the bitfmt To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:17:10 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use unsigned integers for parsing the bitfmt To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:09:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix '=' and ':' for 8-bit values on platforms with signed char Previously, '='

CVS commit: src

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:09:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix '=' and ':' for 8-bit values on platforms with signed char Previously, '='

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

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:07:08 UTC 2024 Modified Files: src/sys/arch/arm/broadcom [netbsd-10]: bcm53xx_board.c bcm53xx_cca.c bcm53xx_idm.c bcm53xx_pax.c bcm53xx_reg.h Log Message: Trailing whitespace To generate a diff of this

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

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:07:08 UTC 2024 Modified Files: src/sys/arch/arm/broadcom [netbsd-10]: bcm53xx_board.c bcm53xx_cca.c bcm53xx_idm.c bcm53xx_pax.c bcm53xx_reg.h Log Message: Trailing whitespace To generate a diff of this

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:40:09 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_eth.c Log Message: Test sc->sc_soft_ih (not sc->sc_ih) to see if the soft interrupt got established correctly. >From Mori Hiroki. Fix some error

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:40:09 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_eth.c Log Message: Test sc->sc_soft_ih (not sc->sc_ih) to see if the soft interrupt got established correctly. >From Mori Hiroki. Fix some error

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:08:29 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_eth.c bcm53xx_pax.c Log Message: Fix non-DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:08:29 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_eth.c bcm53xx_pax.c Log Message: Fix non-DIAGNOSTIC build To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:08:02 UTC 2024 Modified Files: src/sys/arch/arm/broadcom [netbsd-10]: bcm2835_bsc.c bcm2835_vcaudio.c bcm2838_pcie.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u

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

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 12:08:02 UTC 2024 Modified Files: src/sys/arch/arm/broadcom [netbsd-10]: bcm2835_bsc.c bcm2835_vcaudio.c bcm2838_pcie.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u

CVS commit: src/include

2024-02-16 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Fri Feb 16 11:13:59 UTC 2024 Modified Files: src/include: netdb.h Log Message: Note that the NI_WITHSCOPEID flag is obsolete. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/include/netdb.h Please note that

CVS commit: src/include

2024-02-16 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Fri Feb 16 11:13:59 UTC 2024 Modified Files: src/include: netdb.h Log Message: Note that the NI_WITHSCOPEID flag is obsolete. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/include/netdb.h Please note that

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:11:17 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_board.c bcm53xx_cca.c bcm53xx_idm.c bcm53xx_pax.c bcm53xx_reg.h Log Message: Trailing whitespace To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:11:17 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm53xx_board.c bcm53xx_cca.c bcm53xx_idm.c bcm53xx_pax.c bcm53xx_reg.h Log Message: Trailing whitespace To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:11:38 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm2835_bsc.c bcm2835_vcaudio.c bcm2838_pcie.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/arch/arm/broadcom

2024-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Feb 16 15:11:38 UTC 2024 Modified Files: src/sys/arch/arm/broadcom: bcm2835_bsc.c bcm2835_vcaudio.c bcm2838_pcie.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 21:25:46 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: do not modify bufsize when producing multiple lines To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 21:25:46 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: do not modify bufsize when producing multiple lines To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/arch/aarch64/aarch64

2024-02-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Feb 16 21:32:17 UTC 2024 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Replace obsolete pv_dump() call with pmap_db_mdpg_print(). It was rewritten on rev 1.107, but not replaced with new implementation in

CVS commit: src/sys/arch/aarch64/aarch64

2024-02-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Feb 16 21:32:17 UTC 2024 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Replace obsolete pv_dump() call with pmap_db_mdpg_print(). It was rewritten on rev 1.107, but not replaced with new implementation in

CVS commit: src/lib/libc/net

2024-02-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 16 22:50:33 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: getnameinfo(3): fix/prettify markup To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/net/getnameinfo.3 Please

CVS commit: src/lib/libc/net

2024-02-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 16 22:50:33 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: getnameinfo(3): fix/prettify markup To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/net/getnameinfo.3 Please

CVS commit: src/sys/dev/tc

2024-02-16 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Feb 17 06:35:25 UTC 2024 Modified Files: src/sys/dev/tc: zskbd.c Log Message: Fix another fatal typo that causes zskbd_cngetc() to stall as dzkbd. Tested on my DEC 3000/300 and LK421. Should be pulled up to netbsd-10 and

CVS commit: src/sys/dev/tc

2024-02-16 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Feb 17 06:35:25 UTC 2024 Modified Files: src/sys/dev/tc: zskbd.c Log Message: Fix another fatal typo that causes zskbd_cngetc() to stall as dzkbd. Tested on my DEC 3000/300 and LK421. Should be pulled up to netbsd-10 and