CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Jan 2 08:08:30 UTC 2020 Modified Files: src/sys/dev/usb: umidi.c Log Message: Remove the call to KERNEL_UNLOCK_ONE(), it was forgotten when the biglock was dropped in rev1.63. Found via vHCI. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/umidi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: martin Date: Thu Jan 2 08:49:10 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: Add shutting_down variable for rump. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 src/sys/rump/librump/rumpkern/emul.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/fstyp
Module Name:src Committed By: tkusumi Date: Thu Jan 2 08:52:42 UTC 2020 Modified Files: src/usr.sbin/fstyp: fstyp.c Log Message: fstyp: Fix "exfat: iconv_open UCS-2LE: Invalid argument" failure Fix below error for the time being. The removed code is only relevant to Capsicum. $ fstyp -l /dev/wd1 fstyp: exfat: iconv_open UCS-2LE: Invalid argument To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/fstyp/fstyp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/usr.sbin/postinstall
Module Name:src Committed By: martin Date: Thu Jan 2 09:09:01 UTC 2020 Modified Files: src/usr.sbin/postinstall [netbsd-9]: postinstall.in Log Message: Pull up following revision(s) (requested by tsutsui in ticket #592): usr.sbin/postinstall/postinstall.in: revision 1.9 usr.sbin/postinstall/postinstall.in: revision 1.10 usr.sbin/postinstall/postinstall.in: revision 1.11 usr.sbin/postinstall/postinstall.in: revision 1.12 remove debugging. PR/54730: Izumi Tsutsui: Use /var/db/obsolete/ to remove obsolete rc.d files when not in $SOURCEMODE. PR/54730: Izumi Tsutsui: obsolete etc files are not being cleaned up on an upgrade build. Make sure rc, rc.subr, and rc.shutdown are properly updated. Currently there is no info which rc* files should be updated or not on upgrade (at least rc.conf and rc.local shouldn't), so put back an explicit list in the postinstall script. "Go for it" by christos@ in PR/54741. Should be pulled up to netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.5.2.2 -r1.5.2.3 src/usr.sbin/postinstall/postinstall.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/dev/audio
Module Name:src Committed By: martin Date: Thu Jan 2 09:18:15 UTC 2020 Modified Files: src/sys/dev/audio [netbsd-9]: audio.c Log Message: Pull up following revision(s) (requested by isaki in ticket #593): sys/dev/audio/audio.c: revision 1.34 sys/dev/audio/audio.c: revision 1.35 Use M_WAITOK instead of M_NOWAIT. These allocations don't require NOWAIT constraints. Will fix PR kern/54796. - Improve and simplify around audio_realloc(). To generate a diff of this commit: cvs rdiff -u -r1.28.2.4 -r1.28.2.5 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/arch/x68k/include
Module Name:src Committed By: martin Date: Thu Jan 2 09:23:47 UTC 2020 Modified Files: src/sys/arch/x68k/include [netbsd-9]: param.h Log Message: Pull up following revision(s) (requested by isaki in ticket #594): sys/arch/x68k/include/param.h: revision 1.29 Bump MSGBUFSIZE (2 * NBPG). Since timestamp was introduced, it was too small to store full dmesg of one boot. And putting this behind of #include had no effect. This was fixed on many arch in 1997 but x68k was not... http://mail-index.netbsd.org/source-changes/1997/09/20/0021.html To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.28.52.1 src/sys/arch/x68k/include/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/dev/usb
Module Name:src Committed By: martin Date: Thu Jan 2 09:42:06 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-9]: ucycom.c uhid.c uthum.c Log Message: Pull up following revision(s) (requested by maxv in ticket #595): sys/dev/usb/uthum.c: revision 1.18 sys/dev/usb/ucycom.c: revision 1.49 sys/dev/usb/uhid.c: revision 1.111 Fix buffer overflows. sc_{o,f}len are controlled by the USB device. By crafting the former the device can leak stack data. By crafting the latter the device can overwrite the stack. The combination of the two means the device can ROP the kernel and obtain code execution (demonstrated with an actual exploit over vHCI). Truncate the lengths to the size of the buffers, and also drop sc_ilen since it is unused. Patch tested with vHCI+kASan. - Fix buffer overflows. Also add missing mutex_exit. - Fix buffer overflows: validate the lengths at attach time, given that they are apparently not supposed to be variable. Drop sc_ilen since it is unused. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.47.2.1 src/sys/dev/usb/ucycom.c cvs rdiff -u -r1.108 -r1.108.2.1 src/sys/dev/usb/uhid.c cvs rdiff -u -r1.16 -r1.16.2.1 src/sys/dev/usb/uthum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/usb
Module Name:src Committed By: martin Date: Thu Jan 2 09:43:56 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-8]: ucycom.c uhid.c uthum.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1480): sys/dev/usb/uthum.c: revision 1.18 sys/dev/usb/ucycom.c: revision 1.49 sys/dev/usb/uhid.c: revision 1.111 Fix buffer overflows. sc_{o,f}len are controlled by the USB device. By crafting the former the device can leak stack data. By crafting the latter the device can overwrite the stack. The combination of the two means the device can ROP the kernel and obtain code execution (demonstrated with an actual exploit over vHCI). Truncate the lengths to the size of the buffers, and also drop sc_ilen since it is unused. Patch tested with vHCI+kASan. - Fix buffer overflows. Also add missing mutex_exit. - Fix buffer overflows: validate the lengths at attach time, given that they are apparently not supposed to be variable. Drop sc_ilen since it is unused. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.45.8.1 src/sys/dev/usb/ucycom.c cvs rdiff -u -r1.99 -r1.99.6.1 src/sys/dev/usb/uhid.c cvs rdiff -u -r1.13 -r1.13.8.1 src/sys/dev/usb/uthum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/usr.bin/mkubootimage
Module Name:src Committed By: martin Date: Thu Jan 2 09:47:06 UTC 2020 Modified Files: src/usr.bin/mkubootimage [netbsd-9]: mkubootimage.c Log Message: Pull up following revision(s) (requested by skrll in ticket #596): usr.bin/mkubootimage/mkubootimage.c: revision 1.28 usr.bin/mkubootimage/mkubootimage.c: revision 1.29 Adjust image size appropriately when using update_image OK jmcneill Avoid mixing signed/unsigned arguments to the ? operator. To generate a diff of this commit: cvs rdiff -u -r1.24.6.1 -r1.24.6.2 src/usr.bin/mkubootimage/mkubootimage.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/compat
Module Name:src Committed By: martin Date: Thu Jan 2 09:50:34 UTC 2020 Modified Files: src/sys/compat/common [netbsd-9]: kern_sig_43.c src/sys/compat/netbsd32 [netbsd-9]: netbsd32_compat_20.c netbsd32_compat_43.c netbsd32_compat_50.c Log Message: Pull up following revision(s) (requested by maxv in ticket #597): sys/compat/common/kern_sig_43.c: revision 1.36 sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.39 sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.59 sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.44 Fix sizeof mismatch in copyin. This leads to a user-triggerable stack overflow. On my test build at least, by luck, the compiler orders the variables in a way that the overflow hits only local structures which haven't yet been initialized and used, so the overflow is harmless. Very easily seeable with kASan - just invoke the syscall from a 32bit binary. Fix three stack info leaks, found by kMSan when just invoking all syscalls with a zero page as argument. MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb32' From compat_20_netbsd32_getfsstat() MSan: Uninitialized Stack Memory In copyout() At Offset 12, Variable 'oss' From compat_43_sys_sigstack() MSan: Uninitialized Stack Memory In copyout() At Offset 0, Variable 'sb' From compat_50_netbsd32___fhstat40() To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.35.4.1 src/sys/compat/common/kern_sig_43.c cvs rdiff -u -r1.38 -r1.38.4.1 src/sys/compat/netbsd32/netbsd32_compat_20.c cvs rdiff -u -r1.57.4.1 -r1.57.4.2 \ src/sys/compat/netbsd32/netbsd32_compat_43.c cvs rdiff -u -r1.39.2.1 -r1.39.2.2 \ src/sys/compat/netbsd32/netbsd32_compat_50.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/conf
Module Name:src Committed By: martin Date: Thu Jan 2 09:52:22 UTC 2020 Modified Files: src/sys/conf [netbsd-9]: copyright Log Message: Pull up following revision(s) (requested by mlelstv in ticket #598): sys/conf/copyright: revision 1.18 Welcome to 2020. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.17.4.1 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/conf
Module Name:src Committed By: martin Date: Thu Jan 2 09:53:33 UTC 2020 Modified Files: src/sys/conf [netbsd-8]: copyright Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1481): sys/conf/copyright: revision 1.18 Welcome to 2020. To generate a diff of this commit: cvs rdiff -u -r1.15.8.2 -r1.15.8.3 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Thu Jan 2 09:55:10 UTC 2020 Modified Files: src/doc [netbsd-8]: CHANGES-8.2 Log Message: Ticets #1480 and #1481 To generate a diff of this commit: cvs rdiff -u -r1.1.2.85 -r1.1.2.86 src/doc/CHANGES-8.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7] src/sys/conf
Module Name:src Committed By: martin Date: Thu Jan 2 09:56:13 UTC 2020 Modified Files: src/sys/conf [netbsd-7]: copyright Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1719): sys/conf/copyright: revision 1.18 Welcome to 2020. To generate a diff of this commit: cvs rdiff -u -r1.12.4.4 -r1.12.4.5 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7] src/doc
Module Name:src Committed By: martin Date: Thu Jan 2 09:56:51 UTC 2020 Modified Files: src/doc [netbsd-7]: CHANGES-7.3 Log Message: Ticket #1719 To generate a diff of this commit: cvs rdiff -u -r1.1.2.73 -r1.1.2.74 src/doc/CHANGES-7.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-1] src/sys/conf
Module Name:src Committed By: martin Date: Thu Jan 2 09:57:15 UTC 2020 Modified Files: src/sys/conf [netbsd-7-1]: copyright Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1719): sys/conf/copyright: revision 1.18 Welcome to 2020. To generate a diff of this commit: cvs rdiff -u -r1.12.4.2.2.2 -r1.12.4.2.2.3 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-0] src/sys/conf
Module Name:src Committed By: martin Date: Thu Jan 2 09:57:59 UTC 2020 Modified Files: src/sys/conf [netbsd-7-0]: copyright Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1719): sys/conf/copyright: revision 1.18 Welcome to 2020. To generate a diff of this commit: cvs rdiff -u -r1.12.4.1.2.3 -r1.12.4.1.2.4 src/sys/conf/copyright Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-1] src/doc
Module Name:src Committed By: martin Date: Thu Jan 2 09:57:40 UTC 2020 Modified Files: src/doc [netbsd-7-1]: CHANGES-7.1.3 Log Message: Ticket #1719 To generate a diff of this commit: cvs rdiff -u -r1.1.2.65 -r1.1.2.66 src/doc/CHANGES-7.1.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-0] src/doc
Module Name:src Committed By: martin Date: Thu Jan 2 09:58:20 UTC 2020 Modified Files: src/doc [netbsd-7-0]: CHANGES-7.0.3 Log Message: Ticket #1719 To generate a diff of this commit: cvs rdiff -u -r1.1.2.158 -r1.1.2.159 src/doc/CHANGES-7.0.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/arch/arm/broadcom
Module Name:src Committed By: martin Date: Thu Jan 2 10:01:04 UTC 2020 Modified Files: src/sys/arch/arm/broadcom [netbsd-9]: bcm283x_platform.c Log Message: Pull up following revision(s) (requested by skrll in ticket #599): sys/arch/arm/broadcom/bcm283x_platform.c: revision 1.34 (patch) Provide a single generic bcm283x_platform_uart_freq which checks for "brcm,bcm2835-aux-uart" and returns the appropriate core clock based results; otherwise it returns the uart clock from firmware. Should fix early console output on the rpi0w. Based on a diff from mlelstv To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.4.1 src/sys/arch/arm/broadcom/bcm283x_platform.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/doc
Module Name:src Committed By: martin Date: Thu Jan 2 10:02:26 UTC 2020 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Tickets #592 - #599 To generate a diff of this commit: cvs rdiff -u -r1.1.2.151 -r1.1.2.152 src/doc/CHANGES-9.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/conf
Module Name:src Committed By: skrll Date: Thu Jan 2 14:33:55 UTC 2020 Modified Files: src/sys/arch/arm/conf: Makefile.arm Log Message: gcc 8 needs -mapcs-frame when DDB is specified for backtrace to work To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/arm/conf/Makefile.arm Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: thorpej Date: Thu Jan 2 15:42:27 UTC 2020 Modified Files: src/sys/compat/common: kern_info_43.c kern_time_50.c src/sys/compat/netbsd32: netbsd32_sysctl.c src/sys/external/bsd/drm2/include/linux: ktime.h src/sys/fs/nfs/common: nfs_lock.c src/sys/kern: init_main.c init_sysctl.c kern_rndq.c kern_tc.c kern_time.c src/sys/miscfs/fdesc: fdesc_vnops.c src/sys/miscfs/kernfs: kernfs.h kernfs_vnops.c src/sys/miscfs/procfs: procfs_linux.c src/sys/nfs: nfs_serv.c src/sys/rump/librump/rumpkern: cons.c emul.c rump.c src/sys/sys: kernel.h timevar.h Log Message: - Eliminate the global "boottime" variable, which was being accessed without any synchronization against changes by e.g. clock_settime(). - Replace with new getbinboottime() / getnanoboottime() / getmicroboottime() functions (naming mirrors that of other time access functions in kern_tc.c). It returns the (maybe-converted) value of timebasebin, which also tracks our estimate of when the system was booted (i.e. the legacy "boottime" was redundant). XXX There needs to be a lockless synchronization mechanism for reading timebasebin, but this is a problem in kern_tc.c that pre-existed these "boottime" changes. At least now the problem is centralized in one location. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/compat/common/kern_info_43.c cvs rdiff -u -r1.33 -r1.34 src/sys/compat/common/kern_time_50.c cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/netbsd32_sysctl.c cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm2/include/linux/ktime.h cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/nfs_lock.c cvs rdiff -u -r1.516 -r1.517 src/sys/kern/init_main.c cvs rdiff -u -r1.222 -r1.223 src/sys/kern/init_sysctl.c cvs rdiff -u -r1.95 -r1.96 src/sys/kern/kern_rndq.c cvs rdiff -u -r1.53 -r1.54 src/sys/kern/kern_tc.c cvs rdiff -u -r1.202 -r1.203 src/sys/kern/kern_time.c cvs rdiff -u -r1.130 -r1.131 src/sys/miscfs/fdesc/fdesc_vnops.c cvs rdiff -u -r1.40 -r1.41 src/sys/miscfs/kernfs/kernfs.h cvs rdiff -u -r1.161 -r1.162 src/sys/miscfs/kernfs/kernfs_vnops.c cvs rdiff -u -r1.79 -r1.80 src/sys/miscfs/procfs/procfs_linux.c cvs rdiff -u -r1.177 -r1.178 src/sys/nfs/nfs_serv.c cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpkern/cons.c cvs rdiff -u -r1.194 -r1.195 src/sys/rump/librump/rumpkern/emul.c cvs rdiff -u -r1.338 -r1.339 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.31 -r1.32 src/sys/sys/kernel.h cvs rdiff -u -r1.39 -r1.40 src/sys/sys/timevar.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: thorpej Date: Thu Jan 2 15:43:11 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 9.99.33 -- boottime global is gone. To generate a diff of this commit: cvs rdiff -u -r1.633 -r1.634 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/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:18:37 UTC 2020 Modified Files: src/sys/dev/i2c: i2c_exec.c Log Message: Also force I2C_F_POLL if shutting_down. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/i2c_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:24:51 UTC 2020 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/i2c/ds1307.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:28:02 UTC 2020 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/m41st84.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:31:10 UTC 2020 Modified Files: src/sys/dev/i2c: m41t00.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/m41t00.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:33:08 UTC 2020 Modified Files: src/sys/dev/i2c: max6900.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/i2c/max6900.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:48:05 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8563.c Log Message: - No need to use I2C_F_POLL here. - Properly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/i2c/pcf8563.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:53:05 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8583.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/i2c/pcf8583.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: skrll Date: Thu Jan 2 16:51:54 UTC 2020 Modified Files: src/sys/kern: tty.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.281 -r1.282 src/sys/kern/tty.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: skrll Date: Thu Jan 2 16:52:55 UTC 2020 Modified Files: src/sys/kern: tty.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283 src/sys/kern/tty.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: ad Date: Thu Jan 2 16:56:58 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: rump: initialize pg->interlock To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/sys/rump/librump/rumpkern/vm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 17:03:05 UTC 2020 Modified Files: src/sys/dev/i2c: r2025.c Log Message: - No need to use I2C_F_POLL here. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/r2025.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 17:10:00 UTC 2020 Modified Files: src/sys/dev/i2c: rkpmic.c Log Message: No need to use I2C_F_POLL here. XXX This entire driver needs to have its error reporting overhauled. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/rkpmic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 17:17:36 UTC 2020 Modified Files: src/sys/dev/i2c: rs5c372.c Log Message: - No need to use I2C_F_POLL here. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/rs5c372.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 17:26:37 UTC 2020 Modified Files: src/sys/dev/i2c: s390.c Log Message: - No need to use I2C_F_POLL here. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/s390.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 17:40:27 UTC 2020 Modified Files: src/sys/dev/i2c: x1226.c Log Message: - No need to use I2C_F_POLL here. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/x1226.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 18:57:58 UTC 2020 Modified Files: src/sys/dev/i2c: max6900.c Log Message: - Use todr_gettime_ymdhms / todr_settime_ymdhms. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/max6900.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 19:00:34 UTC 2020 Modified Files: src/sys/dev/i2c: r2025.c s390.c x1226.c Log Message: Use todr_gettime_ymdhms / todr_settime_ymdhms. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/r2025.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/s390.c cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/x1226.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/crunch/crunchgen
Module Name:src Committed By: christos Date: Thu Jan 2 19:02:41 UTC 2020 Modified Files: src/usr.bin/crunch/crunchgen: crunchgen.1 Log Message: Provide a migration guide from the old flags to -V. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.bin/crunch/crunchgen/crunchgen.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: christos Date: Thu Jan 2 19:05:03 UTC 2020 Modified Files: src/doc: CHANGES Log Message: Add an entry for crunchgen To generate a diff of this commit: cvs rdiff -u -r1.2629 -r1.2630 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 19:11:12 UTC 2020 Modified Files: src/sys/dev/i2c: m41t00.c Log Message: - Use todr_gettime_ymdhms / todr_settime_ymdhms. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/m41t00.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86
Module Name:src Committed By: ad Date: Thu Jan 2 19:20:02 UTC 2020 Modified Files: src/sys/arch/x86/include: pmap_pv.h src/sys/arch/x86/x86: pmap.c Log Message: Replace the pv_hash_locks with atomic ops. Leave the hash table at the same size for now: with the hash table size doubled, system time for a build drops 10-15%, but user time starts to rise suspiciously, presumably because the cache is wrecked. Need to try another data structure. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/include/pmap_pv.h cvs rdiff -u -r1.349 -r1.350 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: thorpej Date: Thu Jan 2 19:24:48 UTC 2020 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: - Use todr_gettime_ymdhms / todr_settime_ymdhms. - Correctly propagate errors up the stack. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/m41st84.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: ad Date: Thu Jan 2 21:17:14 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove unused argment to pmap_remove_pv(). To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86
Module Name:src Committed By: ad Date: Thu Jan 2 21:39:42 UTC 2020 Modified Files: src/sys/arch/x86/include: pmap_pv.h src/sys/arch/x86/x86: pmap.c Log Message: Back the pv_hash stuff out. Now seeing errors from ATOMIC_*. For another day. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/include/pmap_pv.h cvs rdiff -u -r1.351 -r1.352 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jmcneill Date: Thu Jan 2 22:06:59 UTC 2020 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: es8316ac.c Log Message: Add driver for Everest Semi ES8316 Low Power Audio CODEC To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/dev/i2c/es8316ac.c cvs rdiff -u -r1.104 -r1.105 src/sys/dev/i2c/files.i2c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: jmcneill Date: Thu Jan 2 22:07:21 UTC 2020 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: add es8316, simpleamp To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/s3c2xx0
Module Name:src Committed By: thorpej Date: Thu Jan 2 22:24:11 UTC 2020 Modified Files: src/sys/arch/arm/s3c2xx0: s3c2440_rtc.c Log Message: Use todr_gettime_ymdhms / todr_settime_ymdhms. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/s3c2xx0/s3c2440_rtc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: thorpej Date: Thu Jan 2 22:27:15 UTC 2020 Modified Files: src/sys/arch/arm/xscale: pxa2x0_rtc.c Log Message: In the wristwatch case, use todr_gettime_ymdhms / todr_settime_ymdhms. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/xscale/pxa2x0_rtc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sparc/dev
Module Name:src Committed By: thorpej Date: Thu Jan 2 22:32:20 UTC 2020 Modified Files: src/sys/arch/sparc/dev: rtc.c Log Message: - Use todr_gettime_ymdhms / todr_settime_ymdhms. - Allocate the todr_handle with the softc, not separately. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/sparc/dev/rtc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/conf
Module Name:src Committed By: ryo Date: Thu Jan 2 23:01:54 UTC 2020 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: add aq(4). tested on rockpro64. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/ifconfig
Module Name:src Committed By: ryo Date: Thu Jan 2 23:02:19 UTC 2020 Modified Files: src/sbin/ifconfig: ether.c ifconfig.c Log Message: fix printing capabilities and enabled flags. no need to skip a prefix "0x" of output of snprintb. ifconfig expect the result of snprintb has "0x" prefix, but snprintb(3) specification has changed so that if 0 is passed, it prints "0" instead of "0x0". (common/lib/libutil/snprintb.c r1.22) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sbin/ifconfig/ether.c cvs rdiff -u -r1.240 -r1.241 src/sbin/ifconfig/ifconfig.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/crunch/crunchgen
Module Name:src Committed By: wiz Date: Thu Jan 2 23:21:14 UTC 2020 Modified Files: src/usr.bin/crunch/crunchgen: crunchgen.1 Log Message: New sentence, new line. Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/crunch/crunchgen/crunchgen.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/sgimips/dev
Module Name:src Committed By: thorpej Date: Thu Jan 2 23:51:48 UTC 2020 Modified Files: src/sys/arch/sgimips/dev: dpclock.c Log Message: Use todr_gettime_ymdhms / todr_settime_ymdhms. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sgimips/dev/dpclock.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: kamil Date: Fri Jan 3 00:37:30 UTC 2020 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Correct the rule to iterate over LWPs with PT_LWPNEXT and PT_LWPINFO Correctly exclude dead/dying/zombie and system threads. Fixes kern/54802 (gdb -p kills the kernel) by To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/kern/sys_ptrace_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jmcneill Date: Fri Jan 3 01:00:09 UTC 2020 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Avoid sleeping while the audio intr lock is held. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/es8316ac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jmcneill Date: Fri Jan 3 01:17:29 UTC 2020 Modified Files: src/sys/dev/i2c: rkpmic.c Log Message: If the rockchip,system-power-controller property is present, try to power off with the PMIC To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/rkpmic.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: thorpej Date: Fri Jan 3 01:24:48 UTC 2020 Modified Files: src/sys/kern: kern_todr.c Log Message: - In todr_gettime(), in the todr_gettime_ymdhms, pre-zero the clock_ymdhms struct before asking the back-end to fill it in. - Tidy up todr_settime() a teensy bit. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/kern/kern_todr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: thorpej Date: Fri Jan 3 03:44:42 UTC 2020 Modified Files: src/sys/arch/evbarm/conf: DNS323 IQ31244 src/sys/arch/evbmips/conf: GDIUM LOONGSON src/sys/arch/sandpoint/conf: GENERIC KUROBOX src/sys/dev/i2c: files.i2c m41st84.c Log Message: Eliminate all of the #ifdefs for the "strtc" driver. Define model properties (similar to what the "dsrtc" driver does), and provide DT compat strings corresponding to those models. Allow config flags to specify the model for non-FDT platforms (also like "dsrtc"). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/conf/DNS323 cvs rdiff -u -r1.74 -r1.75 src/sys/arch/evbarm/conf/IQ31244 cvs rdiff -u -r1.36 -r1.37 src/sys/arch/evbmips/conf/GDIUM cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbmips/conf/LOONGSON cvs rdiff -u -r1.102 -r1.103 src/sys/arch/sandpoint/conf/GENERIC cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sandpoint/conf/KUROBOX cvs rdiff -u -r1.105 -r1.106 src/sys/dev/i2c/files.i2c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/m41st84.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/fstyp
Module Name:src Committed By: mlelstv Date: Fri Jan 3 07:50:58 UTC 2020 Modified Files: src/usr.sbin/fstyp: fstyp.c Log Message: Recognize wedges and device mapper volumes as "disk". To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/fstyp/fstyp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.