CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Sat Feb 8 07:57:16 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Dedup usb_desc_iter_next with usb_desc_iter_peek. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/dev/usb/usbdi.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/usb
Module Name:src Committed By: maxv Date: Sat Feb 8 07:53:24 UTC 2020 Modified Files: src/sys/dev/usb: u3g.c uhmodem.c usbdi.c usbdi_util.c usbdi_util.h Log Message: Introduce usbd_clear_endpoint_feature(), and dedup. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/u3g.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/uhmodem.c cvs rdiff -u -r1.187 -r1.188 src/sys/dev/usb/usbdi.c cvs rdiff -u -r1.75 -r1.76 src/sys/dev/usb/usbdi_util.c cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/usbdi_util.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Sat Feb 8 07:38:17 UTC 2020 Modified Files: src/sys/dev/usb: usbdi.c usbdi.h uvideo.c Log Message: Move uvideo's parsers into usbdi.c, to make them global. Rename usb_desc_iter_peek_next -> usb_desc_iter_peek for consistency. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/sys/dev/usb/usbdi.c cvs rdiff -u -r1.97 -r1.98 src/sys/dev/usb/usbdi.h cvs rdiff -u -r1.53 -r1.54 src/sys/dev/usb/uvideo.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/pci
Module Name:src Committed By: maxv Date: Sat Feb 8 07:24:46 UTC 2020 Modified Files: src/sys/dev/pci: if_alc.c if_alcreg.h Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/if_alc.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_alcreg.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/pci
Module Name:src Committed By: maxv Date: Sat Feb 8 07:20:41 UTC 2020 Modified Files: src/sys/dev/pci: if_jme.c Log Message: localify To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/if_jme.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/pci
Module Name:src Committed By: maxv Date: Sat Feb 8 07:19:09 UTC 2020 Modified Files: src/sys/dev/pci: if_aq.c Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/if_aq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maxv Date: Sat Feb 8 07:07:07 UTC 2020 Modified Files: src/share/man/man4: options.4 src/share/mk: bsd.sys.mk src/sys/arch/amd64/conf: ALL GENERIC src/sys/arch/amd64/include: param.h src/sys/conf: files ssp.mk src/sys/kern: files.kern subr_pool.c sys_syscall.c src/sys/sys: systm.h src/sys/uvm: uvm_km.c Removed Files: src/sys/arch/amd64/include: kleak.h src/sys/kern: subr_kleak.c src/usr.sbin/kleak: Makefile kleak.c Log Message: Retire KLEAK. KLEAK was a nice feature and served its purpose; it allowed us to detect dozens of info leaks on the kernel->userland boundary, and thanks to it we tackled a good part of the infoleak problem 1.5 years ago. Nowadays however, we have kMSan, which can detect uninitialized memory in the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to detect, but in addition, (1) it operates in all of the kernel and not just the kernel->userland boundary, (2) it requires no user interaction, and (3) it is deterministic and not statistical. That makes kMSan the feature of choice to detect info leaks nowadays; people interested in detecting info leaks should boot a kMSan kernel and just wait for the magic to happen. KLEAK was a good ride, and a fun project, but now is time for it to go. Discussed with several people, including Thomas Barabosch. To generate a diff of this commit: cvs rdiff -u -r1.507 -r1.508 src/share/man/man4/options.4 cvs rdiff -u -r1.298 -r1.299 src/share/mk/bsd.sys.mk cvs rdiff -u -r1.144 -r1.145 src/sys/arch/amd64/conf/ALL cvs rdiff -u -r1.560 -r1.561 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.1 -r0 src/sys/arch/amd64/include/kleak.h cvs rdiff -u -r1.35 -r1.36 src/sys/arch/amd64/include/param.h cvs rdiff -u -r1.1254 -r1.1255 src/sys/conf/files cvs rdiff -u -r1.4 -r1.5 src/sys/conf/ssp.mk cvs rdiff -u -r1.42 -r1.43 src/sys/kern/files.kern cvs rdiff -u -r1.2 -r0 src/sys/kern/subr_kleak.c cvs rdiff -u -r1.265 -r1.266 src/sys/kern/subr_pool.c cvs rdiff -u -r1.12 -r1.13 src/sys/kern/sys_syscall.c cvs rdiff -u -r1.292 -r1.293 src/sys/sys/systm.h cvs rdiff -u -r1.153 -r1.154 src/sys/uvm/uvm_km.c cvs rdiff -u -r1.1 -r0 src/usr.sbin/kleak/Makefile src/usr.sbin/kleak/kleak.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/altq/altqstat
Module Name:src Committed By: fox Date: Sat Feb 8 01:01:31 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: Makefile Log Message: usr.sbin/altq: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/altq/altqstat/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/hack
Module Name:src Committed By: fox Date: Sat Feb 8 00:59:55 UTC 2020 Modified Files: src/games/hack: Makefile Log Message: games/hack: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/games/hack/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Sat Feb 8 00:47:57 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: LAG, MLAG, the G is for group, adjust MCLAG To generate a diff of this commit: cvs rdiff -u -r1.297 -r1.298 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: sevan Date: Sat Feb 8 00:41:42 UTC 2020 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: Apple buys NeXT To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.computer Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/hdaudio
Module Name:src Committed By: jmcneill Date: Sat Feb 8 00:14:06 UTC 2020 Modified Files: src/sys/dev/hdaudio: hdaudio.c Log Message: Read GCAP and version regs after taking the controller out of reset. Fixes stream counts on my Radeon HD 7850. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/hdaudio/hdaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: kamil Date: Sat Feb 8 00:11:18 UTC 2020 Modified Files: src/external/bsd/fetch/lib: Makefile src/external/gpl2/lvm2: lvm2tools.mk src/tests/lib/libc/net: Makefile Log Message: Expand the -Wno-macro-redefined usage to MKLIBCSANITIZER _REENTRANT can be redefined and this is considered as an error. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/bsd/fetch/lib/Makefile cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/lvm2/lvm2tools.mk cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/net/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/xf86-video-ati-kms/dist/src
Module Name:xsrc Committed By: jmcneill Date: Fri Feb 7 23:36:50 UTC 2020 Modified Files: xsrc/external/mit/xf86-video-ati-kms/dist/src: drmmode_display.c Log Message: When adding an FB, don't assume that the front buffer is a radeon buffer (it could be GBM managed instead). To generate a diff of this commit: cvs rdiff -u -r1.1.1.9 -r1.2 \ xsrc/external/mit/xf86-video-ati-kms/dist/src/drmmode_display.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpam/modules/pam_krb5
Module Name:src Committed By: christos Date: Fri Feb 7 23:28:59 UTC 2020 Modified Files: src/lib/libpam/modules/pam_krb5: pam_krb5.c Log Message: there is no potential overflow anymore (thanks Kamil) To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libpam/modules/pam_krb5/pam_krb5.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpam/modules/pam_krb5
Module Name:src Committed By: christos Date: Fri Feb 7 22:13:35 UTC 2020 Modified Files: src/lib/libpam/modules/pam_krb5: pam_krb5.c Log Message: stop using sprintf and check for buffer overflow. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libpam/modules/pam_krb5/pam_krb5.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libcurses
Module Name:src Committed By: uwe Date: Fri Feb 7 22:05:16 UTC 2020 Modified Files: src/tests/lib/libcurses: Makefile Log Message: Fake terminfo should not depend on TOOL_TIC for native build. Makes it possible to build this standalone with USETOOLS=never. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/hack
Module Name:src Committed By: fox Date: Fri Feb 7 22:04:02 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Revert the strlcpy(1) change since this changes expected behavior from strncpy(3). Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/games/hack/hack.end.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/altq/altqstat
Module Name:src Committed By: fox Date: Fri Feb 7 21:53:20 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: quip_client.c Log Message: usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3). Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/altq/altqstat/quip_client.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/hack
Module Name:src Committed By: fox Date: Fri Feb 7 20:34:18 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Fix -Wstringop-truncation warning. Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/games/hack/hack.end.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/config
Module Name:src Committed By: fox Date: Fri Feb 7 20:17:48 UTC 2020 Modified Files: src/usr.bin/config: Makefile Log Message: usr.bin/config: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to scan.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. gcc version 8.3.0 Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/config/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/altq/altqstat
Module Name:src Committed By: fox Date: Fri Feb 7 20:13:26 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: quip_client.c Log Message: usr.sbin/altq: Fix -Wstringop-truncation warning. Looks like the original intention was to truncate the string at len. Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/altq/altqstat/quip_client.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libcurses/tests
Module Name:src Committed By: uwe Date: Fri Feb 7 19:56:51 UTC 2020 Modified Files: src/tests/lib/libcurses/tests: mvscanw Log Message: Fix typo in a comment. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/tests/mvscanw Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/modules/examples
Module Name:src Committed By: pgoyette Date: Fri Feb 7 19:22:21 UTC 2020 Modified Files: src/sys/modules/examples: README Log Message: Improve wording To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/modules/examples/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib
Module Name:src Committed By: jmcneill Date: Fri Feb 7 19:00:18 UTC 2020 Modified Files: src/external/mit/xorg/lib: libloader.mk Log Message: Define HAVE_LIBDRM (required for loader_get_pci_id_for_fd) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libloader.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/compiler_rt/lib/clang
Module Name:src Committed By: kamil Date: Fri Feb 7 19:00:10 UTC 2020 Modified Files: src/external/bsd/compiler_rt/lib/clang/include/sanitizer: Makefile src/external/bsd/compiler_rt/lib/clang/include/xray: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd: common.mk src/external/bsd/compiler_rt/lib/clang/share: Makefile Log Message: Install LLVM sanitizers into usr/lib/clang/7.0.0 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/compiler_rt/lib/clang/include/xray/Makefile cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/common.mk cvs rdiff -u -r1.1 -r1.2 \ src/external/bsd/compiler_rt/lib/clang/share/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: kamil Date: Fri Feb 7 18:48:58 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: md.amd64 md.i386 mi src/etc/mtree: NetBSD.dist.base Log Message: Install LLVM sanitizers to /usr/lib/clang/9.0.0 This is the proper location where clang 9.0.0 looks for them. To generate a diff of this commit: cvs rdiff -u -r1.1227 -r1.1228 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.275 -r1.276 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.193 -r1.194 src/distrib/sets/lists/comp/md.i386 cvs rdiff -u -r1.2309 -r1.2310 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.209 -r1.210 src/etc/mtree/NetBSD.dist.base Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/external/bsd/drm2
Module Name:src Committed By: jmcneill Date: Fri Feb 7 18:13:33 UTC 2020 Modified Files: src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci: nouveau_nvkm_subdev_pci_base.c src/sys/external/bsd/drm2/linux: linux_pci.c Log Message: Turn MSI off again. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/linux/linux_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Fri Feb 7 15:11:46 UTC 2020 Modified Files: src/share/man/man9: percpu.9 Log Message: Remove duplicate word. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/percpu.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/mk
Module Name:src Committed By: jmcneill Date: Fri Feb 7 14:08:11 UTC 2020 Modified Files: src/share/mk: bsd.own.mk Log Message: Update comment To generate a diff of this commit: cvs rdiff -u -r1.1175 -r1.1176 src/share/mk/bsd.own.mk 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: Fri Feb 7 13:37:21 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.46 - percpu_foreach_xcall(). To generate a diff of this commit: cvs rdiff -u -r1.648 -r1.649 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/distrib/sets/lists/comp
Module Name:src Committed By: thorpej Date: Fri Feb 7 13:10:26 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Add percpu_foreach_xcall(9). To generate a diff of this commit: cvs rdiff -u -r1.2308 -r1.2309 src/distrib/sets/lists/comp/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: thorpej Date: Fri Feb 7 13:02:35 UTC 2020 Modified Files: src/share/man/man9: Makefile percpu.9 Log Message: Document percpu_foreach_xcall(). To generate a diff of this commit: cvs rdiff -u -r1.446 -r1.447 src/share/man/man9/Makefile cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/percpu.9 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 Feb 7 12:35:33 UTC 2020 Modified Files: src/sys/net: bpf.c if_stats.c net_stats.c pktqueue.c src/sys/net/npf: npf.c src/sys/netinet: wqinput.c src/sys/netipsec: key.c Log Message: Use percpu_foreach_xcall() to gather volatile per-cpu counters. These must be serialized against the interrupts / soft-interrupts in which they're manipulated, as well as protected from non-atomic 64-bit memory loads on 32-bit platforms. To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/net/bpf.c cvs rdiff -u -r1.1 -r1.2 src/sys/net/if_stats.c cvs rdiff -u -r1.5 -r1.6 src/sys/net/net_stats.c cvs rdiff -u -r1.10 -r1.11 src/sys/net/pktqueue.c cvs rdiff -u -r1.41 -r1.42 src/sys/net/npf/npf.c cvs rdiff -u -r1.7 -r1.8 src/sys/netinet/wqinput.c cvs rdiff -u -r1.269 -r1.270 src/sys/netipsec/key.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 Feb 7 11:55:22 UTC 2020 Modified Files: src/sys/kern: subr_percpu.c src/sys/sys: percpu.h Log Message: Add percpu_foreach_xcall(), which is like percpu_foreach(), except it runs the callback on the target CPU. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/kern/subr_percpu.c cvs rdiff -u -r1.4 -r1.5 src/sys/sys/percpu.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/pci
Module Name:src Committed By: yamaguchi Date: Fri Feb 7 09:38:29 UTC 2020 Modified Files: src/sys/dev/pci: if_ixl.c Log Message: Use if_link_state_change() even if ixl(4) is attaching To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/if_ixl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.