CVS commit: src/sys/dev

2022-03-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 06:40:12 UTC 2022 Modified Files: src/sys/dev/ic: bwfm.c bwfmreg.h bwfmvar.h src/sys/dev/sdmmc: if_bwfm_sdio.c Log Message: Add OpenBSD to code to optionally load CLM (Country Locale Matrix) files. To generat

CVS commit: src/sys/dev

2022-03-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 14 06:40:12 UTC 2022 Modified Files: src/sys/dev/ic: bwfm.c bwfmreg.h bwfmvar.h src/sys/dev/sdmmc: if_bwfm_sdio.c Log Message: Add OpenBSD to code to optionally load CLM (Country Locale Matrix) files. To generat

CVS commit: src/libexec/httpd

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:58:36 UTC 2022 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: in bozo_init_prefs(), default to returning 1 (success) and if a bozo_set_pref() fails, return 0 instead. fixes PR#54785 but with a different pa

CVS commit: src/libexec/httpd

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:58:36 UTC 2022 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: in bozo_init_prefs(), default to returning 1 (success) and if a bozo_set_pref() fails, return 0 instead. fixes PR#54785 but with a different pa

CVS commit: src/external/gpl2/gmake/dist/doc

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:50:08 UTC 2022 Modified Files: src/external/gpl2/gmake/dist/doc: Makefile.in Log Message: apply some NetBSD_Disabled_make.info: love to avoid a source tree timestamp issue with read-only sources. fixes PR#42497. To g

CVS commit: src/external/gpl2/gmake/dist/doc

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:50:08 UTC 2022 Modified Files: src/external/gpl2/gmake/dist/doc: Makefile.in Log Message: apply some NetBSD_Disabled_make.info: love to avoid a source tree timestamp issue with read-only sources. fixes PR#42497. To g

CVS commit: src/libexec/httpd

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:06:59 UTC 2022 Modified Files: src/libexec/httpd: dir-index-bozo.c Log Message: check for scandir() returning -1. should handle PR#56358. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/libexec/http

CVS commit: src/libexec/httpd

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 14 05:06:59 UTC 2022 Modified Files: src/libexec/httpd: dir-index-bozo.c Log Message: check for scandir() returning -1. should handle PR#56358. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/libexec/http

CVS commit: src/sys/arch/mips/mips

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 22:18:56 UTC 2022 Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: s/entreed/entered/ To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/mips/mips/locore_mips1.S Please note

CVS commit: src/sys/arch/mips/mips

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 22:18:56 UTC 2022 Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: s/entreed/entered/ To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/mips/mips/locore_mips1.S Please note

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:42:39 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Fix some error branches in tunwrite. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/net/if_tun.c Please note th

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:42:39 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Fix some error branches in tunwrite. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/net/if_tun.c Please note th

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:43 UTC 2022 Modified Files: src/sys/net: if_tun.c if_tun.h Log Message: tun(4): Omit TUN_RWAIT micro-optimization. cv_broadcast aleady has a fast path for no-waiters. To generate a diff of this commit: cvs r

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:43 UTC 2022 Modified Files: src/sys/net: if_tun.c if_tun.h Log Message: tun(4): Omit TUN_RWAIT micro-optimization. cv_broadcast aleady has a fast path for no-waiters. To generate a diff of this commit: cvs r

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:35 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Deliver SIGIO for hangup under tun_lock. Otherwise, tp->tun_pgid is not stable. To generate a diff of this commit: cvs rdiff -u -r1.168

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:35 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Deliver SIGIO for hangup under tun_lock. Otherwise, tp->tun_pgid is not stable. To generate a diff of this commit: cvs rdiff -u -r1.168

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:27 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Reduce lock from IPL_NET to IPL_SOFTNET. This is never taken from hardware interrupt handlers any more, as far as I can tell -- only SOFTI

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:27 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Reduce lock from IPL_NET to IPL_SOFTNET. This is never taken from hardware interrupt handlers any more, as far as I can tell -- only SOFTI

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:15 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Reduce tun_softc_lock from IPL_NET to IPL_NONE. This is always taken in process/thread context, never in interrupt context, hard or soft.

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:15 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Reduce tun_softc_lock from IPL_NET to IPL_NONE. This is always taken in process/thread context, never in interrupt context, hard or soft.

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:07 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Factor out setup/teardown into separate routines. - Reduce duplication. - Plug softint leak on recycling tun. (This recycling business se

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:32:07 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Factor out setup/teardown into separate routines. - Reduce duplication. - Plug softint leak on recycling tun. (This recycling business se

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:31:58 UTC 2022 Modified Files: src/sys/net: if_tun.h Log Message: tun(4): Add missing includes in if_tun.h. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net/if_tun.h Please note that di

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:31:58 UTC 2022 Modified Files: src/sys/net: if_tun.h Log Message: tun(4): Add missing includes in if_tun.h. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net/if_tun.h Please note that di

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:31:47 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Add missing cv_destroy in tunclose. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/net/if_tun.c Please note tha

CVS commit: src/sys/net

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 21:31:47 UTC 2022 Modified Files: src/sys/net: if_tun.c Log Message: tun(4): Add missing cv_destroy in tunclose. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/net/if_tun.c Please note tha

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 20:44:06 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usb: Fix debug build. To generate a diff of this commit: cvs rdiff -u -r1.273 -r1.274 src/sys/dev/usb/usb_subr.c Please note that diffs ar

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 20:44:06 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usb: Fix debug build. To generate a diff of this commit: cvs rdiff -u -r1.273 -r1.274 src/sys/dev/usb/usb_subr.c Please note that diffs ar

Re: CVS commit: src/etc

2022-03-13 Thread Brad Spencer
Greg Troxel writes: [snip] > > I am opposed to deciding that all zfs filesystems should be treated as > critical (in a world where we have not abolished the notion). > > We could have a discussion about why we even have the concept of > critical filesystems, but if so that should not be

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

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Mar 13 19:32:07 UTC 2022 Removed Files: src/sys/arch/arm/dts: rk3399-pinebook-pro.dts Log Message: don't disable the spi any more. it works fine (and i'm booting from it on one pbp directly to nvme.) To generate a diff of this

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

2022-03-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Mar 13 19:32:07 UTC 2022 Removed Files: src/sys/arch/arm/dts: rk3399-pinebook-pro.dts Log Message: don't disable the spi any more. it works fine (and i'm booting from it on one pbp directly to nvme.) To generate a diff of this

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 18:37:10 UTC 2022 Modified Files: src/sys/kern: kern_physio.c Log Message: kern: Use harmless, not harmful, integer truncation in physio. Reported-by: syzbot+13abd9bc700f7ceac...@syzkaller.appspotmail.com To gener

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 18:37:10 UTC 2022 Modified Files: src/sys/kern: kern_physio.c Log Message: kern: Use harmless, not harmful, integer truncation in physio. Reported-by: syzbot+13abd9bc700f7ceac...@syzkaller.appspotmail.com To gener

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 17:52:46 UTC 2022 Modified Files: src/sys/kern: subr_time.c Log Message: kern: Fix fencepost error in ts2timo overflow checks. Triggered by clock_settime({.tv_sec=0, .tv_nsec=0}) clock_nanosleep({.tv_sec=LLONG_MIN,

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 17:52:46 UTC 2022 Modified Files: src/sys/kern: subr_time.c Log Message: kern: Fix fencepost error in ts2timo overflow checks. Triggered by clock_settime({.tv_sec=0, .tv_nsec=0}) clock_nanosleep({.tv_sec=LLONG_MIN,

CVS commit: src

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 17:50:55 UTC 2022 Modified Files: src/lib/libc/sys: sa_enable.2 sa_yield.2 src/sys/arch/atari/atari: machdep.c src/sys/arch/mips/mips: cache.c locore_mips1.S mipsX_subr.S trap.c src/sys/arch/power

CVS commit: src

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 17:50:55 UTC 2022 Modified Files: src/lib/libc/sys: sa_enable.2 sa_yield.2 src/sys/arch/atari/atari: machdep.c src/sys/arch/mips/mips: cache.c locore_mips1.S mipsX_subr.S trap.c src/sys/arch/power

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 17:21:29 UTC 2022 Modified Files: src/sys/kern: kern_proc.c Log Message: kern: Fix ordering of loads for pid_table and pid_tbl_mask. This introduces a load-acquire where there was none before. This is a simple corr

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 17:21:29 UTC 2022 Modified Files: src/sys/kern: kern_proc.c Log Message: kern: Fix ordering of loads for pid_table and pid_tbl_mask. This introduces a load-acquire where there was none before. This is a simple corr

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:26:54 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: add braces around multi-line loop body No functional change. To generate a diff of this commit: cvs rdiff -u -r1.410 -r1.411 src/us

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:26:54 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: add braces around multi-line loop body No functional change. To generate a diff of this commit: cvs rdiff -u -r1.410 -r1.411 src/us

CVS commit: src/doc

2022-03-13 Thread Takahiro Kambe
Module Name:src Committed By: taca Date: Sun Mar 13 15:23:39 UTC 2022 Modified Files: src/doc: 3RDPARTY Log Message: ISC DHCP 4.4.3 released. To generate a diff of this commit: cvs rdiff -u -r1.1842 -r1.1843 src/doc/3RDPARTY Please note that diffs are not public domain;

CVS commit: src/doc

2022-03-13 Thread Takahiro Kambe
Module Name:src Committed By: taca Date: Sun Mar 13 15:23:39 UTC 2022 Modified Files: src/doc: 3RDPARTY Log Message: ISC DHCP 4.4.3 released. To generate a diff of this commit: cvs rdiff -u -r1.1842 -r1.1843 src/doc/3RDPARTY Please note that diffs are not public domain;

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:20:50 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up comments, explain assertion in inssym To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/usr.bin/xlint/lint

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:20:50 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up comments, explain assertion in inssym To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/usr.bin/xlint/lint

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:17:08 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use an unsigned counter for temporary variable names No functional change. To generate a diff of this commit: cvs rdiff -u -r1.111 -

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:17:08 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use an unsigned counter for temporary variable names No functional change. To generate a diff of this commit: cvs rdiff -u -r1.111 -

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:08:41 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: improve debug logging for the symbol table Only print the heading for the symbol table level if there is actually a symbol on that lev

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 15:08:41 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: improve debug logging for the symbol table Only print the heading for the symbol table level if there is actually a symbol on that lev

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 14:49:18 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix off-by-one error in symbol table No functional change since the error was in the "safe" direction. To generate a diff of this co

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 14:49:18 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix off-by-one error in symbol table No functional change since the error was in the "safe" direction. To generate a diff of this co

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 14:40:36 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h lex.c Log Message: lint: rename function 'cleanup' to be more expressive No functional change. To generate a diff of this commit: cvs rdiff

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

2022-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 13 14:40:36 UTC 2022 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h lex.c Log Message: lint: rename function 'cleanup' to be more expressive No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/distrib/miniroot

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 14:20:24 UTC 2022 Modified Files: src/distrib/miniroot: install.sub Log Message: fix few typos in comments and output message. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/distrib/miniroot/install

CVS commit: src/distrib/miniroot

2022-03-13 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 13 14:20:24 UTC 2022 Modified Files: src/distrib/miniroot: install.sub Log Message: fix few typos in comments and output message. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/distrib/miniroot/install

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:52:53 UTC 2022 Modified Files: src/sys/kern: vfs_vnops.c Log Message: vfs(9): Avoid arithmetic overflow in vn_seek. Reported-by: syzbot+b9f9a02148a40675c...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:52:53 UTC 2022 Modified Files: src/sys/kern: vfs_vnops.c Log Message: vfs(9): Avoid arithmetic overflow in vn_seek. Reported-by: syzbot+b9f9a02148a40675c...@syzkaller.appspotmail.com To generate a diff of this

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:18:22 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usbdi(9): Fix mistake in previous change to usbd_fill_iface_data. The previous change stopped and rejected any descriptors smaller than an e

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:18:22 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: usbdi(9): Fix mistake in previous change to usbd_fill_iface_data. The previous change stopped and rejected any descriptors smaller than an e

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:07:39 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usbdi(9): Fix paste-o in previous change to usbd_ar_pipe. To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/dev/usb/usbd

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 13:07:39 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usbdi(9): Fix paste-o in previous change to usbd_ar_pipe. To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/dev/usb/usbd

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:57:33 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: ntp(9): Avoid left shift of negative. Kinda silly that this is UB at all... Reported-by: syzbot+baf29c7f0756293b8...@syzkaller.appspotmail

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:57:33 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: ntp(9): Avoid left shift of negative. Kinda silly that this is UB at all... Reported-by: syzbot+baf29c7f0756293b8...@syzkaller.appspotmail

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:49:37 UTC 2022 Modified Files: src/sys/dev/usb: auvitek.c auvitek_audio.c auvitek_dtv.c auvitek_i2c.c auvitek_video.c auvitekvar.h Log Message: auvitek(4): Fix i2c detach if attach failed. While here,

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:49:37 UTC 2022 Modified Files: src/sys/dev/usb: auvitek.c auvitek_audio.c auvitek_dtv.c auvitek_i2c.c auvitek_video.c auvitekvar.h Log Message: auvitek(4): Fix i2c detach if attach failed. While here,

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:30:47 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: ntp(9): Clamp ntv->offset to avoid arithmetic overflow on adjtime. Reported-by: syzbot+b8406db60db886506...@syzkaller.appspotmail.com To

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:30:47 UTC 2022 Modified Files: src/sys/kern: kern_ntptime.c Log Message: ntp(9): Clamp ntv->offset to avoid arithmetic overflow on adjtime. Reported-by: syzbot+b8406db60db886506...@syzkaller.appspotmail.com To

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:21:28 UTC 2022 Modified Files: src/sys/kern: kern_time.c Log Message: kern: Handle clock winding back in nanosleep1 without overflow. Reported-by: syzbot+3bdd260582424a611...@syzkaller.appspotmail.com To genera

CVS commit: src/sys/kern

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 12:21:28 UTC 2022 Modified Files: src/sys/kern: kern_time.c Log Message: kern: Handle clock winding back in nanosleep1 without overflow. Reported-by: syzbot+3bdd260582424a611...@syzkaller.appspotmail.com To genera

CVS commit: src/sys/dev/hid

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:35:47 UTC 2022 Modified Files: src/sys/dev/hid: hid.c Log Message: hid: Avoid arithmetic overflow by rearranging inequalities. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.c P

CVS commit: src/sys/dev/hid

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:35:47 UTC 2022 Modified Files: src/sys/dev/hid: hid.c Log Message: hid: Avoid arithmetic overflow by rearranging inequalities. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.c P

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:30:13 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdi_util.c Log Message: usb: Parse descriptors a little more robustly. - Avoid reading past the end in the event of bogus bLength. - Avoid arit

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:30:13 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdi_util.c Log Message: usb: Parse descriptors a little more robustly. - Avoid reading past the end in the event of bogus bLength. - Avoid arit

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:30:04 UTC 2022 Modified Files: src/sys/dev/usb: xhci.c xhcivar.h Log Message: xhci(4): Serialize access to portsc registers. Both xhci_roothub_ctrl and xhci_suspend/resume do r/m/w on them, so use a mutex to seri

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:30:04 UTC 2022 Modified Files: src/sys/dev/usb: xhci.c xhcivar.h Log Message: xhci(4): Serialize access to portsc registers. Both xhci_roothub_ctrl and xhci_suspend/resume do r/m/w on them, so use a mutex to seri

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:55 UTC 2022 Modified Files: src/sys/dev/usb: xhci.c Log Message: xhci(4): Restore synchronous abort. In revision 1.155, I made the logic to abort the hardware asynchronous, under the misapprehension that it is

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:55 UTC 2022 Modified Files: src/sys/dev/usb: xhci.c Log Message: xhci(4): Restore synchronous abort. In revision 1.155, I made the logic to abort the hardware asynchronous, under the misapprehension that it is

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:46 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Stop taking the intr lock in uhci_run. Not needed for anything here. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:46 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Stop taking the intr lock in uhci_run. Not needed for anything here. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:38 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Simplify uhci_run. `locked' is always 0 now. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.313

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:38 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Simplify uhci_run. `locked' is always 0 now. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.313

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:31 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Fix synchronization between suspend/resume and poll hub. - sc_intr_lock is not relevant to anything here -- stop using it. - Never sche

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:31 UTC 2022 Modified Files: src/sys/dev/usb: uhci.c Log Message: uhci(4): Fix synchronization between suspend/resume and poll hub. - sc_intr_lock is not relevant to anything here -- stop using it. - Never sche

CVS commit: src/sys/dev

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:21 UTC 2022 Modified Files: src/sys/dev/pci: ehci_pci.c src/sys/dev/usb: ehci.c ehcivar.h Log Message: ehci(4): Serialize access to portsc registers. Both ehci_roothub_ctrl and ehci_suspend/resume do r

CVS commit: src/sys/dev

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:21 UTC 2022 Modified Files: src/sys/dev/pci: ehci_pci.c src/sys/dev/usb: ehci.c ehcivar.h Log Message: ehci(4): Serialize access to portsc registers. Both ehci_roothub_ctrl and ehci_suspend/resume do r

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:10 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c ehcivar.h Log Message: ehci(4): Fix doorbell synchronization. ehci_sync_hc was previously subject to spurious wakeup, in which case the CPU might proceed fro

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:10 UTC 2022 Modified Files: src/sys/dev/usb: ehci.c ehcivar.h Log Message: ehci(4): Fix doorbell synchronization. ehci_sync_hc was previously subject to spurious wakeup, in which case the CPU might proceed fro

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:01 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb: Clarify contract of usbd_xfer_trycomplete. No functional change. This rule has always been in place since usbd_xfer_trycomplete was creat

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:29:01 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usb: Clarify contract of usbd_xfer_trycomplete. No functional change. This rule has always been in place since usbd_xfer_trycomplete was creat

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:52 UTC 2022 Modified Files: src/sys/dev/usb: usb.c usbdivar.h usbroothub.c Log Message: usb: Fix roothub ctrl xfer aborts. No mechanism for actually aborting, but at least this now waits for the xfer to have c

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:52 UTC 2022 Modified Files: src/sys/dev/usb: usb.c usbdivar.h usbroothub.c Log Message: usb: Fix roothub ctrl xfer aborts. No mechanism for actually aborting, but at least this now waits for the xfer to have c

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:42 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h Log Message: usbdi(9): Assert no concurrent aborts on a single pipe. It is a driver bug to try to abort a pipe at the same time in two

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:42 UTC 2022 Modified Files: src/sys/dev/usb: usb_subr.c usbdi.c usbdivar.h Log Message: usbdi(9): Assert no concurrent aborts on a single pipe. It is a driver bug to try to abort a pipe at the same time in two

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:33 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usbdi(9): Assert sleepable in usbd_ar_pipe. Caller of usbd_suspend_pipe or usbd_abort_pipe must be prepared to sleep for hardware to acknowledg

CVS commit: src/sys/dev/usb

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:28:33 UTC 2022 Modified Files: src/sys/dev/usb: usbdi.c Log Message: usbdi(9): Assert sleepable in usbd_ar_pipe. Caller of usbd_suspend_pipe or usbd_abort_pipe must be prepared to sleep for hardware to acknowledg

CVS commit: [netbsd-8] src/doc

2022-03-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 13 09:54:47 UTC 2022 Modified Files: src/doc [netbsd-8]: CHANGES-8.3 Log Message: Ticket #1737 To generate a diff of this commit: cvs rdiff -u -r1.1.2.122 -r1.1.2.123 src/doc/CHANGES-8.3 Please note that diffs are not p

CVS commit: [netbsd-8] src/doc

2022-03-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 13 09:54:47 UTC 2022 Modified Files: src/doc [netbsd-8]: CHANGES-8.3 Log Message: Ticket #1737 To generate a diff of this commit: cvs rdiff -u -r1.1.2.122 -r1.1.2.123 src/doc/CHANGES-8.3 Please note that diffs are not p

CVS commit: [netbsd-8] src/usr.bin/man

2022-03-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 13 09:54:01 UTC 2022 Modified Files: src/usr.bin/man [netbsd-8]: man.c Log Message: Pull up following revision(s) (requested by gutteridge in ticket #1737): usr.bin/man/man.c: revision 1.69 usr.bin/man/man

CVS commit: [netbsd-8] src/usr.bin/man

2022-03-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 13 09:54:01 UTC 2022 Modified Files: src/usr.bin/man [netbsd-8]: man.c Log Message: Pull up following revision(s) (requested by gutteridge in ticket #1737): usr.bin/man/man.c: revision 1.69 usr.bin/man/man

CVS commit: [netbsd-9] src/doc

2022-03-13 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 13 09:53:12 UTC 2022 Modified Files: src/doc [netbsd-9]: CHANGES-9.3 Log Message: Tickets #1431 - #1433 To generate a diff of this commit: cvs rdiff -u -r1.1.2.79 -r1.1.2.80 src/doc/CHANGES-9.3 Please note that diffs ar

  1   2   >