From noreply at github.com Tue Nov 17 10:54:11 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 07:54:11 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] cb533f: fix missing \ Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: cb533f57972bdfdd4231b996b178803b52437c5e https://github.com/MidnightBSD/src/commit/cb533f57972bdfdd4231b996b178803b52437c5e Author: Lucas Holt Date: 2020-10-26 (Mon, 26 Oct 2020) Changed paths: M sys/dev/hyperv/netvsc/if_hn.c Log Message: ----------- fix missing \ Commit: e50d2704b630e8ee77d9f41783dd5dac47d14b55 https://github.com/MidnightBSD/src/commit/e50d2704b630e8ee77d9f41783dd5dac47d14b55 Author: Lucas Holt Date: 2020-10-29 (Thu, 29 Oct 2020) Changed paths: M sys/amd64/conf/GENERIC Log Message: ----------- debug build on master again Commit: 230e4b84660abeb00d7c4f4b2e4563d14acb27e7 https://github.com/MidnightBSD/src/commit/230e4b84660abeb00d7c4f4b2e4563d14acb27e7 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M .gitignore Log Message: ----------- Hide some additional files from git. Commit: 5ac98d844548769b1e8e7ab07afbef936ff1f9f5 https://github.com/MidnightBSD/src/commit/5ac98d844548769b1e8e7ab07afbef936ff1f9f5 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M usr.bin/perl/BSDmakefile Log Message: ----------- switch to src.opts Commit: 017dd7206130a968d13c223a689f9cb9009fb474 https://github.com/MidnightBSD/src/commit/017dd7206130a968d13c223a689f9cb9009fb474 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: R sys/modules/libalias/modules/cuseeme/machine R sys/modules/libalias/modules/cuseeme/x86 R sys/modules/libalias/modules/dummy/machine R sys/modules/libalias/modules/dummy/x86 R sys/modules/libalias/modules/ftp/machine R sys/modules/libalias/modules/ftp/x86 R sys/modules/libalias/modules/irc/machine R sys/modules/libalias/modules/irc/x86 R sys/modules/libalias/modules/nbt/machine R sys/modules/libalias/modules/nbt/x86 R sys/modules/libalias/modules/pptp/machine R sys/modules/libalias/modules/pptp/x86 R sys/modules/libalias/modules/skinny/machine R sys/modules/libalias/modules/skinny/x86 R sys/modules/libalias/modules/smedia/machine R sys/modules/libalias/modules/smedia/x86 A usr.bin/perl/Makefile.depend Log Message: ----------- remove some stuff that never should have been committed. add a makefile.depend for perl to start Commit: 62f1a8183f929a1cd29061b3a8b585cbf70072c2 https://github.com/MidnightBSD/src/commit/62f1a8183f929a1cd29061b3a8b585cbf70072c2 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M sys/i386/conf/GENERIC Log Message: ----------- release config Commit: 2bdb1504dd057db54e0ce6cfddd038bfcbc466d0 https://github.com/MidnightBSD/src/commit/2bdb1504dd057db54e0ce6cfddd038bfcbc466d0 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M UPDATING M sys/sys/param.h Log Message: ----------- MidnightBSD 2.0 Commit: 3b3a07cd78e33eb741cb198cb291fb025a42c69d https://github.com/MidnightBSD/src/commit/3b3a07cd78e33eb741cb198cb291fb025a42c69d Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M contrib/perl/MANIFEST R contrib/perl/ext/GDBM_File/GDBM_File.pm R contrib/perl/ext/GDBM_File/GDBM_File.xs R contrib/perl/ext/GDBM_File/Makefile.PL R contrib/perl/ext/GDBM_File/hints/sco.pl R contrib/perl/ext/GDBM_File/t/fatal.t R contrib/perl/ext/GDBM_File/t/gdbm.t R contrib/perl/ext/GDBM_File/typemap Log Message: ----------- Remove gdbm Commit: 060bbad23e2b2ff11fbfe7469edc247127aebe23 https://github.com/MidnightBSD/src/commit/060bbad23e2b2ff11fbfe7469edc247127aebe23 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: R usr.bin/file/file.1 Log Message: ----------- remove file.1 as it's generated Commit: 78c3e3bc9d8f15f1b3165783cfa8d187dcf99a69 https://github.com/MidnightBSD/src/commit/78c3e3bc9d8f15f1b3165783cfa8d187dcf99a69 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: R usr.sbin/tcpdump/tcpdump/tcpdump.1 Log Message: ----------- remove as it's generated Commit: 2ba737776ec2bd2cee604706f3bdacf56b4e38cd https://github.com/MidnightBSD/src/commit/2ba737776ec2bd2cee604706f3bdacf56b4e38cd Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M contrib/perl/Configure Log Message: ----------- remove gdbm Commit: ff0e1b277f61e62bc1d94781bddce526286388c3 https://github.com/MidnightBSD/src/commit/ff0e1b277f61e62bc1d94781bddce526286388c3 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M usr.sbin/bsdinstall/partedit/partedit.c Log Message: ----------- cleanup Commit: b1dec545a45550e243745f7b8ba13473eb1a2414 https://github.com/MidnightBSD/src/commit/b1dec545a45550e243745f7b8ba13473eb1a2414 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M stand/i386/boot0/boot0.S M stand/i386/boot2/boot2.c M stand/i386/gptboot/gptboot.8 M stand/i386/gptboot/gptboot.c M stand/i386/gptzfsboot/gptzfsboot.8 M stand/i386/isoboot/isoboot.8 M stand/i386/libfirewire/firewire.c M stand/i386/libi386/multiboot.c M stand/i386/pmbr/pmbr.s M stand/i386/pxeldr/pxeboot.8 M stand/i386/zfsboot/zfsboot.8 M stand/i386/zfsboot/zfsboot.c Log Message: ----------- Fix several loader issues from when we imported newer FreeBSD 11-stable code. Commit: b3be08d5bafe76571fe80247fec8233ed03bb298 https://github.com/MidnightBSD/src/commit/b3be08d5bafe76571fe80247fec8233ed03bb298 Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M UPDATING Log Message: ----------- cleanup after merges Commit: f899ef96525dedd159d2bb6c973ff162c3bbe90d https://github.com/MidnightBSD/src/commit/f899ef96525dedd159d2bb6c973ff162c3bbe90d Author: Lucas Holt Date: 2020-11-07 (Sat, 07 Nov 2020) Changed paths: M stand/i386/gptboot/gptboot.c Log Message: ----------- fix a typo Commit: 11a311f076bcc4524c080faf101225c767b86605 https://github.com/MidnightBSD/src/commit/11a311f076bcc4524c080faf101225c767b86605 Author: Lucas Holt Date: 2020-11-08 (Sun, 08 Nov 2020) Changed paths: M stand/i386/pmbr/pmbr.s Log Message: ----------- Restore the midnightbsd partition id Commit: eaaa698a7f88d7ce513c3226ed2ed1ef85a0b130 https://github.com/MidnightBSD/src/commit/eaaa698a7f88d7ce513c3226ed2ed1ef85a0b130 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M stand/common/disk.c M stand/common/part.c M stand/common/part.h M stand/i386/boot0/boot0.S Log Message: ----------- Switch to midnightbsd. Commit: f784bab4916e1d1f2119cbf9067d87cbed9904ca https://github.com/MidnightBSD/src/commit/f784bab4916e1d1f2119cbf9067d87cbed9904ca Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M stand/libsa/zfs/zfs.c Log Message: ----------- add midnightbsd partitions Commit: a48167a192565cc88c3988a3400c2f1b02d67621 https://github.com/MidnightBSD/src/commit/a48167a192565cc88c3988a3400c2f1b02d67621 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M stand/efi/boot1/Makefile.fat M stand/efi/boot1/boot1.c M stand/efi/boot1/fat-amd64.tmpl.xz M stand/efi/boot1/fat-arm.tmpl.xz M stand/efi/boot1/fat-arm64.tmpl.xz M stand/efi/boot1/fat-i386.tmpl.xz M stand/efi/include/efi.h M stand/efi/libefi/efienv.c M stand/efi/libefi/env.c Log Message: ----------- regen fat files, add some midnightbsd support to efi Commit: 7db5f219225c85ccc29c18e1d942868ee58088b1 https://github.com/MidnightBSD/src/commit/7db5f219225c85ccc29c18e1d942868ee58088b1 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M stand/common/interp_forth.c M stand/common/newvers.sh M stand/common/part.c Log Message: ----------- adjust some name/version Commit: 9051a94c23bdce7f7796f9baec02dbbd8d418fa2 https://github.com/MidnightBSD/src/commit/9051a94c23bdce7f7796f9baec02dbbd8d418fa2 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M release/Makefile M release/Makefile.gce M release/amd64/make-memstick.sh R release/amd64/make-uefi-memstick.sh R release/amd64/mkisoimages-uefi.sh M release/amd64/mkisoimages.sh M release/i386/make-memstick.sh M release/i386/mkisoimages.sh R release/ia64/ia64.conf R release/ia64/make-memstick.sh R release/ia64/mkisoimages.sh R release/pc98/mkisoimages.sh R release/sparc64/mkisoimages.sh R release/sparc64/sparc64.conf M stand/efi/boot1/fat-amd64.tmpl.xz M stand/efi/boot1/fat-arm.tmpl.xz M stand/efi/boot1/fat-arm64.tmpl.xz M stand/efi/boot1/fat-i386.tmpl.xz Log Message: ----------- Rework building release isos Commit: e610a026f4c4c30dc93753e7170a9c89b5550047 https://github.com/MidnightBSD/src/commit/e610a026f4c4c30dc93753e7170a9c89b5550047 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M usr.bin/mkimg/Makefile M usr.bin/mkimg/apm.c M usr.bin/mkimg/bsd.c M usr.bin/mkimg/ebr.c A usr.bin/mkimg/endian.h M usr.bin/mkimg/format.c M usr.bin/mkimg/format.h M usr.bin/mkimg/gpt.c M usr.bin/mkimg/image.c M usr.bin/mkimg/image.h M usr.bin/mkimg/mbr.c M usr.bin/mkimg/mkimg.1 M usr.bin/mkimg/mkimg.c M usr.bin/mkimg/mkimg.h M usr.bin/mkimg/pc98.c M usr.bin/mkimg/qcow.c M usr.bin/mkimg/raw.c M usr.bin/mkimg/scheme.c M usr.bin/mkimg/scheme.h A usr.bin/mkimg/uuid.c M usr.bin/mkimg/vhd.c M usr.bin/mkimg/vmdk.c M usr.bin/mkimg/vtoc8.c Log Message: ----------- Update mkimg(1) Commit: 5071f5086416aed8fb2360fda46ba30412361893 https://github.com/MidnightBSD/src/commit/5071f5086416aed8fb2360fda46ba30412361893 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M release/scripts/box.ovf M usr.sbin/bsdinstall/scripts/mirrorselect Log Message: ----------- fix the mirror select Commit: 8b24d1a4c3a6d9b93ab61a074776b2b10e753ba2 https://github.com/MidnightBSD/src/commit/8b24d1a4c3a6d9b93ab61a074776b2b10e753ba2 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/conf/newvers.sh M sys/sys/param.h Log Message: ----------- Update the OS version. Commit: 670b03a9fda667b85ac7e12f7869590f316e34cd https://github.com/MidnightBSD/src/commit/670b03a9fda667b85ac7e12f7869590f316e34cd Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c Log Message: ----------- Make sure the VNET is properly set when reaping mbufs in ipoib. Else the following panic may happen: panic() icmp_error() ipoib_cm_mb_reap() linux_work_fn() taskqueue_run_locked() taskqueue_thread_loop() fork_exit() fork_trampoline() from FreeBSD: Andreas Kempe r356633 Commit: 0f2c23d14d83b3e293e7cf642b124617c3827aa5 https://github.com/MidnightBSD/src/commit/0f2c23d14d83b3e293e7cf642b124617c3827aa5 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/dev/usb/serial/uslcom.c Log Message: ----------- add Bitron Video AV2010/10 ZigBee USB Stick Commit: 5c7dfd3f2888bbe2751f8683f7d8077b00eaaf71 https://github.com/MidnightBSD/src/commit/5c7dfd3f2888bbe2751f8683f7d8077b00eaaf71 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M release/Makefile M release/Makefile.gce M release/amd64/make-memstick.sh R release/amd64/make-uefi-memstick.sh R release/amd64/mkisoimages-uefi.sh M release/amd64/mkisoimages.sh M release/i386/make-memstick.sh M release/i386/mkisoimages.sh R release/ia64/ia64.conf R release/ia64/make-memstick.sh R release/ia64/mkisoimages.sh R release/pc98/mkisoimages.sh M release/scripts/box.ovf R release/sparc64/mkisoimages.sh R release/sparc64/sparc64.conf M stand/common/disk.c M stand/common/interp_forth.c M stand/common/newvers.sh M stand/common/part.c M stand/common/part.h M stand/efi/boot1/Makefile.fat M stand/efi/boot1/boot1.c M stand/efi/boot1/fat-amd64.tmpl.xz M stand/efi/boot1/fat-arm.tmpl.xz M stand/efi/boot1/fat-arm64.tmpl.xz M stand/efi/boot1/fat-i386.tmpl.xz M stand/efi/include/efi.h M stand/efi/libefi/efienv.c M stand/efi/libefi/env.c M stand/i386/boot0/boot0.S M stand/libsa/zfs/zfs.c M sys/conf/newvers.sh M sys/sys/param.h M usr.bin/mkimg/Makefile M usr.bin/mkimg/apm.c M usr.bin/mkimg/bsd.c M usr.bin/mkimg/ebr.c A usr.bin/mkimg/endian.h M usr.bin/mkimg/format.c M usr.bin/mkimg/format.h M usr.bin/mkimg/gpt.c M usr.bin/mkimg/image.c M usr.bin/mkimg/image.h M usr.bin/mkimg/mbr.c M usr.bin/mkimg/mkimg.1 M usr.bin/mkimg/mkimg.c M usr.bin/mkimg/mkimg.h M usr.bin/mkimg/pc98.c M usr.bin/mkimg/qcow.c M usr.bin/mkimg/raw.c M usr.bin/mkimg/scheme.c M usr.bin/mkimg/scheme.h A usr.bin/mkimg/uuid.c M usr.bin/mkimg/vhd.c M usr.bin/mkimg/vmdk.c M usr.bin/mkimg/vtoc8.c M usr.sbin/bsdinstall/scripts/mirrorselect Log Message: ----------- Merge branch 'master' of ssh://github.com/midnightbsd/src into master Commit: a8c5e329c697d1f30bb098dd3d42d0931f15b241 https://github.com/MidnightBSD/src/commit/a8c5e329c697d1f30bb098dd3d42d0931f15b241 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/dev/usb/template/usb_template_audio.c M sys/dev/usb/template/usb_template_cdce.c M sys/dev/usb/template/usb_template_kbd.c M sys/dev/usb/template/usb_template_midi.c M sys/dev/usb/template/usb_template_modem.c M sys/dev/usb/template/usb_template_mouse.c M sys/dev/usb/template/usb_template_msc.c M sys/dev/usb/template/usb_template_mtp.c M sys/dev/usb/template/usb_template_phone.c M sys/dev/usb/template/usb_template_serialnet.c Log Message: ----------- Give USB template SYSUNINIT()'s a uniq name to avoid symbol name collision when building stand/usb. Commit: 677ab6b11fb5ac9d830bb183c3d06e6a00aeebea https://github.com/MidnightBSD/src/commit/677ab6b11fb5ac9d830bb183c3d06e6a00aeebea Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/include/linux/mm_types.h Log Message: ----------- Implement mmget_not_zero() in the LinuxKPI. Commit: 57ff3a78f8448921ebc658e1275f5238385b90e7 https://github.com/MidnightBSD/src/commit/57ff3a78f8448921ebc658e1275f5238385b90e7 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M tests/sys/net/Makefile A tests/sys/net/if_epair.c Log Message: ----------- tests: Test for an epair panic if_epair abused the ifr_data field to insert its second interface in IFC_IFLIST. If userspace provides a value for ifr_data it would get dereferenced by the kernel leading to a panic. Commit: 269811f052f69172bbfed34df518fe0cccd94166 https://github.com/MidnightBSD/src/commit/269811f052f69172bbfed34df518fe0cccd94166 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/src/linux_compat.c Log Message: ----------- Provide support for fdevname(3) on linuxkpi-backed devices. Commit: dfc41d06a96c2244377733dbbf010b29274da954 https://github.com/MidnightBSD/src/commit/dfc41d06a96c2244377733dbbf010b29274da954 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M contrib/libarchive/cat/test/list.h M contrib/libarchive/cpio/test/list.h M contrib/libarchive/libarchive/test/list.h M contrib/libarchive/tar/test/list.h Log Message: ----------- update libarchive test files Commit: 5f321a8c177811ea9c66f339f64cca10cdac4e97 https://github.com/MidnightBSD/src/commit/5f321a8c177811ea9c66f339f64cca10cdac4e97 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: R contrib/perl/Configure.orig R contrib/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm.orig R contrib/perl/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t.orig R contrib/perl/hints/freebsd.sh.orig Log Message: ----------- remove some old files that shouldn't have been committed Commit: 847479343ff3be543b13551f5ba671d045e876c4 https://github.com/MidnightBSD/src/commit/847479343ff3be543b13551f5ba671d045e876c4 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M lib/libmport/bundle_read_update_pkg.c Log Message: ----------- remove the tmpfile of the backup bundle on the happy path that we restore ok Commit: 7aabfd6511df8c410d2eb50a46c5341e5fc25f34 https://github.com/MidnightBSD/src/commit/7aabfd6511df8c410d2eb50a46c5341e5fc25f34 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/fs/nullfs/null.h M sys/fs/nullfs/null_subr.c M sys/fs/nullfs/null_vfsops.c Log Message: ----------- Save lower root vnode in nullfs mnt data instead of upper. Commit: 1e64fa20e1eec4cd20074759bcf73d9d39607435 https://github.com/MidnightBSD/src/commit/1e64fa20e1eec4cd20074759bcf73d9d39607435 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c Log Message: ----------- fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c:1235:43: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare] begemotBridgeStpPortEnable_enabled || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Work around it by casting the enum values to the type of val->v.integer. Commit: 9614a5bd8f448ce142782e13814ef9ac733fc890 https://github.com/MidnightBSD/src/commit/9614a5bd8f448ce142782e13814ef9ac733fc890 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c Log Message: ----------- Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1661:4: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation] return (-1); ^ usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1658:5: note: previous statement is here } else ^ The intent was to group the return statement with the previous syslog() call. Commit: 3c5232206f77ab1122653f15f9f04cb316ade55e https://github.com/MidnightBSD/src/commit/3c5232206f77ab1122653f15f9f04cb316ade55e Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/dev/tpm/tpm_crb.c Log Message: ----------- Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4): sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mean '(1 << (0)) != 0'? [-Werror,-Wint-in-bool-context] WR4(sc, TPM_CRB_CTRL_CANCEL, !TPM_CRB_CTRL_CANCEL_CMD); ^ sys/dev/tpm/tpm_crb.c:73:34: note: expanded from macro 'TPM_CRB_CTRL_CANCEL_CMD' ^ sys/dev/tpm/tpm20.h:60:19: note: expanded from macro 'BIT' ^ Such warnings can be useful in C++ contexts, but not so much in kernel drivers, where this type of bit twiddling is commonplace. So disable it for this case. MFC r357366: Revert r357349, since the clang 10.0.0 warning was actually correct, and the ! operator should have been a ~ instead: Merge r357348 from the clang 10.0.0 import branch: Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4): sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mean '(1 << (0)) != 0'? [-Werror,-Wint-in-bool-context] WR4(sc, TPM_CRB_CTRL_CANCEL, !TPM_CRB_CTRL_CANCEL_CMD); ^ sys/dev/tpm/tpm_crb.c:73:34: note: expanded from macro 'TPM_CRB_CTRL_CANCEL_CMD' #define TPM_CRB_CTRL_CANCEL_CMD BIT(0) ^ sys/dev/tpm/tpm20.h:60:19: note: expanded from macro 'BIT' #define BIT(x) (1 << (x)) ^ Such warnings can be useful in C++ contexts, but not so much in kernel drivers, where this type of bit twiddling is commonplace. So disable it for this case. Noticed by: cem MFC r357367: Fix new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4): sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of '<<' to a boolean; did you mean '(1 << (0)) != 0'? [-Werror,-Wint-in-bool-context] WR4(sc, TPM_CRB_CTRL_CANCEL, !TPM_CRB_CTRL_CANCEL_CMD); ^ sys/dev/tpm/tpm_crb.c:73:34: note: expanded from macro 'TPM_CRB_CTRL_CANCEL_CMD' #define TPM_CRB_CTRL_CANCEL_CMD BIT(0) ^ sys/dev/tpm/tpm20.h:60:19: note: expanded from macro 'BIT' #define BIT(x) (1 << (x)) ^ In this case, the intent was to clear the zeroth bit, and leave the rest unaffected. Therefore, the ~ operator should be used instead. Noticed by: cem MFC r357388: Amend r357367 by using register values from the TPM datasheet. As Ian Lepore noted, writing ~1 to a register might have a completely different effect than doing a regular read-modify-write operation. Follow the TCG_PC_Client_Platform_TPM_Profile_PTP_2.0_r1.03_v22 datasheet instead, and use the actual values mentioned there: (uint32_t)1 to cancel the command, (uint32_t)0 to clear the field. MFC r357391 (by kib): Fix build. Obtained from: FreeBSD Commit: afe729b6ede93ee7cf0ad82370fcb90fb231bfc5 https://github.com/MidnightBSD/src/commit/afe729b6ede93ee7cf0ad82370fcb90fb231bfc5 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M usr.sbin/wpa/wpa_supplicant/Makefile Log Message: ----------- Fix build when WITHOUT_WPA_SUPPLICANT_EAPOL option used. The build failure was discoved by Michael Dexter's recent Build Options Survey run, at https://callfortesting.org/results/bos-2020-01-16/\ WITHOUT_WPA_SUPPLICANT_EAPOL-small.txt. Commit: 9870add78978a77a62e035cec83ce2fa5a1cd797 https://github.com/MidnightBSD/src/commit/9870add78978a77a62e035cec83ce2fa5a1cd797 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M tools/build/mk/OptionalObsoleteFiles.inc Log Message: ----------- cleanup duplicates Commit: 32b13a4759ef3154bbdfb6b111c604d550099ee6 https://github.com/MidnightBSD/src/commit/32b13a4759ef3154bbdfb6b111c604d550099ee6 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M tools/build/mk/OptionalObsoleteFiles.inc Log Message: ----------- When MK_CASPER=no is set remove files which are not needed to run system. Commit: aa036d5b36c44652c0c1da7b7f70062d84981dd1 https://github.com/MidnightBSD/src/commit/aa036d5b36c44652c0c1da7b7f70062d84981dd1 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c M sys/fs/pseudofs/pseudofs_vnops.c Log Message: ----------- pseudofs: don't do VEXEC check in VOP_CACHEDLOOKUP VOP_CACHEDLOOKUP should assume that the appropriate VEXEC check has been done in the caller (vfs_cache_lookup), so it does not belong here. zfs: light refactor to indicate cachedlookup in zfs_lookup If we come from VOP_CACHEDLOOKUP, we must skip the VEXEC check as it will have been done in the caller (vfs_cache_lookup). This is a part of D23247, which may skip the earlier VEXEC check as well if the root fd was opened with O_SEARCH. This one required slightly more work as zfs_lookup may also be called indirectly as VOP_LOOKUP or a couple of other places where we must do the check. Obtained from: FreeBSD Commit: 845c9961258b93d1620b9eb06e5ce37342669af2 https://github.com/MidnightBSD/src/commit/845c9961258b93d1620b9eb06e5ce37342669af2 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/sys/param.h Log Message: ----------- Update freebsd compatibility version Commit: 01ceaf83f1d81a624fdb784ff6b981e6baaff1ab https://github.com/MidnightBSD/src/commit/01ceaf83f1d81a624fdb784ff6b981e6baaff1ab Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/dev/acpica/acpi_cpu.c Log Message: ----------- Implement ACPI CPU support when Processor object is not present By the ACPI standard (ACPI 5 chapter 8.4 Declaring Processors) Processors can be implemented in 2 distinct ways: * Through a Processor object type (which provides P_BLK) * Through a Device object type AMD Epyc / Poweredge systems we are testing both implement the latter only. Add the missing support. Because P_BLK is not defined in the device object case, C-states entering must be completely controlled via _CST methods rather than P_LVL2/3. Commit: 2a6afb875b031f652455ab7f3ec6fafbb9652eb4 https://github.com/MidnightBSD/src/commit/2a6afb875b031f652455ab7f3ec6fafbb9652eb4 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/fs/devfs/devfs_vnops.c M sys/kern/tty.c Log Message: ----------- Generally, it's preferred that an application fork/setsid if it doesn't want to keep its controlling TTY, but it could be that a debugger is trying to steal it instead -- so it would hook in, drop the controlling TTY, then do some magic to set things up again. In this case, TIOCNOTTY is quite handy and still respected by at least OpenBSD, NetBSD, and Linux as far as I can tell. I've dropped the note about obsoletion, as I intend to support TIOCNOTTY as long as it doesn't impose a major burden. Obtained from: FreeBSD Commit: 9ed91c033a8fcccb8fa3d5c5635cbfd5495a7ce6 https://github.com/MidnightBSD/src/commit/9ed91c033a8fcccb8fa3d5c5635cbfd5495a7ce6 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/dev/atkbdc/psm.c Log Message: ----------- psm: release resources on attach failure In exactly 1/3 cases we'll release resources on failure; touch up the other two to do so as well. psm: use make_dev_s instead of make_dev This most importantly reduces duplication, but it also removes any potential race with usage of dev->si_drv1 since it's now set prior to the device being constructed enough to be accessible. Commit: 5da1c7223bfb6f03313299f0bd8e3f57796a8e4d https://github.com/MidnightBSD/src/commit/5da1c7223bfb6f03313299f0bd8e3f57796a8e4d Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c M sys/fs/devfs/devfs_vnops.c M sys/fs/fuse/fuse_vnops.c M sys/fs/nfsclient/nfs_clvnops.c M sys/fs/smbfs/smbfs_vnops.c M sys/fs/tmpfs/tmpfs_vnops.c M sys/kern/vfs_cache.c M sys/kern/vfs_lookup.c M sys/kern/vfs_subr.c M sys/sys/fcntl.h M sys/sys/namei.h M sys/sys/vnode.h Log Message: ----------- Provide O_SEARCH O_SEARCH is defined by POSIX [0] to open a directory for searching, skipping permissions checks on the directory itself after the initial open(). This is close to the semantics we've historically applied for O_EXEC on a directory, which is UB according to POSIX. Conveniently, O_SEARCH on a file is also explicitly undefined behavior according to POSIX, so O_EXEC would be a fine choice. The spec goes on to state that O_SEARCH and O_EXEC need not be distinct values, but they're not defined to be the same value. This was pointed out as an incompatibility with other systems that had made its way into libarchive, which had assumed that O_EXEC was an alias for O_SEARCH. This defines compatibility O_SEARCH/FSEARCH (equivalent to O_EXEC and FEXEC respectively) and expands our UB for O_EXEC on a directory. O_EXEC on a directory is checked in vn_open_vnode already, so for completeness we add a NOEXECCHECK when O_SEARCH has been specified on the top-level fd and do not re-check that when descending in namei. Commit: 2e63ff5f8e52cc28175620dac3acedbf32834d7f https://github.com/MidnightBSD/src/commit/2e63ff5f8e52cc28175620dac3acedbf32834d7f Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M etc/login.conf Log Message: ----------- split MAIL env var out into a "mail" capability This allows it to be easily suppressed in, e.g., the "daemon" class where it will not be properly expanded. Commit: 6c3cd24fee382b87656b41bc5b225d4f904594f2 https://github.com/MidnightBSD/src/commit/6c3cd24fee382b87656b41bc5b225d4f904594f2 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/geom/eli/g_eli.c Log Message: ----------- Currently the installer will tag geliboot partitions with both BOOT and GELIBOOT; the former allows the kernel to taste it at boot, while the latter is what loaders keys off of. However, it seems reasonable to assume that if a provider's been tagged with GELIBOOT that the kernel should also take that as a hint to taste/attach at boot. This would allow us to stop tagging GELIBOOT partitions with BOOT in bsdinstall, but I'm not sure that there's a compelling reason to do so any time soon. Commit: 54c965b94abad0ad4bb6670507463412b3a96b95 https://github.com/MidnightBSD/src/commit/54c965b94abad0ad4bb6670507463412b3a96b95 Author: Lucas Holt Date: 2020-11-14 (Sat, 14 Nov 2020) Changed paths: M sys/netpfil/pf/pf.c M sys/netpfil/pf/pf_ioctl.c Log Message: ----------- pf: limit ioctl to a reasonable and tuneable number of elements pf ioctls frequently take a variable number of elements as argument. This can potentially allow users to request very large allocations. These will fail, but even a failing M_NOWAIT might tie up resources and result in concurrent M_WAITOK allocations entering vm_wait and inducing reclamation of caches. Limit these ioctls to what should be a reasonable value, but allow users to tune it should they need to. Commit: 219cc18ae0c44515dfc383c8c7227a54ed2bba0c https://github.com/MidnightBSD/src/commit/219cc18ae0c44515dfc383c8c7227a54ed2bba0c Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M etc/periodic/daily/200.backup-passwd Log Message: ----------- The previous expression borked if a username had a plus or hyphen in it. This is needlessly restrictive- at leSt a hyphen in the middle is valid. Instead of playing this game, let's just assume the username can't contain a colon and mask out the second field. Obtained from: freebsd Commit: 8ecb4e0ddc41ec98f4c1a137738acf4685f0114f https://github.com/MidnightBSD/src/commit/8ecb4e0ddc41ec98f4c1a137738acf4685f0114f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/compat/linux/linux_futex.c Log Message: ----------- linux futex_put(): do not touch futex after dropping our reference. Commit: 417787b8aa7e4329b083ecb3c5c183c2a136531c https://github.com/MidnightBSD/src/commit/417787b8aa7e4329b083ecb3c5c183c2a136531c Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/netmap/netmap_kern.h Log Message: ----------- Clean up obsolete sysctl descriptions Commit: a34f53c861f2e1d7387adfb93f7221f5b7014ea5 https://github.com/MidnightBSD/src/commit/a34f53c861f2e1d7387adfb93f7221f5b7014ea5 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/mlx5/driver.h M sys/dev/mlx5/mlx5_core/mlx5_eq.c M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- Add support for disabling and polling MSIX interrupts in mlx5core. Obtained from: FreeBSD Commit: 408862b30c202b5a14532ff878b7007b8f2d1c92 https://github.com/MidnightBSD/src/commit/408862b30c202b5a14532ff878b7007b8f2d1c92 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/controller/ehci_pci.c M sys/dev/usb/controller/ohci_pci.c M sys/dev/usb/controller/xhci_pci.c Log Message: ----------- Add USB host controller PCI IDs for Hygon. Commit: 95436dfaa1d08eff5c29f9ae699cfd082e32e01f https://github.com/MidnightBSD/src/commit/95436dfaa1d08eff5c29f9ae699cfd082e32e01f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/controller/xhci.h Log Message: ----------- Define the XHCI endpoint states. Commit: 4d2c33d1429fc81b92b50f79b13499cc941e1180 https://github.com/MidnightBSD/src/commit/4d2c33d1429fc81b92b50f79b13499cc941e1180 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/fs/nfsserver/nfs_nfsdstate.c Log Message: ----------- Fix a crash in the NFSv4 server. Commit: 53efa7d3f52c17eb9ba83551e39276906227ec75 https://github.com/MidnightBSD/src/commit/53efa7d3f52c17eb9ba83551e39276906227ec75 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/conf/files.i386 M sys/conf/kern.mk M sys/modules/ce/Makefile M sys/modules/cp/Makefile Log Message: ----------- Disable new clang 10.0.0 warnings about misleading indentation in ce(4) and cp(4). Commit: ffdeadf97712efd78bc3e9f2da9a2aa39f5f3bce https://github.com/MidnightBSD/src/commit/ffdeadf97712efd78bc3e9f2da9a2aa39f5f3bce Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/hptmv/ioctl.c Log Message: ----------- sys/dev/hptmv/ioctl.c:240:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] _vbus_p=pArray->pVBus; ^ sys/dev/hptmv/ioctl.c:237:10: note: previous statement is here if(!mIsArray(pArray)) ^ This is because the return statement after the if statement was not indented. (Note that this file has been idented assuming 4-space tabs.) Commit: be7dcb58705c238a7aaf89f61329c0a7a3101d53 https://github.com/MidnightBSD/src/commit/be7dcb58705c238a7aaf89f61329c0a7a3101d53 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/pci/pcireg.h Log Message: ----------- fix typo Commit: a3c4de95e8df26df7dec78e34cb97ce00d415219 https://github.com/MidnightBSD/src/commit/a3c4de95e8df26df7dec78e34cb97ce00d415219 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M usr.sbin/pciconf/cap.c Log Message: ----------- pciconf: List names of all known extended PCIe capabilities. Commit: be7cc27964073fb35a36b03c660df60f4e9027c7 https://github.com/MidnightBSD/src/commit/be7cc27964073fb35a36b03c660df60f4e9027c7 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/ahci/ahci_pci.c Log Message: ----------- Add Hygon PCI ID and description for AHCI SATA controller. Commit: cc2630e7e8fb2fe0cea09f327194a5897142401f https://github.com/MidnightBSD/src/commit/cc2630e7e8fb2fe0cea09f327194a5897142401f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/kern_descrip.c M sys/kern/sys_capability.c M sys/sys/capsicum.h M sys/sys/file.h Log Message: ----------- u_char -> vm_prot_t in a couple of places Commit: 0ea49d19c9987ae5628557c061fb2d873c7dd38b https://github.com/MidnightBSD/src/commit/0ea49d19c9987ae5628557c061fb2d873c7dd38b Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M contrib/ncurses/ncurses/base/MKlib_gen.sh Log Message: ----------- correct check for gcc >= 5.0 Commit: e9a8e3bb07b0f1bbb0f12f68a3309887bb3b3a79 https://github.com/MidnightBSD/src/commit/e9a8e3bb07b0f1bbb0f12f68a3309887bb3b3a79 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/Makefile Log Message: ----------- consider changes to capabilities.conf Commit: 9e95f6c17abdbf141098f0e4573029b984031e37 https://github.com/MidnightBSD/src/commit/9e95f6c17abdbf141098f0e4573029b984031e37 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Fix translation of the PrintScreen/SysRq and Pause/Break keys. Almost everything was broken. The cases that I noticed were Ctrl-PrintScreen not being mapped to the virtual scancode 0x5c (debug) and Pause not being mapped to the physical/virtual scancode 0x46 (slock). These keys are the most complicated ones due to kludges to give some compatibility back to before AT keyboards. Alt-PrintScreen must pretend to be a separate key from PrintScreen even at the "raw" level. The (unique) usb code for it is 0x8a and we just have to map this to our unique virtual scancode 0x54, but we mapped it first to the internal code 0x7e and then to 0x79 which is a key on the Japanese 106/109 keyboard. This fix is under the UKBD_EMULATE_ATASCANCODE option which shouldn't be used for non-AT keyboards. If it is, then the syscons Japanese keymaps have nothing of importance for code 0x79 and can easily be changed. 0x54 is also unimportant in Japanese and US keymaps. NonAlt-PrintScreen and NonCtl-Pause/Break had many much larger bugs with smaller compatibility problems from fixing them. The details are too ugly to give here. Summary of the changed (hex) codes: K_RAW PrintScreen (Ctl, Shift, Ctl-Shift): E0-2A-E0-37 -> E0-37 K_RAW Alt-PrintScreen (all shift states): 79 -> 54 K_RAW Pause/Break (unshifted, Shift, Alt, Alt-Shift)): E0-46 -> E1-1D-45 K_CODE ALT-PrintScreen (all shift states): 79 -> 54 That is 15 of 32 shift combinations for 2 keys fixed, with 8 easy cases from the 79 -> 54 remapping. The difference is only large and with no workaround using a keymap for for K_RAW, but this affects other modes when ukbd is layered under kbmux because kbmux keeps all subdevices in K_RAW mode and translates. Oops. I used kbdmux to generate the above table of changes. Obtained from: FreeBSD Commit: 82477fd3b04bf1336ca89a5698e843cdee3cc735 https://github.com/MidnightBSD/src/commit/82477fd3b04bf1336ca89a5698e843cdee3cc735 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Further fixes for translation of PrintScreen/SysRq. The previous fix was tested mainly on 3 AT keyboards with USB adaptors where it works. 1 USB keyboard doesn't translate Alt-PrintScreen, so the software has to do it. Reorganize a little to share some code and to not translate the unusual usb scan code0x8a unless an Alt modified is set. Remove redundant check of Alt modifiers. Translation now more clearly filters out Alt-PrintScreen before the check. The table of errors fixed in the previous commit had many bugs. Correct table: K_RAW Ctl-PrintScreen: E0-2A-E0-37 -> E0-37 K_RAW Alt-PrintScreen (with 4 comb. of Ctl/Shift): 79 -> 54 K_RAW Pause/Break (with 4 comb. of Alt/Shift): E0-46 -> E1-1D-45 K_CODE PrintScreen (with 4 comb. of Ctl/Shift): 54 -> 5c K_CODE Alt-PrintScreen (with 4 comb. of Ctl/Shift): 7e -> 54 K_CODE Pause/Break (with 8 comb. of Ctl/Alt/Shift): 6c -> 68 That is 25 of 32 shift combinations for 2 keys fixed. All 16 combinations were broken for K_CODE and thus also for K_XLATE. Obtained from: FreeBSD Commit: e5858e1979e08b468b50070abb70e829ec7aae2e https://github.com/MidnightBSD/src/commit/e5858e1979e08b468b50070abb70e829ec7aae2e Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Fix key delay and repeat, part 1. kbdcontrol -r fast is documented to give a non-emulated atkbd's fastest rate of 250.34, but is misimplemented to request this as 0.0. ukbd supports many nonstandard rates, although it is currently too inaccurate by a factor of several hundred for non-huge nonstandard rates to be useful. It mapped 0.0 to 200.0. A repeat delay of 0 means a rate of infinity which is quite fast, but physical constraints limit this to a few MHz and the inaccuracies made it almost usable. Convert 0.0 to the documented 250.34. Also convert negative args and small args to the 250.34 minimal ones, like atkbd does. This is for KDSETREPEAT -- the 2 versions of the deprecated KDSETRAD have bounds checking. Keep not doing any bounds checking or conversions for upper limits since nonstandard large delays are useful for testing. The inaccuracies are dependent on HZ and the timeout implementation. With the old timeout implementation and HZ = 1000, 200.0 probably worked better to emulate 250.34 than 250.34 itself. HZ = 100 gives roundoff errors that accidentally reduce the inaaccuracies, and event timers reduce the inaccuracies even more, so 200.0 was giving more like itself (perhaps 215.15 on average but sometimes close to 10 msec repeat which is noticebly too fast). This commit makes 0.0 noticeably too slow, like 250.34 always was. Commit: 2711ff93823722ac09f04425d6d4337752121d5e https://github.com/MidnightBSD/src/commit/2711ff93823722ac09f04425d6d4337752121d5e Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Fix key delay and repeat, part 2. Use sbintime_t timeouts with precision control to get very accurate timing. It costs little to always ask for about 1% accuracy, and the not so new event timer implementation usual delivers that, and when it can't it gets much closer than our previous coarse timeouts and buggy simple countdown. The 2 fastest atkbd repeat rates have periods 34 and 38 msec, and ukbd pretended to support rates in between these. This requires sub-microsecond precision and accuracy even to handle the 4 msec difference very well, but ukbd asked the timeout subsystem for timeouts of 25 msec and the buggy simple countdown of this gave a a wide range of precisions and accuracies depending on HZ and other timer configuration (sometimes better than 25 msec but usually more like 50 msec). We now ask for and usually get precision and accuracy of about 1% for each repeat and much better on average. The 1% accuracy is overkill. Rounding of 30 cps to 34 msec instead of 33 already gives an error of +2% instead of -1%, and ut AT keyboards on PS/2 interfaces have similar errors. A timeout is now scheduled for every keypress and release. This allows some simplifications that are not done. It allows removing the timeout scheduling for exiting polled mode where it was unsafe in ddb mode. This is done. Exiting polled mode had some problems with extra repeats. Now exiting polled mode lets an extra timeout fire and the state is fudged so that the timeout handler does very little. The sc->time_ms variable is unsigned to avoid overflow. Differences of it need to be signed. Signed comparisons were emulated by testing an emulated sign bits. This only works easily for '<' comparisonss, but we now need a '<=' comparison. Change the difference variable to signed and use a signed comparison. Using unsigned types here didn't prevent overflow bugs but just reduced them. Overflow occurs with n repeats at the silly repeat period of [U]INT_MAX / n. The old countdown had an off by 1 error, and the simplifications would simply count down 1 to 0 and not need to accumulate possibly-large repeat repeats. Obtained from: FreeBSD Commit: e33e56fd4fbfdb71fee36fe2b5d2175686921bb9 https://github.com/MidnightBSD/src/commit/e33e56fd4fbfdb71fee36fe2b5d2175686921bb9 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Improve USB gaming keyboard support. Add support for decoding pressed keys as a bitmap. The keys in the bitmap are described in the interface specific HID descriptor. Some keyboards even have multiple input interfaces, only using the bitmap method when the event array is full. That typically means when more than seven keys are pressed simultaneously. The internals of the USB keyboard driver have been slightly reworked to keep track of all keys in a single bitmap having 256 bits. This bitmap is then divided into blocks of 64-bits as an optimisation. Simplify automatic key repeat logic, because only the last key pressed can be repeated. Obtained from: FreeBSD Commit: 23ddf14f4998fafbbe58e30450d6bca5b0a08733 https://github.com/MidnightBSD/src/commit/23ddf14f4998fafbbe58e30450d6bca5b0a08733 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/powerpc/conf/dpaa/files.dpaa Log Message: ----------- Disable new clang 10.0.0 warnings about misleading indentation in sys/contrib/ncsw/Peripherals/FM/fman_ncsw.c. This is horribly formatted contributed code, and fixing it is not worth the effort. Commit: 02b5c3fb8f8836b6ff6d48651576325da7082f05 https://github.com/MidnightBSD/src/commit/02b5c3fb8f8836b6ff6d48651576325da7082f05 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/sysv_sem.c Log Message: ----------- Use designated initializers for seminfo. Commit: 1acae1f19173f0b4d843b3403f76219c2647eb9a https://github.com/MidnightBSD/src/commit/1acae1f19173f0b4d843b3403f76219c2647eb9a Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/sysv_sem.c Log Message: ----------- sem_remove(): add some asserts. Commit: dc88a33af74c53377814c3facf56082a8f095310 https://github.com/MidnightBSD/src/commit/dc88a33af74c53377814c3facf56082a8f095310 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/sysv_sem.c Log Message: ----------- sem_remove(): fix the loop that compacts sem array on semaphores removal. Commit: a990ea3387e4cc22c70ce9dbab5c5522e97834c9 https://github.com/MidnightBSD/src/commit/a990ea3387e4cc22c70ce9dbab5c5522e97834c9 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/kern/sysv_sem.c Log Message: ----------- Fix build with INVARIANTS turned on. Commit: 3809135e4d23e9d2d77df83f1c0933a63b7c29a8 https://github.com/MidnightBSD/src/commit/3809135e4d23e9d2d77df83f1c0933a63b7c29a8 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M usr.sbin/cron/cron/compat.h M usr.sbin/cron/cron/do_command.c M usr.sbin/cron/cron/externs.h M usr.sbin/cron/cron/popen.c M usr.sbin/cron/lib/compat.c Log Message: ----------- cron(8): convert vfork() usage to fork() vfork() is error-prone, and the usage here definitely grew to not be clearly OK given vfork-semantics; e.g. setusercontext(3) within the child. Rip out vfork() and the rest of the references to it. fork is heavier, but it's unclear that the difference will be all that obvious. cron(8): rip out do_univ This was an old Dynix hack, the function is a NOP on BSD. We have no need to retain this; Dynix was discontinued long ago. Commit: 1d993dba44cec058e135c51271c5d0e4e695f7e7 https://github.com/MidnightBSD/src/commit/1d993dba44cec058e135c51271c5d0e4e695f7e7 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/net/ethernet.h Log Message: ----------- Ethernet: add some more Ethertypes. Add some types based on other BSDs and also add EtherCat, PROFINET, Powerlink and Sercos III which are IEC standards. There is a public list (CSV format) at: https://standards.ieee.org/products-services/regauth/ Spacing cleanups. No functional change. Commit: 25d3a59fd83bf3f996426496a3f3ade1201f2e2f https://github.com/MidnightBSD/src/commit/25d3a59fd83bf3f996426496a3f3ade1201f2e2f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/net/iflib.c Log Message: ----------- Make sure the so-called end of receive interrupts don't starve in iflib. When the receive ring cannot be filled with mbufs, due to lack of memory, no more interrupts may be generated to fill the receive ring later on. Make sure to have a watchdog, to try refilling the receive ring from time to time, hopefully when more mbufs are available. Commit: f669167e33ff4dfdcb8159b8f2e7ebc6878802e5 https://github.com/MidnightBSD/src/commit/f669167e33ff4dfdcb8159b8f2e7ebc6878802e5 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/net/netisr.c M sys/netinet/igmp.c M sys/netinet6/mld6.c Log Message: ----------- Fix kernel panic while trying to read multicast stream. When VIMAGE is enabled make sure the "m_pkthdr.rcvif" pointer is set for all mbufs being input by the IGMP/MLD6 code. Else there will be a NULL-pointer dereference in the netisr code when trying to set the VNET based on the incoming mbuf. Add an assert to catch this when queueing mbufs on a netisr to make debugging of similar cases easier. Commit: 7f2989a6c0069c8bc02c77949498220e2f34e139 https://github.com/MidnightBSD/src/commit/7f2989a6c0069c8bc02c77949498220e2f34e139 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_ib/mlx5_ib.h M sys/dev/mlx5/mlx5_ib/mlx5_ib_cong.c Log Message: ----------- Fix broken MLX5_IB_INDEX() macro in mlx5ib(4). The index should be computed as distance from arg[0] and not the beginning of struct mlx5_ib_congestion . While at it fix a use of zero length array to avoid depending on undefined compiler behaviour. Commit: bcf0f1b31843666930d3cb8a8ed01c5c976dcb3f https://github.com/MidnightBSD/src/commit/bcf0f1b31843666930d3cb8a8ed01c5c976dcb3f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/multilist.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/multilist.h Log Message: ----------- Avoid extra taskq_dispatch() calls by DMU. DMU sync code calls taskq_dispatch() for each sublist of os_dirty_dnodes and os_synced_dnodes. Since the number of sublists by default is equal to number of CPUs, it will dispatch equal, potentially large, number of tasks, waking up many CPUs to handle them, even if only one or few of sublists actually have any work to do. This change adds check for empty sublists to avoid this. Commit: 616d3efac50dc383785391f0e405af9d7e6d148b https://github.com/MidnightBSD/src/commit/616d3efac50dc383785391f0e405af9d7e6d148b Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/pci/pcireg.h Log Message: ----------- Add more values for PCI capabilities, PCIe extended capabilities, and subclasses. Commit: 45d2b332a384767bf0f0483283f4e19a441909b9 https://github.com/MidnightBSD/src/commit/45d2b332a384767bf0f0483283f4e19a441909b9 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M usr.sbin/pciconf/cap.c M usr.sbin/pciconf/pciconf.c Log Message: ----------- Print out some newly added PCIe extended capabilities and subclasses. Commit: 7e58babde6f0472a595a98395c246462d23fa875 https://github.com/MidnightBSD/src/commit/7e58babde6f0472a595a98395c246462d23fa875 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Use hid_get_data_unsigned() instead of hid_get_data() when reading the key-codes from the USB keyboard. Negative key-codes are currently skipped. While at it use the bit size value provided by the HID location structure instead of assuming a value of 8. Commit: 6d62103303ed9a6f5b84b029d0ebee38af6b7829 https://github.com/MidnightBSD/src/commit/6d62103303ed9a6f5b84b029d0ebee38af6b7829 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cam/ata/ata_da.c Log Message: ----------- Add a quirk for the WDC Green series of SSDs to disable NCQ TRIM, as this avoids silent data corruption. Commit: 95dd750ed9e06a5e723d7fa033fb593a59960c85 https://github.com/MidnightBSD/src/commit/95dd750ed9e06a5e723d7fa033fb593a59960c85 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M usr.sbin/bsdconfig/include/messages.subr Log Message: ----------- remove italy Commit: 2debc58b1e61aba8c602864b4e4787064737b425 https://github.com/MidnightBSD/src/commit/2debc58b1e61aba8c602864b4e4787064737b425 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/acpica/acpi_lid.c Log Message: ----------- Export the actual LID state via sysctl. This allows more complex policies about when to suspend based on other events happening AND the lid being closed through the use of clever devd or other scripts. Commit: f7405f3c1659b66e4ee00ba72ac3cd3abbda0934 https://github.com/MidnightBSD/src/commit/f7405f3c1659b66e4ee00ba72ac3cd3abbda0934 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/acpica/acpi_lid.c Log Message: ----------- Make sure the ACPI lid state is updated during boot and after resume. While at it update the sysctl(9) description for the lid state. Always check return value from acpi_GetInteger(). If a failure happens reading the lid state, assume the lid is opened. Commit: a3ede7a77d85d53e5df39cd8bf803cb7c6743f20 https://github.com/MidnightBSD/src/commit/a3ede7a77d85d53e5df39cd8bf803cb7c6743f20 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netinet6/ip6_output.c Log Message: ----------- Clear up some comments and improve to panic messages. Commit: 7605d21314edac5a2f3d260d8c0d6bc259dbf782 https://github.com/MidnightBSD/src/commit/7605d21314edac5a2f3d260d8c0d6bc259dbf782 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netinet6/ip6_output.c Log Message: ----------- ip6_output: improve extension header handling Move IPv6 source address checks from after extension header heandling to the top of the function. If we do not pass these checks there is no reason to do a lot of work upfront. Fold extension header preparations and length calculations together into a single branch and macro rather than doing them sequentially. Likewise move extension header concatination into a single branch block only doing it if we recorded any extension header length length. Commit: 34ade9084c7e53ca0e3a4f2f21848d34848e7d7e https://github.com/MidnightBSD/src/commit/34ade9084c7e53ca0e3a4f2f21848d34848e7d7e Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netinet6/mld6.c Log Message: ----------- initialize oifp to avoid bogus results/panics in edge cases In certain cases (probably not during normal operation but observed in the lab during development) ip6_ouput() could return without error and ifpp (&oifp) not updated. Given oifp was never initialized we would take the later branch as oifp was not NULL, and when calling icmp6_ifstat_inc() we would panic dereferencing a garbage pointer. For code stability initialize oifp to NULL before first use to always have a deterministic value and not rely on a called function to behave and always and for ever do the work for us as we hope for. Commit: 74d2611fa576c3f33d490ebd5a4d82da46b22244 https://github.com/MidnightBSD/src/commit/74d2611fa576c3f33d490ebd5a4d82da46b22244 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/uart/uart_bus_pci.c Log Message: ----------- Add Denverton UART PCI ID Commit: cfad94e67cdc8db0937dd0c40544d780146f6661 https://github.com/MidnightBSD/src/commit/cfad94e67cdc8db0937dd0c40544d780146f6661 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netinet6/ip6_output.c Log Message: ----------- Fix IPv6 checksums when exthdrs are present. In two places in ip6_output we are doing (delayed) checksum calculations. The initial logic came from SCTP in r205075,205104 and later I copied and adjusted it for the TCP|UDP case in r235958. The problem was that the original SCTP offsets were already wrong for any case with extension headers present given IPv6 extension headers are not part of the pseudo checksum calculations. The later changes do not help in case there is checksum offloading as for extension headers (incl. fragments) we do currrently never offload as we have no infrastructure to know whether the NIC can handle these cases. Correct the offsets for delayed checksum calculations and properly handle mbuf flags. In addition harmonize the almost identical duplicate code. While here eliminate the now unneeded variable hlen and add an always missing mtod() call in the 1-b and 3 cases after the introduction of the mb_unmapped_to_ext() calls. Obtained from: FreeBSD Commit: c415da0c75f97908c58b389c32de14288275d7a1 https://github.com/MidnightBSD/src/commit/c415da0c75f97908c58b389c32de14288275d7a1 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/amd64/amd64/initcpu.c M sys/amd64/amd64/support.S M sys/dev/cpuctl/cpuctl.c M sys/x86/acpica/acpi_wakeup.c M sys/x86/include/x86_var.h M sys/x86/x86/cpu_machdep.c Log Message: ----------- Fix IBRS for machines with IBRS_ALL capability. Commit: 830d406c9e265b17a696a71b8e6ae1ce39db066b https://github.com/MidnightBSD/src/commit/830d406c9e265b17a696a71b8e6ae1ce39db066b Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/arm/arm/identcpu-v6.c Log Message: ----------- Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] if (val & CPUV7_CT_CTYPE_RA) ^ sys/arm/arm/identcpu-v6.c:225:4: note: previous statement is here if (val & CPUV7_CT_CTYPE_WB) ^ This was due to an accidentally inserted tab before the if statement. Commit: 91d57e1cd00c9d3ab09b0d0ca7f80dca4615e063 https://github.com/MidnightBSD/src/commit/91d57e1cd00c9d3ab09b0d0ca7f80dca4615e063 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Log Message: ----------- When scn->scn_maxinflight_bytes has not been initialized it's possible to hang on the condition variable in scan_exec_io(). This issue was uncovered by ztest and is only possible when deduplication is enabled through the following call path. txg_sync_thread() spa_sync() ddt_sync_table() ddt_sync_entry() dsl_scan_ddt_entry() dsl_scan_scrub_cb() dsl_scan_enqueuei() scan_exec_io() cv_wait() Resolve the issue by always initializing scn_maxinflight_bytes to a reasonable minimum value. This value will be recalculated in dsl_scan_sync() to pick up changes to zfs_scan_vdev_limit and the addition/removal of vdevs. Commit: f65e1270b6953295e3c33d51051cb59e215f30ac https://github.com/MidnightBSD/src/commit/f65e1270b6953295e3c33d51051cb59e215f30ac Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Log Message: ----------- MFZoL: Fix 2 small bugs with cached dsl_scan_phys_t This patch corrects 2 small bugs where scn->scn_phys_cached was not properly updated to match the primary copy when it needed to be. The first resulted in the pause state not being properly updated and the second resulted in the cached version being completely zeroed even if the primary was not. Commit: 8b1893b1ecb09ba52e58871c04672f22e74da4d6 https://github.com/MidnightBSD/src/commit/8b1893b1ecb09ba52e58871c04672f22e74da4d6 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Log Message: ----------- MFZoL: Fix issue with scanning dedup blocks as scan ends This patch fixes an issue discovered by ztest where dsl_scan_ddt_entry() could add I/Os to the dsl scan queues between when the scan had finished all required work and when the scan was marked as complete. This caused the scan to spin indefinitely without ending. Commit: ae8197c23b6e631ef6ff3166da2abd7ce3b9797c https://github.com/MidnightBSD/src/commit/ae8197c23b6e631ef6ff3166da2abd7ce3b9797c Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c Log Message: ----------- MFZoL: Fix resilver writes in vdev_indirect_io_start This patch addresses an issue found in ztest where resilver write zios that were passed to an indirect vdev would end up being handled as though they were resilver read zios. This caused issues where the zio->io_abd would be both read to and written from at the same time, causing asserts to fail. Commit: 3583d49105762ad4030433b81f03212be9c1544f https://github.com/MidnightBSD/src/commit/3583d49105762ad4030433b81f03212be9c1544f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c Log Message: ----------- MFZoL: Relax restriction on zfs_ioc_next_obj() iteration Per the documentation for dnode_next_offset in dnode.c, the "txg" parameter specifies a lower bound on which transaction the dnode can be found in. We are interested in all dnodes that are removed between the first and last transaction in the snapshot. It doesn't need to be created in that snapshot to correspond to a removed file. In fact, the behavior of zfs diff in the test case exactly matches this: the transaction that created the data that was deleted in snapshot "2" was produced before, in snapshot "1", definitely predating the first transaction in snapshot "2". Commit: 04e2b02613ef4e02ce86506808e69b7e8f10529f https://github.com/MidnightBSD/src/commit/04e2b02613ef4e02ce86506808e69b7e8f10529f Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/contrib/ipfilter/netinet/ip_compat.h M sys/contrib/ipfilter/netinet/ip_fil.h M sys/contrib/ipfilter/netinet/ip_proxy.c M sys/contrib/ipfilter/netinet/ip_state.c M sys/contrib/ipfilter/netinet/ip_sync.c Log Message: ----------- #ifdef cleanup Commit: 1408e32034ec08c21930383dd96668c04ba1954d https://github.com/MidnightBSD/src/commit/1408e32034ec08c21930383dd96668c04ba1954d Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/contrib/ipfilter/netinet/ip_compat.h Log Message: ----------- Remove the now unused FREEBSD_GE_REV, FREEBSD_GT_REV, and FREEBSD_LT_REV macros. Commit: 313344ea880c23a1aab319adaf21d98c9b0a9a56 https://github.com/MidnightBSD/src/commit/313344ea880c23a1aab319adaf21d98c9b0a9a56 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/contrib/ipfilter/netinet/ip_compat.h M sys/contrib/ipfilter/netinet/ip_nat.c M sys/contrib/ipfilter/netinet/ip_sync.c Log Message: ----------- Retire macros: BSD_GE_YEAR BSD_GT_YEAR BSD_LT_YEAR Commit: b1e98cbdc56c8856aa2dded331b87a3be5812424 https://github.com/MidnightBSD/src/commit/b1e98cbdc56c8856aa2dded331b87a3be5812424 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Restart the USB keyboard repeat timer at every valid key-press. Commit: d1b187f4848a10303beb5bd3ea1defeb375b3c4d https://github.com/MidnightBSD/src/commit/d1b187f4848a10303beb5bd3ea1defeb375b3c4d Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/include/linux/jiffies.h M sys/compat/linuxkpi/common/src/linux_compat.c Log Message: ----------- Extend the range of the return value from nsecs_to_jiffies64() to support Mesa's drm_syncobj usage, in the LinuxKPI. While at it optimise the jiffies conversion functions to avoid repeated and constant calculations. Commit: 89f9a567dc963b753a526aadf36f2240306f45ac https://github.com/MidnightBSD/src/commit/89f9a567dc963b753a526aadf36f2240306f45ac Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/ismt/ismt.c Log Message: ----------- Add Atom C3000 (Denverton) SMT PCI ID. Commit: 2f58201ffddabdf3b2a32b7bbabffc59c461f9db https://github.com/MidnightBSD/src/commit/2f58201ffddabdf3b2a32b7bbabffc59c461f9db Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netinet/tcp_syncache.c Log Message: ----------- Don't send an uninitialised traffic class in the IPv6 header, when sending a TCP segment from the TCP SYN cache (like a SYN-ACK). This fix initialises it to zero. This is correct for the ECN bits, but is does not honor the DSCP what an application might have set via the IPPROTO_IPV6 level socket options IPV6_TCLASS. That will be fixed separately. Commit: 6bcb234b752e09b0c1bec899147502665eb4dcc2 https://github.com/MidnightBSD/src/commit/6bcb234b752e09b0c1bec899147502665eb4dcc2 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/sys/elf_common.h Log Message: ----------- add MIPS-specific PT header ELF definitions Commit: 23b5e51e2b7b950b0c3fef96442b6defc4c58994 https://github.com/MidnightBSD/src/commit/23b5e51e2b7b950b0c3fef96442b6defc4c58994 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netpfil/pf/pf_ioctl.c Log Message: ----------- Avoid potential structure padding leak. Commit: 129ad4c730bfcfd589d26a2a7f944210503c8f29 https://github.com/MidnightBSD/src/commit/129ad4c730bfcfd589d26a2a7f944210503c8f29 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/netpfil/pf/pf_ioctl.c Log Message: ----------- Avoid potential structure padding leak Commit: 4163628bbccab24122079eb9549ea573565b1d1d https://github.com/MidnightBSD/src/commit/4163628bbccab24122079eb9549ea573565b1d1d Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/ctau/if_ct.c M sys/dev/cx/if_cx.c Log Message: ----------- Add deprecation notices to ctau and cx drivers Commit: 528d7a4bf9b20d49a7295201b2f12b5367a0b4bc https://github.com/MidnightBSD/src/commit/528d7a4bf9b20d49a7295201b2f12b5367a0b4bc Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Log Message: ----------- Increase number of write completion threads, matching ZoL. Our iSCSI benchmarks on a large 80-core system show that previous limit of 8 threads can be a bottleneck. At some points this change increases write IOPS by as much as 50% Commit: 3fb8f7dcc4602236b528ec5b0eb7dce22e6d6121 https://github.com/MidnightBSD/src/commit/3fb8f7dcc4602236b528ec5b0eb7dce22e6d6121 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/controller/xhci.c M sys/dev/usb/usb_hub.c Log Message: ----------- Remove the power bit from the super speed root hub port status register because it clobbers the super speed link status when a device is in super speed mode. Currently the power bit is not needed for anything in the USB hub driver. This fixes USB warm reset for super speed devices. Commit: 2c447b5db296a544058c88d8c93337909ab4cdfe https://github.com/MidnightBSD/src/commit/2c447b5db296a544058c88d8c93337909ab4cdfe Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/sound/pcm/dsp.c M sys/dev/sound/pcm/mixer.c M sys/dev/sound/pcm/sound.c M sys/dev/sound/pcm/sound.h Log Message: ----------- Implement a detaching flag for the sound(4) subsystem to take appropriate actions when we are trying to detach an audio device, but cannot because someone is using it. This avoids applications having to wait for the DSP read data timeout before they receive any error indication. Tested with virtual_oss(8). Remove some unused definitions while at it. Commit: 8846706ff39772cf66e3f64c67d2727dc9e314e1 https://github.com/MidnightBSD/src/commit/8846706ff39772cf66e3f64c67d2727dc9e314e1 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/src/linux_compat.c Log Message: ----------- When closing a LinuxKPI file always use the real release function to avoid resource leakage when destroying a LinuxKPI character device. Commit: 34f53390e6578b63261f40c4b97f9f1b66b0de50 https://github.com/MidnightBSD/src/commit/34f53390e6578b63261f40c4b97f9f1b66b0de50 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/acpica/acpi_button.c M sys/dev/acpica/acpi_lid.c Log Message: ----------- Expose the ACPI power button, sleep button and LID state as evdev's. This allows libinput to disable touchpads when the lid is closed and various desktop environments can show power-off dialogs when the power button is pressed. While the latter is doable with devd a cross-platform solution is nicer. Commit: 57244186bbb3d4b3952f0a7997151728126723a2 https://github.com/MidnightBSD/src/commit/57244186bbb3d4b3952f0a7997151728126723a2 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M etc/services Log Message: ----------- do a service update Commit: e815c6dc5ddc599c54d3afbb0bfbb8e2bbc01985 https://github.com/MidnightBSD/src/commit/e815c6dc5ddc599c54d3afbb0bfbb8e2bbc01985 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Log Message: ----------- style(9) Commit: e8cf7f3a0cece1471d57cae004b4920751e94d5b https://github.com/MidnightBSD/src/commit/e8cf7f3a0cece1471d57cae004b4920751e94d5b Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/sys/kernel.h Log Message: ----------- Define more subsystem orders. Intended for use with module_init_order() in the LinuxKPI. Commit: 48d757cd8d6947f8a004e2fdde060480dc526aac https://github.com/MidnightBSD/src/commit/48d757cd8d6947f8a004e2fdde060480dc526aac Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/compat/linux/linux_ioctl.c M sys/compat/linux/linux_ioctl.h Log Message: ----------- Add support for the device statistics IOCTL Commit: 1c4db596c3f59ae165e536376b5cbad28ffef15a https://github.com/MidnightBSD/src/commit/1c4db596c3f59ae165e536376b5cbad28ffef15a Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M sys/dev/usb/input/wmt.c Log Message: ----------- If the USB frame length is set to 1024 bytes, WMT_BSIZE, the EETI controller will pack multiple touch events in the packet and the current code will only process the first touch event. As a result some important events are lost like releasing the finger from the touchscreen. Use the maximal input report size as buffer size instead. Commit: ed4553df26e71e67fa3e2d2310a6bd57302a2072 https://github.com/MidnightBSD/src/commit/ed4553df26e71e67fa3e2d2310a6bd57302a2072 Author: Lucas Holt Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M usr.sbin/bsdinstall/scripts/zfsboot Log Message: ----------- fix the zfs data set for mports Commit: 4ce9738c2f908289b9d9befe47637fada4234dd8 https://github.com/MidnightBSD/src/commit/4ce9738c2f908289b9d9befe47637fada4234dd8 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M contrib/libarchive/cat/test/list.h M contrib/libarchive/cpio/test/list.h M contrib/libarchive/libarchive/test/list.h M contrib/libarchive/tar/test/list.h M contrib/ncurses/ncurses/base/MKlib_gen.sh R contrib/perl/Configure.orig R contrib/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm.orig R contrib/perl/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t.orig R contrib/perl/hints/freebsd.sh.orig M etc/login.conf M etc/periodic/daily/200.backup-passwd M etc/services M lib/libmport/bundle_read_update_pkg.c M sys/amd64/amd64/initcpu.c M sys/amd64/amd64/support.S M sys/amd64/conf/GENERIC M sys/arm/arm/identcpu-v6.c M sys/cam/ata/ata_da.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/multilist.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/multilist.h M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c M sys/compat/linux/linux_futex.c M sys/compat/linux/linux_ioctl.c M sys/compat/linux/linux_ioctl.h M sys/compat/linuxkpi/common/include/linux/jiffies.h M sys/compat/linuxkpi/common/include/linux/mm_types.h M sys/compat/linuxkpi/common/src/linux_compat.c M sys/conf/files.i386 M sys/conf/kern.mk M sys/contrib/ipfilter/netinet/ip_compat.h M sys/contrib/ipfilter/netinet/ip_fil.h M sys/contrib/ipfilter/netinet/ip_nat.c M sys/contrib/ipfilter/netinet/ip_proxy.c M sys/contrib/ipfilter/netinet/ip_state.c M sys/contrib/ipfilter/netinet/ip_sync.c M sys/dev/acpica/acpi_button.c M sys/dev/acpica/acpi_cpu.c M sys/dev/acpica/acpi_lid.c M sys/dev/ahci/ahci_pci.c M sys/dev/atkbdc/psm.c M sys/dev/cpuctl/cpuctl.c M sys/dev/ctau/if_ct.c M sys/dev/cx/if_cx.c M sys/dev/hptmv/ioctl.c M sys/dev/ismt/ismt.c M sys/dev/mlx5/driver.h M sys/dev/mlx5/mlx5_core/mlx5_eq.c M sys/dev/mlx5/mlx5_core/mlx5_main.c M sys/dev/mlx5/mlx5_ib/mlx5_ib.h M sys/dev/mlx5/mlx5_ib/mlx5_ib_cong.c M sys/dev/netmap/netmap_kern.h M sys/dev/pci/pcireg.h M sys/dev/sound/pcm/dsp.c M sys/dev/sound/pcm/mixer.c M sys/dev/sound/pcm/sound.c M sys/dev/sound/pcm/sound.h M sys/dev/tpm/tpm_crb.c M sys/dev/uart/uart_bus_pci.c M sys/dev/usb/controller/ehci_pci.c M sys/dev/usb/controller/ohci_pci.c M sys/dev/usb/controller/xhci.c M sys/dev/usb/controller/xhci.h M sys/dev/usb/controller/xhci_pci.c M sys/dev/usb/input/ukbd.c M sys/dev/usb/input/wmt.c M sys/dev/usb/serial/uslcom.c M sys/dev/usb/template/usb_template_audio.c M sys/dev/usb/template/usb_template_cdce.c M sys/dev/usb/template/usb_template_kbd.c M sys/dev/usb/template/usb_template_midi.c M sys/dev/usb/template/usb_template_modem.c M sys/dev/usb/template/usb_template_mouse.c M sys/dev/usb/template/usb_template_msc.c M sys/dev/usb/template/usb_template_mtp.c M sys/dev/usb/template/usb_template_phone.c M sys/dev/usb/template/usb_template_serialnet.c M sys/dev/usb/usb_hub.c M sys/fs/devfs/devfs_vnops.c M sys/fs/fuse/fuse_vnops.c M sys/fs/nfsclient/nfs_clvnops.c M sys/fs/nfsserver/nfs_nfsdstate.c M sys/fs/nullfs/null.h M sys/fs/nullfs/null_subr.c M sys/fs/nullfs/null_vfsops.c M sys/fs/pseudofs/pseudofs_vnops.c M sys/fs/smbfs/smbfs_vnops.c M sys/fs/tmpfs/tmpfs_vnops.c M sys/geom/eli/g_eli.c M sys/kern/Makefile M sys/kern/kern_descrip.c M sys/kern/sys_capability.c M sys/kern/sysv_sem.c M sys/kern/tty.c M sys/kern/vfs_cache.c M sys/kern/vfs_lookup.c M sys/kern/vfs_subr.c M sys/modules/ce/Makefile M sys/modules/cp/Makefile R sys/modules/libalias/modules/cuseeme/machine R sys/modules/libalias/modules/cuseeme/x86 R sys/modules/libalias/modules/dummy/machine R sys/modules/libalias/modules/dummy/x86 R sys/modules/libalias/modules/ftp/machine R sys/modules/libalias/modules/ftp/x86 R sys/modules/libalias/modules/irc/machine R sys/modules/libalias/modules/irc/x86 R sys/modules/libalias/modules/nbt/machine R sys/modules/libalias/modules/nbt/x86 R sys/modules/libalias/modules/pptp/machine R sys/modules/libalias/modules/pptp/x86 R sys/modules/libalias/modules/skinny/machine R sys/modules/libalias/modules/skinny/x86 R sys/modules/libalias/modules/smedia/machine R sys/modules/libalias/modules/smedia/x86 M sys/net/ethernet.h M sys/net/iflib.c M sys/net/netisr.c M sys/netinet/igmp.c M sys/netinet/tcp_syncache.c M sys/netinet6/ip6_output.c M sys/netinet6/mld6.c M sys/netpfil/pf/pf.c M sys/netpfil/pf/pf_ioctl.c M sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c M sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c M sys/powerpc/conf/dpaa/files.dpaa M sys/sys/capsicum.h M sys/sys/elf_common.h M sys/sys/fcntl.h M sys/sys/file.h M sys/sys/kernel.h M sys/sys/namei.h M sys/sys/param.h M sys/sys/vnode.h M sys/x86/acpica/acpi_wakeup.c M sys/x86/include/x86_var.h M sys/x86/x86/cpu_machdep.c M tests/sys/net/Makefile A tests/sys/net/if_epair.c M tools/build/mk/OptionalObsoleteFiles.inc M usr.bin/perl/BSDmakefile A usr.bin/perl/Makefile.depend M usr.sbin/bsdconfig/include/messages.subr M usr.sbin/bsdinstall/scripts/zfsboot M usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c M usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c M usr.sbin/cron/cron/compat.h M usr.sbin/cron/cron/do_command.c M usr.sbin/cron/cron/externs.h M usr.sbin/cron/cron/popen.c M usr.sbin/cron/lib/compat.c M usr.sbin/pciconf/cap.c M usr.sbin/pciconf/pciconf.c M usr.sbin/wpa/wpa_supplicant/Makefile Log Message: ----------- Merge pull request #1 from MidnightBSD/master Cleanup some missed items, improve USB gaming keyboard support, fix some network stack issues Compare: https://github.com/MidnightBSD/src/compare/1a5f32be979c...4ce9738c2f90 From noreply at github.com Tue Nov 17 10:56:04 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 07:56:04 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] be0b9b: Bump version after major merge Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: be0b9b5e8acc5aa788b2481a3a0275a4ff520a92 https://github.com/MidnightBSD/src/commit/be0b9b5e8acc5aa788b2481a3a0275a4ff520a92 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/conf/newvers.sh Log Message: ----------- Bump version after major merge From noreply at github.com Tue Nov 17 17:50:35 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 14:50:35 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e4682e: fix path Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: e4682e3ae2b12cd1e77da9632e7cf6dd658ee140 https://github.com/MidnightBSD/src/commit/e4682e3ae2b12cd1e77da9632e7cf6dd658ee140 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M usr.bin/whereis/pathnames.h Log Message: ----------- fix path From noreply at github.com Tue Nov 17 17:51:03 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 14:51:03 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] cdda9b: fix path Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: cdda9b21ca272ecc3e9cadc5422960ebe3f948d2 https://github.com/MidnightBSD/src/commit/cdda9b21ca272ecc3e9cadc5422960ebe3f948d2 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M usr.bin/whereis/pathnames.h Log Message: ----------- fix path From noreply at github.com Tue Nov 17 23:24:40 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:24:40 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2df1fc: | kern_jail: missing \0 termination check on osre... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2df1fc53367c128afc282ba1ebdbfac6316eff5b https://github.com/MidnightBSD/src/commit/2df1fc53367c128afc282ba1ebdbfac6316eff5b Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/kern/kern_jail.c Log Message: ----------- | kern_jail: missing \0 termination check on osrelease parameter | | If a user spplies a non-\0 terminated osrelease parameter reading it back | may disclose kernel memory. | This is a problem in case of nested jails (children.max > 0, which is not | the default). Otherwise root outside the jail has access to kernel memory | by other means and root inside a jail cannot create a child jail. | | Add the proper \0 check at the end of a supplied osrelease parameter and | make sure any copies of the field will be \0-terminated. Commit: ad9e25051365567731ace4f30b5c8937e187ca0b https://github.com/MidnightBSD/src/commit/ad9e25051365567731ace4f30b5c8937e187ca0b Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M usr.bin/whereis/pathnames.h Log Message: ----------- Merge branch 'master' of ssh://github.com/midnightbsd/src into master Compare: https://github.com/MidnightBSD/src/compare/cdda9b21ca27...ad9e25051365 From noreply at github.com Tue Nov 17 23:29:35 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:29:35 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 8d58b0: Expose ifr_buffer_get_(buffer|length) outside if.c. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 8d58b082629f0351b4a8ed9c5ec6a5c235cbd58c https://github.com/MidnightBSD/src/commit/8d58b082629f0351b4a8ed9c5ec6a5c235cbd58c Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/net/if.c M sys/net/if_var.h Log Message: ----------- Expose ifr_buffer_get_(buffer|length) outside if.c. Commit: 0d4840527ffaba1782b08095608368d43638519b https://github.com/MidnightBSD/src/commit/0d4840527ffaba1782b08095608368d43638519b Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/bnxt/if_bnxt.c Log Message: ----------- bnxt(4): Fix ioctls when user addresses are inaccessable. Commit: 4c8a8239cd4b855412e4dc6012d355d876696f5f https://github.com/MidnightBSD/src/commit/4c8a8239cd4b855412e4dc6012d355d876696f5f Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/usb/input/wmt.c Log Message: ----------- wmt(4): Fix Synaptics Touch Digitizer V04 attachment Commit: ac15dc59e083126bd9887f4e0a2ad7bbd935280c https://github.com/MidnightBSD/src/commit/ac15dc59e083126bd9887f4e0a2ad7bbd935280c Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/netinet6/icmp6.c Log Message: ----------- Fix hostname to be returned in an ICMPv6 NI Reply message defined in RFC 4620, ICMPv6 Node Information Queries. A vnet jail with an IPv6 address sent a hostname of the host environment, not the jail, even if another hostname was set to the jail. This change can be tested by the following commands: # ifconfig epair0 create # jail -c -n j1 vnet host.hostname=vnetjail path=/ persist # ifconfig epair0b vnet j1 # ifconfig epair0a inet6 -ifdisabled auto_linklocal up # jexec j1 ifconfig epair0b inet6 -ifdisabled auto_linklocal up # ping6 -w ff02::1%epair0a Compare: https://github.com/MidnightBSD/src/compare/ad9e25051365...ac15dc59e083 From noreply at github.com Tue Nov 17 23:32:45 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:32:45 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] ff3297: |Add ACPI battery subsystem man page. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: ff329798722dbe3fae62da838c9e2c71839d42a2 https://github.com/MidnightBSD/src/commit/ff329798722dbe3fae62da838c9e2c71839d42a2 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/acpica/acpi_battery.c M sys/dev/acpica/acpi_cmbat.c M sys/dev/acpica/acpi_if.m M sys/dev/acpica/acpi_package.c M sys/dev/acpica/acpi_smbat.c M sys/dev/acpica/acpiio.h M sys/dev/acpica/acpivar.h M usr.sbin/acpi/acpiconf/acpiconf.c Log Message: ----------- |Add ACPI battery subsystem man page. | |Add _BIX (Battery Information Extended) object support. | |ACPI Control Method Batteries have a _BIF and/or _BIX object which |provide static properties of the battery. FreeBSD acpi_cmbat module |supported _BIF object only, which was deprecated as of ACPI 4.0. |_BIX is an extended version of _BIF defined in ACPI 4.0 or later. | |As of writing, _BIX has two revisions. One is in ACPI 4.0 (rev.0) and |another is in ACPI 6.0 (rev.1). It seems that hardware vendors still |stick to _BIF only or _BIX rev.0 + _BIF for the maximum compatibility. |Microsoft requires _BIX rev.0 for Windows machines, so there are some |laptop machines with _BIX rev.0 only. In this case, FreeBSD does not |recognize the battery information. | |After this change, the acpi_cmbat module gets battery information from |_BIX or _BIF object and internally uses _BIX rev.1 data structure as |the primary information store in the kernel. ACPIIO_BATT_GET_BI[FX] |returns an acpi_bi[fx] structure built by using information obtained |from a _BIF or a _BIX object found on the system. The revision number |field can be used to check which field is available. The acpiconf(8) |utility will show additional information if _BIX is available. | |Although ABIs of ACPIIO_BATT_* were changed, the existing APIs for |userland utilities are not changed and the backward-compatible ABIs |are provided. This means that older versions of acpiconf(8) can also |work with the new kernel. The (union acpi_battery_ioctl_arg) was |padded to 256 byte long to avoid another ABI change in the future. |A _BIX object with its revision number >1 will be treated as |compatible with the rev.1 _BIX format. | |Add workaround for models which do not follow the ACPI specification strictly. |Extra objects are now simply ignored instead of rejecting everything. Commit: 92d03461bbc87988efe14d209edb2604005f6344 https://github.com/MidnightBSD/src/commit/92d03461bbc87988efe14d209edb2604005f6344 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/ciss/ciss.c Log Message: ----------- Fix model number Compare: https://github.com/MidnightBSD/src/compare/ac15dc59e083...92d03461bbc8 From noreply at github.com Tue Nov 17 23:34:26 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:34:26 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 7ec3c4: Don't print the request we may be Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 7ec3c467f3a4631625fff48a3e530dfe959565b5 https://github.com/MidnightBSD/src/commit/7ec3c467f3a4631625fff48a3e530dfe959565b5 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/ciss/ciss.c Log Message: ----------- Don't print the request we may be | aborting in ciss_notify_abort as part of ciss_detach. It's a left-over debug | that isn't needed and also discloses a kernel address. Only root could | provoke as part of a devctl or kldunload. Commit: 602414c7cc7738bd7dca8160d3ad4d471ed42305 https://github.com/MidnightBSD/src/commit/602414c7cc7738bd7dca8160d3ad4d471ed42305 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/sound/pci/hda/hdac.c M sys/dev/sound/pci/hda/hdac.h Log Message: ----------- snd_hda: Add Intel Cannon Lake support Compare: https://github.com/MidnightBSD/src/compare/92d03461bbc8...602414c7cc77 From noreply at github.com Tue Nov 17 23:40:51 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:40:51 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 590a3e: The ipoib_unicast_send() function is not supposed ... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 590a3e8fcfc624e6c585e84eef09f75010453607 https://github.com/MidnightBSD/src/commit/590a3e8fcfc624e6c585e84eef09f75010453607 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Log Message: ----------- The ipoib_unicast_send() function is not supposed to unlock the priv lock. Commit: 8f3b0da5fa1408d1edfe2d2a0a7763ecf0748870 https://github.com/MidnightBSD/src/commit/8f3b0da5fa1408d1edfe2d2a0a7763ecf0748870 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M usr.bin/calendar/calendars/calendar.birthday M usr.bin/calendar/calendars/calendar.history M usr.bin/calendar/calendars/calendar.holiday M usr.bin/calendar/calendars/calendar.music Log Message: ----------- calendar(1): Updates and corrections for some calendar files. Compare: https://github.com/MidnightBSD/src/compare/602414c7cc77...8f3b0da5fa14 From noreply at github.com Tue Nov 17 23:41:38 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:41:38 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 3af47a: hook CAM_IO_STATS up to the build Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 3af47a9d633de8fdea77dec04cebb2f4d6c8af58 https://github.com/MidnightBSD/src/commit/3af47a9d633de8fdea77dec04cebb2f4d6c8af58 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/conf/NOTES M sys/conf/options Log Message: ----------- hook CAM_IO_STATS up to the build From noreply at github.com Tue Nov 17 23:44:32 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:44:32 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b784f1: ses: sanitize illegal strings in SES element descr... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: b784f10d375ce0634e10964d6edc4d35d9f73ca5 https://github.com/MidnightBSD/src/commit/b784f10d375ce0634e10964d6edc4d35d9f73ca5 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/cam/scsi/scsi_enc_ses.c Log Message: ----------- ses: sanitize illegal strings in SES element descriptors Obtained from: FreeBSD Commit: 36de403d8729d71f3bf00ab6f7412e57163ac946 https://github.com/MidnightBSD/src/commit/36de403d8729d71f3bf00ab6f7412e57163ac946 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M usr.sbin/extattr/rmextattr.c Log Message: ----------- setextattr: Increase stdin buffer size to 4096 Compare: https://github.com/MidnightBSD/src/compare/3af47a9d633d...36de403d8729 From noreply at github.com Tue Nov 17 23:45:13 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:45:13 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 3c558c: Fix parameter reversal potentially causing buffer ... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 3c558cb80cfee75cb78bb48115d2ec5291c1dc3f https://github.com/MidnightBSD/src/commit/3c558cb80cfee75cb78bb48115d2ec5291c1dc3f Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/cam/nvme/nvme_da.c Log Message: ----------- Fix parameter reversal potentially causing buffer overrun From noreply at github.com Tue Nov 17 23:52:52 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:52:52 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e1c7fd: netmap: ixl: add CRC to outbound frames Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: e1c7fdba60e1beae2203f7ab938a89f950c94714 https://github.com/MidnightBSD/src/commit/e1c7fdba60e1beae2203f7ab938a89f950c94714 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/netmap/if_ixl_netmap.h Log Message: ----------- netmap: ixl: add CRC to outbound frames Commit: f2253581c7c0162475a9b597a0024cf5e182f4e0 https://github.com/MidnightBSD/src/commit/f2253581c7c0162475a9b597a0024cf5e182f4e0 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/cam/scsi/scsi_enc_ses.c Log Message: ----------- Broadcom 9400-8i8e HBAs report virtual SES device, where slots representing external connectors are reported having no phys. Since sasdev_phys is NULL there and proto_hdr is a union, ses_paths_iter() misinterpreted them as ATA. Add explicit protocol check to properly differentiate them. Commit: fca960cd77ac84266c2102d3f5f6d233a10ea067 https://github.com/MidnightBSD/src/commit/fca960cd77ac84266c2102d3f5f6d233a10ea067 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/usb/usb.h M sys/dev/usb/usb_hub.c Log Message: ----------- Correctly implement support for remote wakeup for usb 3 Commit: 310b7ea7a66002cd6345671c8a8b3aaa2436e773 https://github.com/MidnightBSD/src/commit/310b7ea7a66002cd6345671c8a8b3aaa2436e773 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M etc/master.passwd Log Message: ----------- Add the tests user, an unprivileged user from the default kyua config. Compare: https://github.com/MidnightBSD/src/compare/3c558cb80cfe...310b7ea7a660 From noreply at github.com Tue Nov 17 23:54:21 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:54:21 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d78832: Increase buffer in mprsas_log_command() Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d78832cecf3793666939f5c8eb8089a398807209 https://github.com/MidnightBSD/src/commit/d78832cecf3793666939f5c8eb8089a398807209 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/mpr/mpr_sas.c M sys/dev/mps/mps_sas.c Log Message: ----------- Increase buffer in mprsas_log_command() From noreply at github.com Tue Nov 17 23:55:14 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:55:14 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 8c110d: ismt: Fix ISMT_DESC_ADDR_RW macro, slave addresses... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 8c110de1cb8da5023b975f088169f832c4a20d1f https://github.com/MidnightBSD/src/commit/8c110de1cb8da5023b975f088169f832c4a20d1f Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/ismt/ismt.c Log Message: ----------- ismt: Fix ISMT_DESC_ADDR_RW macro, slave addresses are already left-shifted From noreply at github.com Tue Nov 17 23:55:56 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:55:56 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] c87475: Add Atom C3000 watchdog ID. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: c87475fe3e6941174f7cea8bb8aca71216c118ae https://github.com/MidnightBSD/src/commit/c87475fe3e6941174f7cea8bb8aca71216c118ae Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/dev/ichwd/ichwd.c M sys/dev/ichwd/ichwd.h Log Message: ----------- Add Atom C3000 watchdog ID. From noreply at github.com Tue Nov 17 23:57:18 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 20:57:18 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2c052e: Introduce LINUXKPI_GENSRCS. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2c052e587e087121cb0cba7b980c714f19457ab9 https://github.com/MidnightBSD/src/commit/2c052e587e087121cb0cba7b980c714f19457ab9 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M sys/conf/kmod.mk M sys/modules/cxgbe/iw_cxgbe/Makefile M sys/modules/ibcore/Makefile M sys/modules/ipoib/Makefile M sys/modules/iser/Makefile M sys/modules/linuxkpi/Makefile M sys/modules/mlx4/Makefile M sys/modules/mlx4en/Makefile M sys/modules/mlx4ib/Makefile M sys/modules/mlx5/Makefile M sys/modules/mlx5en/Makefile M sys/modules/mlx5fpga_tools/Makefile M sys/modules/mlx5ib/Makefile M sys/modules/mlxfw/Makefile M sys/modules/mthca/Makefile M sys/modules/qlnx/qlnxe/Makefile M sys/modules/qlnx/qlnxev/Makefile M sys/modules/rdma/krping/Makefile Log Message: ----------- Introduce LINUXKPI_GENSRCS. From noreply at github.com Wed Nov 18 00:00:33 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 21:00:33 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] a76e18: Create and use a tests group for the tests user. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: a76e18e43a96e78809ea501b6eb65e17a4a6d4c7 https://github.com/MidnightBSD/src/commit/a76e18e43a96e78809ea501b6eb65e17a4a6d4c7 Author: Lucas Holt Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M etc/group M etc/master.passwd Log Message: ----------- Create and use a tests group for the tests user. Commit: c7116f60d1ca54ef901a7774c17bd3612460081f https://github.com/MidnightBSD/src/commit/c7116f60d1ca54ef901a7774c17bd3612460081f Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/sound/pci/hda/hdac.c Log Message: ----------- hdaa: remove verbosity from the normal driver ops Compare: https://github.com/MidnightBSD/src/compare/2c052e587e08...c7116f60d1ca From noreply at github.com Wed Nov 18 00:01:25 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 21:01:25 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] c25c4d: Do not spuriously re-enable disabled io_apic pin Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: c25c4d6a1c6ce76409e02fc25386e307aaa48e91 https://github.com/MidnightBSD/src/commit/c25c4d6a1c6ce76409e02fc25386e307aaa48e91 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/x86/x86/io_apic.c Log Message: ----------- Do not spuriously re-enable disabled io_apic pin From noreply at github.com Wed Nov 18 00:02:27 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 21:02:27 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b450d4: Add pci_iov_if.h header as a dependency for Linuxk... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: b450d44be3daedd7543f719d32a296e840117147 https://github.com/MidnightBSD/src/commit/b450d44be3daedd7543f719d32a296e840117147 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/conf/kmod.mk Log Message: ----------- Add pci_iov_if.h header as a dependency for Linuxkpi consumers. From noreply at github.com Wed Nov 18 00:04:04 2020 From: noreply at github.com (Lucas Holt) Date: Tue, 17 Nov 2020 21:04:04 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 578754: add linux iov pass through Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 578754c39ef138b2ca9636c5148934303690d11c https://github.com/MidnightBSD/src/commit/578754c39ef138b2ca9636c5148934303690d11c Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/include/linux/pci.h M sys/compat/linuxkpi/common/src/linux_pci.c Log Message: ----------- add linux iov pass through Commit: 0e4afbdeb69669c9708a1ee4d6dbd371dd704779 https://github.com/MidnightBSD/src/commit/0e4afbdeb69669c9708a1ee4d6dbd371dd704779 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- mlx5_core: add sysctls to report device caps Compare: https://github.com/MidnightBSD/src/compare/b450d44be3da...0e4afbdeb696 From noreply at github.com Wed Nov 18 08:59:06 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 05:59:06 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 46b944: mlx5: Basic PCIe side of SR-IOV support. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 46b9446fab757c6c6aedb3f42cecb00a8ccb5cee https://github.com/MidnightBSD/src/commit/46b9446fab757c6c6aedb3f42cecb00a8ccb5cee Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- mlx5: Basic PCIe side of SR-IOV support. Commit: 292ea959fbe39ca69365e758d31a418eeeb052e3 https://github.com/MidnightBSD/src/commit/292ea959fbe39ca69365e758d31a418eeeb052e3 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/driver.h M sys/modules/mlx5/Makefile Log Message: ----------- mlx5: Restore eswitch management code Commit: 13cdfc78e5480477b9ae29bf59ffdda7049f109f https://github.com/MidnightBSD/src/commit/13cdfc78e5480477b9ae29bf59ffdda7049f109f Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: A sys/dev/mlx5/mlx5_core/eswitch.h A sys/dev/mlx5/mlx5_core/flow_table.h A sys/dev/mlx5/mlx5_core/mlx5_eswitch.c Log Message: ----------- mlx5: Restore eswitch management code Compare: https://github.com/MidnightBSD/src/compare/0e4afbdeb696...13cdfc78e548 From noreply at github.com Wed Nov 18 09:00:00 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 06:00:00 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2ad5ee: mlx5: Integrate eswitch and mpfs management Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2ad5ee71c44392e2077c51828af2f3a15961869f https://github.com/MidnightBSD/src/commit/2ad5ee71c44392e2077c51828af2f3a15961869f Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_eswitch.c M sys/dev/mlx5/mlx5_core/mlx5_mpfs.c M sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c M sys/dev/mlx5/mpfs.h Log Message: ----------- mlx5: Integrate eswitch and mpfs management From noreply at github.com Wed Nov 18 23:23:40 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:23:40 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 330ed2: mlx5: Add 'follow' vport state Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 330ed21b08c9616e0796ed6795232ef4878145e7 https://github.com/MidnightBSD/src/commit/330ed21b08c9616e0796ed6795232ef4878145e7 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/device.h Log Message: ----------- mlx5: Add 'follow' vport state From noreply at github.com Wed Nov 18 23:25:31 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:25:31 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 218ae9: mlx5: Use eswitch interface to configure VFs Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 218ae9c4128522153219789b93bf1c01a97f9330 https://github.com/MidnightBSD/src/commit/218ae9c4128522153219789b93bf1c01a97f9330 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- mlx5: Use eswitch interface to configure VFs From noreply at github.com Wed Nov 18 23:26:27 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:26:27 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] fd3e58: mlx5: Read number of VF ports from the SR-IOV cap Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: fd3e5868407f60d48e16ed4618220cfef8e22126 https://github.com/MidnightBSD/src/commit/fd3e5868407f60d48e16ed4618220cfef8e22126 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/eswitch.h M sys/dev/mlx5/mlx5_core/mlx5_eswitch.c M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- mlx5: Read number of VF ports from the SR-IOV cap From noreply at github.com Wed Nov 18 23:27:28 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:27:28 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 38f080: mlx5: Route NIC_VPORT_CHANGE events to eswitch Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 38f0809252218f50ff6ade3bdabcfa3d4f88e56a https://github.com/MidnightBSD/src/commit/38f0809252218f50ff6ade3bdabcfa3d4f88e56a Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_eq.c Log Message: ----------- mlx5: Route NIC_VPORT_CHANGE events to eswitch From noreply at github.com Wed Nov 18 23:28:32 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:28:32 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] a62a2c: mlx5_core: lower the severity of message noting Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: a62a2cb134f74ae1f47d12a8236df15c71408b7c https://github.com/MidnightBSD/src/commit/a62a2cb134f74ae1f47d12a8236df15c71408b7c Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_core/mlx5_main.c Log Message: ----------- mlx5_core: lower the severity of message noting From noreply at github.com Wed Nov 18 23:29:22 2020 From: noreply at github.com (Lucas Holt) Date: Wed, 18 Nov 2020 20:29:22 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 0b1307: Add file for static compilation of mlx5 Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 0b130793177a8b3893d4d26c5125657586c8cfc9 https://github.com/MidnightBSD/src/commit/0b130793177a8b3893d4d26c5125657586c8cfc9 Author: Lucas Holt Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M sys/conf/files Log Message: ----------- Add file for static compilation of mlx5 From noreply at github.com Thu Nov 19 15:00:09 2020 From: noreply at github.com (Lucas Holt) Date: Thu, 19 Nov 2020 12:00:09 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] cb479c: Add missing STAILQ_INIT() in ciss_disable_adapter(). Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: cb479c2ada53051a6e6557c2e46245bcb4e98560 https://github.com/MidnightBSD/src/commit/cb479c2ada53051a6e6557c2e46245bcb4e98560 Author: Lucas Holt Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M sys/dev/ciss/ciss.c Log Message: ----------- Add missing STAILQ_INIT() in ciss_disable_adapter(). I think it should fix reported panic after "ADAPTER HEARTBEAT FAILED". Commit: 176ef42677ae7c04feef3716b500f26f7ad3dd49 https://github.com/MidnightBSD/src/commit/176ef42677ae7c04feef3716b500f26f7ad3dd49 Author: Lucas Holt Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M cddl/contrib/opensolaris/cmd/ztest/ztest.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil_impl.h M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Log Message: ----------- make zil max block size tunable | |We've observed that on some highly fragmented pools, most metaslab |allocations are small (~2-8KB), but there are some large, 128K |allocations. The large allocations are for ZIL blocks. If there is a |lot of fragmentation, the large allocations can be hard to satisfy. | |The most common impact of this is that we need to check (and thus load) |lots of metaslabs from the ZIL allocation code path, causing sync writes |to wait for metaslabs to load, which can take a second or more. In the |worst case, we may not be able to satisfy the allocation, in which case |the ZIL will resort to txg_wait_synced() to ensure the change is on |disk. | |To provide a workaround for this, this change adds a tunable that can |reduce the size of ZIL blocks. Compare: https://github.com/MidnightBSD/src/compare/0b130793177a...176ef42677ae From noreply at github.com Fri Nov 20 23:41:03 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:41:03 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 7c2c4b: fix name Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: 7c2c4bdb81acc5ac6791c0cc67a2493f6452b767 https://github.com/MidnightBSD/src/commit/7c2c4bdb81acc5ac6791c0cc67a2493f6452b767 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/kern/subr_smp.c Log Message: ----------- fix name From noreply at github.com Fri Nov 20 23:41:30 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:41:30 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 3904dc: fix name Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 3904dc3d9317c95b70076ce817f844bc64f85557 https://github.com/MidnightBSD/src/commit/3904dc3d9317c95b70076ce817f844bc64f85557 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/kern/subr_smp.c Log Message: ----------- fix name From noreply at github.com Fri Nov 20 23:45:03 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:45:03 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 8d2dfb: Evaluate modifier keys before the regular keys, Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 8d2dfbc5b48bb53cf0a8f2d9588e1af1b5821779 https://github.com/MidnightBSD/src/commit/8d2dfbc5b48bb53cf0a8f2d9588e1af1b5821779 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/dev/usb/input/ukbd.c Log Message: ----------- Evaluate modifier keys before the regular keys, so that if a modifier key is pressed at the same time as a regular key, that means key with modifier is output. Some automated USB keyboards like Yubikeys need this. Commit: 3df1062bb2db1c089d6ec05bf44dbbaa9232f3b9 https://github.com/MidnightBSD/src/commit/3df1062bb2db1c089d6ec05bf44dbbaa9232f3b9 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/kern/subr_smp.c Log Message: ----------- Merge branch 'master' of ssh://github.com/midnightbsd/src into master Compare: https://github.com/MidnightBSD/src/compare/3904dc3d9317...3df1062bb2db From noreply at github.com Fri Nov 20 23:49:23 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:49:23 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 4ef144: Fine grain locking inside the cuse(3) kernel module. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 4ef1444ed7367a14443bf0e16b4fdf86fcb51ce1 https://github.com/MidnightBSD/src/commit/4ef1444ed7367a14443bf0e16b4fdf86fcb51ce1 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/fs/cuse/cuse.c Log Message: ----------- Fine grain locking inside the cuse(3) kernel module. Implement one mutex per cuse(3) server instance which also cover the clients belonging to the given server instance. This should significantly reduce the mutex congestion inside the cuse(3) kernel module when multiple servers are in use. Obtained from: FreeBSD From noreply at github.com Fri Nov 20 23:50:37 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:50:37 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 71bcfb: use NULL for SYSINIT's last arg Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 71bcfba5f5bb23f41e8853d6ef98d59865474c5f https://github.com/MidnightBSD/src/commit/71bcfba5f5bb23f41e8853d6ef98d59865474c5f Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/dev/acpica/acpi.c M sys/fs/cuse/cuse.c M sys/i386/bios/apm.c M sys/kern/imgact_binmisc.c M sys/kern/kern_linker.c M sys/kern/kern_module.c M sys/kern/kern_synch.c M sys/kern/kern_sysctl.c M sys/kern/link_elf.c M sys/kern/link_elf_obj.c M sys/kern/posix4_mib.c M sys/kern/subr_pcpu.c M sys/net/route.c M sys/net/vnet.c Log Message: ----------- use NULL for SYSINIT's last arg From noreply at github.com Fri Nov 20 23:51:14 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:51:14 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 01cf91: Use proper boolean expressions for soft update mac... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 01cf91da4d176bfd3bdda2c81e5360052bf7e3fd https://github.com/MidnightBSD/src/commit/01cf91da4d176bfd3bdda2c81e5360052bf7e3fd Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/ufs/ufs/inode.h Log Message: ----------- Use proper boolean expressions for soft update macros. From noreply at github.com Fri Nov 20 23:53:05 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:53:05 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 1e16e9: Allow ng_nat to be attached to a ethernet interfac... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 1e16e9176184bb094a02d1ddb173ae281e013725 https://github.com/MidnightBSD/src/commit/1e16e9176184bb094a02d1ddb173ae281e013725 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/netgraph/ng_nat.c M sys/netgraph/ng_nat.h Log Message: ----------- Allow ng_nat to be attached to a ethernet interface directly via ng_ether(4) or the likes. Add new control message types: setdlt and getdlt to switch from default DLT_RAW (no encapsulation) to DLT_EN10MB (ethernet). From noreply at github.com Fri Nov 20 23:54:52 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:54:52 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] c096fd: Correct "service ipfw status" for Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: c096fd55f8b119172fc393bb055c84d2b09cb78a https://github.com/MidnightBSD/src/commit/c096fd55f8b119172fc393bb055c84d2b09cb78a Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M etc/rc.d/ipfw Log Message: ----------- Correct "service ipfw status" for INET6-only systems. Commit: 1c1fe987d50d0a7b2e3128a2c85b4cd502d5146b https://github.com/MidnightBSD/src/commit/1c1fe987d50d0a7b2e3128a2c85b4cd502d5146b Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M etc/rc.d/ipfw Log Message: ----------- bad indent Compare: https://github.com/MidnightBSD/src/compare/1e16e9176184...1c1fe987d50d From noreply at github.com Fri Nov 20 23:56:08 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 20:56:08 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 828085: ng_nat implements NAT for IPv4 traffic only. When... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 82808547c62ba3a8ce21cdbfd12e133903df5d54 https://github.com/MidnightBSD/src/commit/82808547c62ba3a8ce21cdbfd12e133903df5d54 Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/netgraph/ng_nat.c Log Message: ----------- ng_nat implements NAT for IPv4 traffic only. When connected to an ng_ether node it erroneously handled IPv6 packets as well. From noreply at github.com Sat Nov 21 00:01:22 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 21:01:22 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 3e9d08: make all is needed to generate .depend.* Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 3e9d088183afbc0fa4aaef1e017c4e980bc9086b https://github.com/MidnightBSD/src/commit/3e9d088183afbc0fa4aaef1e017c4e980bc9086b Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/conf/kern.post.mk Log Message: ----------- make all is needed to generate .depend.* Commit: b683cf82d5d398a103bd315f53b2dec908f5935f https://github.com/MidnightBSD/src/commit/b683cf82d5d398a103bd315f53b2dec908f5935f Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h M cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c M cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c M cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c M sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h Log Message: ----------- ZVOLs should not be allowed to have children zfs create, receive and rename can bypass this hierarchy rule. Update both userland and kernel module to prevent this issue and use pyzfs unit tests to exercise the ioctls directly. Note: this commit slightly changes zfs_ioc_create() ABI. This allow to differentiate a generic error (EINVAL) from the specific case where we tried to create a dataset below a ZVOL (ZFS_ERR_WRONG_PARENT). Commit: a23ff44185531fc358c73e2c17b2f6bba904210e https://github.com/MidnightBSD/src/commit/a23ff44185531fc358c73e2c17b2f6bba904210e Author: Lucas Holt Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M sys/ufs/ufs/inode.h Log Message: ----------- revert Commit: 3dcef823bae266fe66980553ae0fbba0aa853615 https://github.com/MidnightBSD/src/commit/3dcef823bae266fe66980553ae0fbba0aa853615 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/net80211/ieee80211_amrr.c Log Message: ----------- net80211: fix another possible panic for some drivers Compare: https://github.com/MidnightBSD/src/compare/82808547c62b...3dcef823bae2 From noreply at github.com Sat Nov 21 00:56:13 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 21:56:13 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d3278d: -fno-common fixes Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d3278d9e01000530276f3914981891843c168a22 https://github.com/MidnightBSD/src/commit/d3278d9e01000530276f3914981891843c168a22 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M cddl/contrib/opensolaris/cmd/zfs/zfs_util.h M cddl/contrib/opensolaris/cmd/zpool/zpool_main.c M cddl/contrib/opensolaris/cmd/zpool/zpool_util.h M tests/sys/kqueue/libkqueue/common.h M tests/sys/kqueue/libkqueue/proc.c M tests/sys/kqueue/libkqueue/read.c M tests/sys/kqueue/libkqueue/signal.c M tests/sys/kqueue/libkqueue/timer.c M tests/sys/kqueue/libkqueue/user.c M tests/sys/kqueue/libkqueue/vnode.c M usr.bin/locate/locate/locate.c M usr.bin/locate/locate/locate.h M usr.bin/systat/swap.c M usr.sbin/config/config.h M usr.sbin/config/main.c Log Message: ----------- -fno-common fixes From noreply at github.com Sat Nov 21 00:58:46 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 21:58:46 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f974c0: fix a couple of buffer overflows Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f974c0526de7e41915fa01548020347221e3f0c2 https://github.com/MidnightBSD/src/commit/f974c0526de7e41915fa01548020347221e3f0c2 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M usr.sbin/config/main.c Log Message: ----------- fix a couple of buffer overflows From noreply at github.com Sat Nov 21 01:00:59 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:00:59 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2b6b3d: Fix calculation of the recurring weekdays Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2b6b3dff8776a04a220f8aac6f9c437333ceeba4 https://github.com/MidnightBSD/src/commit/2b6b3dff8776a04a220f8aac6f9c437333ceeba4 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M usr.bin/calendar/calendars/calendar.usholiday M usr.bin/calendar/parsedata.c M usr.bin/calendar/tests/calendar.calibrate M usr.bin/calendar/tests/regress.sh Log Message: ----------- Fix calculation of the recurring weekdays From noreply at github.com Sat Nov 21 01:02:05 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:02:05 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 17cd35: fix a bunch of formatting issues. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 17cd35bf3f57506399b76d96292a7782010a11df https://github.com/MidnightBSD/src/commit/17cd35bf3f57506399b76d96292a7782010a11df Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M usr.bin/ruptime/ruptime.c Log Message: ----------- fix a bunch of formatting issues. Obtained from: freebsd From noreply at github.com Sat Nov 21 01:02:45 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:02:45 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 55ec73: more formatting Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 55ec73971cbcbeda5012406e1b16df84fd0a5784 https://github.com/MidnightBSD/src/commit/55ec73971cbcbeda5012406e1b16df84fd0a5784 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M usr.bin/ruptime/ruptime.c Log Message: ----------- more formatting From noreply at github.com Sat Nov 21 01:03:28 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:03:28 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] af25d3: Ignore ND6 neighbor advertisement received for sta... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: af25d3539e5f8aef1d4b2bcde7bf50fedfa92092 https://github.com/MidnightBSD/src/commit/af25d3539e5f8aef1d4b2bcde7bf50fedfa92092 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/netinet6/nd6_nbr.c Log Message: ----------- Ignore ND6 neighbor advertisement received for static link-layer entries. From noreply at github.com Sat Nov 21 01:05:01 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:05:01 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 00f7ba: Add support for BCM54618SE PHY Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 00f7bac715411900de4b897d46a03c11c0b14bea https://github.com/MidnightBSD/src/commit/00f7bac715411900de4b897d46a03c11c0b14bea Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mii/brgphy.c M sys/dev/mii/miidevs Log Message: ----------- Add support for BCM54618SE PHY From noreply at github.com Sat Nov 21 01:05:53 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:05:53 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2e3f2f: Ensure a minimum inline size of 16 bytes in mlx5en... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2e3f2f63a7065d58b422f14b8769af3a931d6270 https://github.com/MidnightBSD/src/commit/2e3f2f63a7065d58b422f14b8769af3a931d6270 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_en/mlx5_en_main.c Log Message: ----------- Ensure a minimum inline size of 16 bytes in mlx5en(4). This includes 14 bytes of ethernet header and 2 bytes of VLAN header. This allows for making assumptions about the inline size limit in the fast transmit path later on. Use a signed integer variable to catch underflow. Obtained from: FreeBSD From noreply at github.com Sat Nov 21 01:06:38 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:06:38 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 1fd2f5: Don't drop packets having too many TCP option Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 1fd2f542869182dbf8f3a053fd17c042e715dfa6 https://github.com/MidnightBSD/src/commit/1fd2f542869182dbf8f3a053fd17c042e715dfa6 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_en/mlx5_en_tx.c Log Message: ----------- Don't drop packets having too many TCP option headers in mlx5en(4). From noreply at github.com Sat Nov 21 01:07:34 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:07:34 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 26b5eb: Count number of times transmit ring is out of buf... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 26b5eb65539ec032f698e831badf6e98d26b03f6 https://github.com/MidnightBSD/src/commit/26b5eb65539ec032f698e831badf6e98d26b03f6 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_en/en.h M sys/dev/mlx5/mlx5_en/mlx5_en_tx.c Log Message: ----------- Count number of times transmit ring is out of buffers in mlx5en(4). From noreply at github.com Sat Nov 21 01:08:12 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:08:12 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b621fe: Remove obsolete bufring stats in mlx5en(4). Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: b621fe195506d6d59a9eb99eac91f821f346bb7d https://github.com/MidnightBSD/src/commit/b621fe195506d6d59a9eb99eac91f821f346bb7d Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_en/en.h M sys/dev/mlx5/mlx5_en/mlx5_en_main.c Log Message: ----------- Remove obsolete bufring stats in mlx5en(4). From noreply at github.com Sat Nov 21 01:08:56 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:08:56 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 42abea: Account out of buffer as dropped packets in mlx5e... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 42abea83fa4288763e7108c7b332c6ce7d0b229f https://github.com/MidnightBSD/src/commit/42abea83fa4288763e7108c7b332c6ce7d0b229f Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/mlx5/mlx5_en/mlx5_en_main.c Log Message: ----------- Account out of buffer as dropped packets in mlx5en(4). From noreply at github.com Sat Nov 21 01:10:17 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:10:17 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 955134: Relax too strict SES element descriptors check Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 9551349d14c7d6080e6465192e9102367ec52773 https://github.com/MidnightBSD/src/commit/9551349d14c7d6080e6465192e9102367ec52773 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/cam/scsi/scsi_enc_ses.c Log Message: ----------- Relax too strict SES element descriptors check From noreply at github.com Sat Nov 21 01:11:00 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:11:00 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 7a5ea3: fix test list Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 7a5ea34629fc68483db8e5a2a931aa5d224f61a1 https://github.com/MidnightBSD/src/commit/7a5ea34629fc68483db8e5a2a931aa5d224f61a1 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M usr.bin/calendar/tests/Makefile Log Message: ----------- fix test list From noreply at github.com Sat Nov 21 01:11:45 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:11:45 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] a3c5dc: Avoid scaling USB audio mixer values twice. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: a3c5dc4bd3be5dd910aecf434712af85e867d316 https://github.com/MidnightBSD/src/commit/a3c5dc4bd3be5dd910aecf434712af85e867d316 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c Log Message: ----------- Avoid scaling USB audio mixer values twice. From noreply at github.com Sat Nov 21 01:13:04 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:13:04 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] c18a66: Factor out USB audio mixer value range check. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: c18a6690d911af8b0e2292d5edc73b5460ddb8bb https://github.com/MidnightBSD/src/commit/c18a6690d911af8b0e2292d5edc73b5460ddb8bb Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c Log Message: ----------- Factor out USB audio mixer value range check. Commit: d3824d5cf6be62703f38dadeb34e598f3fcb2990 https://github.com/MidnightBSD/src/commit/d3824d5cf6be62703f38dadeb34e598f3fcb2990 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c Log Message: ----------- Make mute controls available for USB audio Compare: https://github.com/MidnightBSD/src/compare/a3c5dc4bd3be...d3824d5cf6be From noreply at github.com Sat Nov 21 01:15:32 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:15:32 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 4e7a23: Be more intelligent when classifying USB audio Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 4e7a230af326098008d10b81a8a2483508cdba1c https://github.com/MidnightBSD/src/commit/4e7a230af326098008d10b81a8a2483508cdba1c Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c Log Message: ----------- Be more intelligent when classifying USB audio Commit: 7993fe17bf3e5553d38c8caf4b41f7b913de99d9 https://github.com/MidnightBSD/src/commit/7993fe17bf3e5553d38c8caf4b41f7b913de99d9 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c Log Message: ----------- Improve USB audio mixer support for USB audio class 1 and 2. - make sure volume controls are correctly mapped to "pcm" and "rec" depending on how they deliver audio to the USB host. - make sure there are no duplicate record selections. - remove internal only mixer class type. - don't add software volume controls for recording only. - some minor mixer code cleanup. Compare: https://github.com/MidnightBSD/src/compare/d3824d5cf6be...7993fe17bf3e From noreply at github.com Sat Nov 21 01:16:22 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:16:22 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e84f0f: Change default microphone level from 0 to 25. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: e84f0fb3c9778a14bedf44548d3d0de900bc6791 https://github.com/MidnightBSD/src/commit/e84f0fb3c9778a14bedf44548d3d0de900bc6791 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/pcm/mixer.c Log Message: ----------- Change default microphone level from 0 to 25. From noreply at github.com Sat Nov 21 01:17:22 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 20 Nov 2020 22:17:22 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 044552: Implement new mixer API to return the device point... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 044552d953efe156e49c8512a5ca7432879808c3 https://github.com/MidnightBSD/src/commit/044552d953efe156e49c8512a5ca7432879808c3 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/pcm/mixer.c M sys/dev/sound/pcm/mixer.h Log Message: ----------- Implement new mixer API to return the device pointer based on the mixer pointer. From noreply at github.com Sat Nov 21 04:00:21 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:00:21 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b6baa3: fix a typo Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: b6baa305cdd222c5b4267a75bd21065ef1ea2575 https://github.com/MidnightBSD/src/commit/b6baa305cdd222c5b4267a75bd21065ef1ea2575 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M etc/rc.d/firstboot Log Message: ----------- fix a typo From noreply at github.com Sat Nov 21 04:00:57 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:00:57 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b139ec: fix a typo Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: b139ec9858cee80093cb98d0b7b15fa256564cd1 https://github.com/MidnightBSD/src/commit/b139ec9858cee80093cb98d0b7b15fa256564cd1 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M etc/rc.d/firstboot Log Message: ----------- fix a typo From noreply at github.com Sat Nov 21 04:04:08 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:04:08 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 699dde: Add support for multiple playback and recording Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 699ddebf52d5906a86251c94b4c23f079d078597 https://github.com/MidnightBSD/src/commit/699ddebf52d5906a86251c94b4c23f079d078597 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/sound/usb/uaudio.c M sys/dev/sound/usb/uaudio.h M sys/dev/sound/usb/uaudio_pcm.c Log Message: ----------- Add support for multiple playback and recording devices per physical USB audio device. This requires some structural refactoring inside the driver, mostly about converting existing audio channel structures into arrays. The main audio mixer is provided by the first PCM instance. The non-first audio instances may only have a software mixer for PCM playback. Obtained from: FreeBSD From noreply at github.com Sat Nov 21 04:05:19 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:05:19 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e326da: evdev: Add COMPAT_FREEBSD32 support for amd64 Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: e326da1e978e1531e24626856a3ce4476229d980 https://github.com/MidnightBSD/src/commit/e326da1e978e1531e24626856a3ce4476229d980 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/evdev/cdev.c Log Message: ----------- evdev: Add COMPAT_FREEBSD32 support for amd64 arch Incompatibility between i386 and amd64 evdev ABIs was caused by presence of 'struct timeval' in evdev protocol. Replace it with 'struct timeval32' for 32 bit binaries. Big-endian platforms may require additional work due to bitstr_t (array of unsigned longs) usage in ioctl interface. From noreply at github.com Sat Nov 21 04:06:34 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:06:34 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] b46ada: Some fixes for SRCU in the LinuxKPI. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: b46ada4caff5cee729c69d6d7f25dcb8624308e6 https://github.com/MidnightBSD/src/commit/b46ada4caff5cee729c69d6d7f25dcb8624308e6 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/include/linux/srcu.h Log Message: ----------- Some fixes for SRCU in the LinuxKPI. From noreply at github.com Sat Nov 21 04:08:54 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 01:08:54 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f91186: Clone the RCU interface into a sleepable and a non... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f911860f0590d21c9481a78c3d55221aed770b44 https://github.com/MidnightBSD/src/commit/f911860f0590d21c9481a78c3d55221aed770b44 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/compat/linuxkpi/common/include/linux/rcupdate.h M sys/compat/linuxkpi/common/src/linux_rcu.c M sys/sys/param.h Log Message: ----------- Clone the RCU interface into a sleepable and a non-sleepable part in the LinuxKPI. Bump the freebsd compatibility version Obtained from: FreeBSD Commit: 89f9f914abb71c309ae3052be4e66d3cf00fdec0 https://github.com/MidnightBSD/src/commit/89f9f914abb71c309ae3052be4e66d3cf00fdec0 Author: Lucas Holt Date: 2020-11-21 (Sat, 21 Nov 2020) Changed paths: M sys/dev/ahci/ahci_pci.c Log Message: ----------- Add ID for JMicron JMB582/JMB585 AHCI controller. JMB582 has 2 6Gbps SATA ports and PCIe 3.0 x1. JMB585 has 5 6Gbps SATA ports and PCIe 3.0 x2. Both chips support AHCI v1.31, Port Multiplier with FBS and 8 MSI vectors. Obtained from: FreeBSD Compare: https://github.com/MidnightBSD/src/compare/b46ada4caff5...89f9f914abb7 From noreply at github.com Sun Nov 22 01:50:57 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 22:50:57 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 8ce9a0: Revert "debug build on master again" Message-ID: Branch: refs/heads/stable/2.0 Home: https://github.com/MidnightBSD/src Commit: 8ce9a0cf182f6cbea886aac69deec114efcf591b https://github.com/MidnightBSD/src/commit/8ce9a0cf182f6cbea886aac69deec114efcf591b Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/amd64/conf/GENERIC Log Message: ----------- Revert "debug build on master again" This reverts commit e50d2704b630e8ee77d9f41783dd5dac47d14b55. Commit: 23b91f5a050d41462379b5208d54b31ee59a907d https://github.com/MidnightBSD/src/commit/23b91f5a050d41462379b5208d54b31ee59a907d Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M etc/rc.d/firstboot Log Message: ----------- Merge branch 'stable/2.0' of github.com:MidnightBSD/src into stable/2.0 Compare: https://github.com/MidnightBSD/src/compare/b139ec9858ce...23b91f5a050d From noreply at github.com Sun Nov 22 01:55:50 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 22:55:50 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 3186cd: ufs: apply suspension for non-forced rw unmounts. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 3186cde0b172c6e36c09a646e989c1ccd3967d15 https://github.com/MidnightBSD/src/commit/3186cde0b172c6e36c09a646e989c1ccd3967d15 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/ufs/ffs/ffs_vfsops.c Log Message: ----------- ufs: apply suspension for non-forced rw unmounts. From noreply at github.com Sun Nov 22 01:57:58 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 22:57:58 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e110a7: Change the xid for client side krpc over UDP to Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: e110a7047c05a0733f7afa98acc664b80045e467 https://github.com/MidnightBSD/src/commit/e110a7047c05a0733f7afa98acc664b80045e467 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/rpc/clnt_dg.c Log Message: ----------- Change the xid for client side krpc over UDP to a global value. Without this patch, the xid used for the client side krpc requests over UDP was initialized for each "connection". A "connection" for UDP is rather sketchy and for the kernel NLM a new one is created every 2minutes. A problem with client side interoperability with a Netapp server for the NLM was reported and it is believed to be caused by reuse of the same xid. Although this was never completely diagnosed by the reporter, I could see how the same xid might get reused, since it is initialized to a value based on the TOD clock every two minutes. I suspect initializing the value for every "connection" was inherited from userland library code, where having a global xid was not practical. However, implementing a global "xid" for the kernel rpc is straightforward and will ensure that an xid value is not reused for a long time. This patch does that and is hoped it will fix the Netapp interoperability problem. Obtained from: FreeBSD From noreply at github.com Sun Nov 22 01:59:31 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 22:59:31 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 81187b: fix a panic when removing a usb mouse Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 81187b8c7bfbbea927d729fb7bf57a610c1ca396 https://github.com/MidnightBSD/src/commit/81187b8c7bfbbea927d729fb7bf57a610c1ca396 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/evdev/evdev.c Log Message: ----------- fix a panic when removing a usb mouse From noreply at github.com Sun Nov 22 02:01:51 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:01:51 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] ddfabb: add linux compat in nfs v4 client with permission ... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: ddfabb53595ffbee65e0b449884ceb241b88f8be https://github.com/MidnightBSD/src/commit/ddfabb53595ffbee65e0b449884ceb241b88f8be Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/fs/nfsserver/nfs_nfsdserv.c Log Message: ----------- add linux compat in nfs v4 client with permission checks on open Obtained from: FreeBSD From noreply at github.com Sun Nov 22 02:02:44 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:02:44 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] c1e0d9: |Remove bogus use of useracc() in (clock_)nanosleep. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: c1e0d9ee577ee68702d503677837f61bbb957de0 https://github.com/MidnightBSD/src/commit/c1e0d9ee577ee68702d503677837f61bbb957de0 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/compat/freebsd32/freebsd32_misc.c M sys/kern/kern_time.c Log Message: ----------- |Remove bogus use of useracc() in (clock_)nanosleep. | |There's no point in pre-checking that we can access the user's rmtp |pointer before we do it in copyout(). | |While here, improve style(9) compliance. Obtained from: FreeBSD From noreply at github.com Sun Nov 22 02:08:50 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:08:50 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 4d0cc5: pf: Do not allow negative ps_len in DIOCGETSTATES Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 4d0cc536ab98ae198e66549163ca10b8210dfad8 https://github.com/MidnightBSD/src/commit/4d0cc536ab98ae198e66549163ca10b8210dfad8 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/netpfil/pf/pf_ioctl.c Log Message: ----------- pf: Do not allow negative ps_len in DIOCGETSTATES Commit: 7810a3661c98bd58721c41eb1a6f8692350d3a3e https://github.com/MidnightBSD/src/commit/7810a3661c98bd58721c41eb1a6f8692350d3a3e Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/pci/pci_pci.c Log Message: ----------- Don't consider PCIe hot-plug command timeout fatal. According to my tests and errata to several generations of Intel CPUs, PCIe hot-plug command completion reporting is not very reliable thing. At least on my Supermicro X11DPi-NT board I never saw it reported. Before this change timeout code detached devices and tried to disable the slot, that in my case resulted in hot-plugged device being detached just a second after it was successfully detected and attached. This change removes that, so in case of timeout it just prints the error and continue operation. Linux does the same. Obtained from: FreeBSD Commit: 5b80db3248ed67f829add21120c1d005cdf88ad8 https://github.com/MidnightBSD/src/commit/5b80db3248ed67f829add21120c1d005cdf88ad8 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/geom/geom_subr.c Log Message: ----------- g_resize_provider_event: Do not invoke orphan method twice Commit: 6b08dfb29de0b29c0161e81f989dddad7f8787c2 https://github.com/MidnightBSD/src/commit/6b08dfb29de0b29c0161e81f989dddad7f8787c2 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: A tools/build/options/WITHOUT_LLVM_ASSERTIONS A tools/build/options/WITH_LLVM_ASSERTIONS Log Message: ----------- add llvm assertion options Commit: fb4c719a52d8866b36ce7d22fb8a3e8cae22ed91 https://github.com/MidnightBSD/src/commit/fb4c719a52d8866b36ce7d22fb8a3e8cae22ed91 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/netinet/tcp_input.c M sys/netinet/tcp_output.c M sys/netinet/tcp_sack.c M sys/netinet/tcp_var.h Log Message: ----------- Improve the TCP SACK generation by reporting DSACKs Compare: https://github.com/MidnightBSD/src/compare/c1e0d9ee577e...fb4c719a52d8 From noreply at github.com Sun Nov 22 02:11:38 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:11:38 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 52bced: install legacy time zones Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 52bced782be206a27c4f0bff3e81269c3130a99b https://github.com/MidnightBSD/src/commit/52bced782be206a27c4f0bff3e81269c3130a99b Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M etc/mtree/BSD.usr.dist M share/mk/src.opts.mk Log Message: ----------- install legacy time zones Commit: 75a7a1f31f1bf1c1f8d82ad746a21fd383aacd77 https://github.com/MidnightBSD/src/commit/75a7a1f31f1bf1c1f8d82ad746a21fd383aacd77 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/ips/ips.c Log Message: ----------- Add the likely missing braces in ips(4). Commit: e31773d415117dd9e3c9178e8ac0360440fb5962 https://github.com/MidnightBSD/src/commit/e31773d415117dd9e3c9178e8ac0360440fb5962 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/kern/kern_jail.c M sys/net/if_ethersubr.c M sys/sys/jail.h Log Message: ----------- ethersubr: Make the mac address generation more robust If we create two (vnet) jails and create a bridge interface in each we end up with the same mac address on both bridge interfaces. These very often conflicts, resulting in same mac address in both jails. Mitigate this problem by including the jail name in the mac address. Compare: https://github.com/MidnightBSD/src/compare/fb4c719a52d8...e31773d41511 From noreply at github.com Sun Nov 22 02:13:38 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:13:38 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 5fa224: Fix misleading indentation in sys/dev/drm2/radeon/... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 5fa224781410e5793baf1a70fa5b6d2ed66c8aa1 https://github.com/MidnightBSD/src/commit/5fa224781410e5793baf1a70fa5b6d2ed66c8aa1 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/drm2/radeon/evergreen.c Log Message: ----------- Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c From noreply at github.com Sun Nov 22 02:20:43 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:20:43 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 9f94bf: Add the missing braces to fix the code not guarded... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 9f94bf913b0fe70604e28f008e764d2f1c607c9a https://github.com/MidnightBSD/src/commit/9f94bf913b0fe70604e28f008e764d2f1c607c9a Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/ixl/i40e_common.c Log Message: ----------- Add the missing braces to fix the code not guarded by the if clause Commit: 83efae7704019e204c8cbd63938254ba6827a78c https://github.com/MidnightBSD/src/commit/83efae7704019e204c8cbd63938254ba6827a78c Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/mrsas/mrsas_cam.c M sys/dev/sound/pci/emu10k1.c M sys/dev/sound/pci/emu10kx-pcm.c Log Message: ----------- Fix some misleading indentation warnings reported by recent clang. Compare: https://github.com/MidnightBSD/src/compare/5fa224781410...83efae770401 From noreply at github.com Sun Nov 22 02:21:27 2020 From: noreply at github.com (Lucas Holt) Date: Sat, 21 Nov 2020 23:21:27 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] dbe4b0: vt: avoid overrun when stride is not a multiple of... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: dbe4b0fb902275476d3572245272b4e45759127e https://github.com/MidnightBSD/src/commit/dbe4b0fb902275476d3572245272b4e45759127e Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/vt/hw/fb/vt_fb.c Log Message: ----------- vt: avoid overrun when stride is not a multiple of bytes per pixel From noreply at github.com Sun Nov 22 13:28:11 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:28:11 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d14ece: style fix Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d14eceda0e71d989c57b56042e28fc5aee36a7b9 https://github.com/MidnightBSD/src/commit/d14eceda0e71d989c57b56042e28fc5aee36a7b9 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/netpfil/pf/pf.c Log Message: ----------- style fix From noreply at github.com Sun Nov 22 13:29:31 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:29:31 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d527c5: Fix error found by new clang operator precendence ... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d527c5e9393561b4c9e0bb708f77ef96d95c13c2 https://github.com/MidnightBSD/src/commit/d527c5e9393561b4c9e0bb708f77ef96d95c13c2 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M usr.sbin/i2c/i2c.c Log Message: ----------- Fix error found by new clang operator precendence warning From noreply at github.com Sun Nov 22 13:32:51 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:32:51 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f886c5: Cast all ioctl command arguments through Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f886c50931e390b5c479063d0eb123cae5bfdeec https://github.com/MidnightBSD/src/commit/f886c50931e390b5c479063d0eb123cae5bfdeec Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/kern/sys_generic.c Log Message: ----------- Cast all ioctl command arguments through uint32_t internally. From noreply at github.com Sun Nov 22 13:42:26 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:42:26 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f56d0c: update certificates. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f56d0cef1465128710ad3ccb0a8589db02010116 https://github.com/MidnightBSD/src/commit/f56d0cef1465128710ad3ccb0a8589db02010116 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: A secure/caroot/blacklisted/AddTrust_External_Root.pem A secure/caroot/blacklisted/AddTrust_Low-Value_Services_Root.pem A secure/caroot/blacklisted/EE_Certification_Centre_Root_CA.pem A secure/caroot/blacklisted/LuxTrust_Global_Root_2.pem M secure/caroot/blacklisted/Makefile A secure/caroot/blacklisted/Staat_der_Nederlanden_Root_CA_-_G2.pem A secure/caroot/blacklisted/Symantec_Class_1_Public_Primary_Certification_Authority_-_G4.pem A secure/caroot/blacklisted/Symantec_Class_2_Public_Primary_Certification_Authority_-_G4.pem A secure/caroot/blacklisted/Taiwan_GRCA.pem A secure/caroot/blacklisted/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem R secure/caroot/trusted/AddTrust_External_Root.pem R secure/caroot/trusted/AddTrust_Low-Value_Services_Root.pem R secure/caroot/trusted/EE_Certification_Centre_Root_CA.pem R secure/caroot/trusted/LuxTrust_Global_Root_2.pem M secure/caroot/trusted/Makefile A secure/caroot/trusted/Microsoft_ECC_Root_Certificate_Authority_2017.pem A secure/caroot/trusted/Microsoft_RSA_Root_Certificate_Authority_2017.pem R secure/caroot/trusted/Staat_der_Nederlanden_Root_CA_-_G2.pem R secure/caroot/trusted/Symantec_Class_1_Public_Primary_Certification_Authority_-_G4.pem R secure/caroot/trusted/Symantec_Class_2_Public_Primary_Certification_Authority_-_G4.pem R secure/caroot/trusted/Taiwan_GRCA.pem A secure/caroot/trusted/Trustwave_Global_Certification_Authority.pem A secure/caroot/trusted/Trustwave_Global_ECC_P256_Certification_Authority.pem A secure/caroot/trusted/Trustwave_Global_ECC_P384_Certification_Authority.pem R secure/caroot/trusted/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem A secure/caroot/trusted/certSIGN_Root_CA_G2.pem A secure/caroot/trusted/e-Szigno_Root_CA_2017.pem Log Message: ----------- update certificates. From noreply at github.com Sun Nov 22 13:48:52 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:48:52 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 5545a1: fix comment Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 5545a1a2f83c84db4c4e9c0a9e618528dc2b42aa https://github.com/MidnightBSD/src/commit/5545a1a2f83c84db4c4e9c0a9e618528dc2b42aa Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/sys/types.h Log Message: ----------- fix comment From noreply at github.com Sun Nov 22 13:49:37 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:49:37 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d9989e: fix return val checks in diff Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d9989efeeadc802424beab9829d3ba54b8653336 https://github.com/MidnightBSD/src/commit/d9989efeeadc802424beab9829d3ba54b8653336 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M usr.bin/diff/diff.c M usr.bin/diff/diffreg.c M usr.bin/diff/xmalloc.c Log Message: ----------- fix return val checks in diff From noreply at github.com Sun Nov 22 13:51:04 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:51:04 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 874d84: fix segfault Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 874d84f0868404bb7c340094202aa4fdf8d424a7 https://github.com/MidnightBSD/src/commit/874d84f0868404bb7c340094202aa4fdf8d424a7 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M usr.bin/diff/diff.1 M usr.bin/diff/diff.c M usr.bin/diff/tests/diff_test.sh Log Message: ----------- fix segfault From noreply at github.com Sun Nov 22 13:54:06 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:54:06 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f6b6d3: fix ptr Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f6b6d3c33c661b1c2c72e6a74d16b372074744d7 https://github.com/MidnightBSD/src/commit/f6b6d3c33c661b1c2c72e6a74d16b372074744d7 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/ocs_fc/ocs_device.c M sys/net80211/ieee80211_output.c Log Message: ----------- fix ptr Commit: 94ebd711e35f9ed1d0f159229ec93ad256bec6be https://github.com/MidnightBSD/src/commit/94ebd711e35f9ed1d0f159229ec93ad256bec6be Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/amd64/vmm/intel/vmx.c M sys/amd64/vmm/io/vlapic.c M sys/amd64/vmm/io/vlapic.h Log Message: ----------- Untangle TPR shadowing and APIC virtualization. This speeds up Windows guests tremendously. The patch does: Add a new tuneable 'hw.vmm.vmx.use_tpr_shadowing' to disable TLP shadowing. Also add 'hw.vmm.vmx.cap.tpr_shadowing' to be able to query if TPR shadowing is used. Detach the initialization of TPR shadowing from the initialization of APIC virtualization. APIC virtualization still needs TPR shadowing, but not vice versa. Any CPU that supports APIC virtualization should also support TPR shadowing. When TPR shadowing is used, the APIC page of each vCPU is written to the VMCS_VIRTUAL_APIC field of the VMCS so that the CPU can write directly to the page without intercept. On vm exit, vlapic_update_ppr() is called to update the PPR. Obtained from: FreeBSD Compare: https://github.com/MidnightBSD/src/compare/874d84f08684...94ebd711e35f From noreply at github.com Sun Nov 22 13:55:37 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:55:37 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] e9de84: Centralize compatability translation macros. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: e9de84632ed22e3430fd36f2797c09576e239141 https://github.com/MidnightBSD/src/commit/e9de84632ed22e3430fd36f2797c09576e239141 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/amd64/linux/linux.h M sys/amd64/linux32/linux.h M sys/compat/freebsd32/freebsd32.h M sys/compat/linux/linux_ioctl.c M sys/compat/linux/linux_timer.h M sys/dev/ipmi/ipmi.c M sys/dev/mpr/mpr_user.c M sys/dev/mps/mps_user.c M sys/dev/mpt/mpt_user.c M sys/i386/linux/linux.h M sys/kern/sysv_sem.c M sys/kern/sysv_shm.c Log Message: ----------- Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definitation with includes where required. This eliminates duplicate code and allows Linux and FreeBSD compatability headers to be included in the same files. Obtained from: CheriBSD From noreply at github.com Sun Nov 22 13:59:06 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 10:59:06 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 79edd9: force -fcommon for parts of kernel/kmods that need... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 79edd9cf2eae9f3cb8ab8d5a21122de0e2a78402 https://github.com/MidnightBSD/src/commit/79edd9cf2eae9f3cb8ab8d5a21122de0e2a78402 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/conf/files.amd64 M sys/conf/files.i386 M sys/conf/kern.post.mk M sys/conf/kmod.mk M sys/modules/linux/Makefile M sys/modules/linux64/Makefile M sys/modules/vmm/Makefile Log Message: ----------- force -fcommon for parts of kernel/kmods that need it. From noreply at github.com Sun Nov 22 14:01:29 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 11:01:29 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] a7edbb: Document certs change Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: a7edbbe3a832509a08ff37c8946135efce5b824c https://github.com/MidnightBSD/src/commit/a7edbbe3a832509a08ff37c8946135efce5b824c Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M UPDATING Log Message: ----------- Document certs change From noreply at github.com Sun Nov 22 14:03:07 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 11:03:07 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 0c41c7: getnextevent: put variable only used by KTR under ... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 0c41c7e07e06557d6ab4512828c72c27b74afc3c https://github.com/MidnightBSD/src/commit/0c41c7e07e06557d6ab4512828c72c27b74afc3c Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/kern/kern_clocksource.c Log Message: ----------- getnextevent: put variable only used by KTR under ifdef KTR From noreply at github.com Sun Nov 22 14:09:53 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 11:09:53 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 582edc: Update file to 5.38. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 582edcccf77dff5712f9069be178b2c1eb8d735b https://github.com/MidnightBSD/src/commit/582edcccf77dff5712f9069be178b2c1eb8d735b Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M contrib/file/ChangeLog M contrib/file/Makefile.in M contrib/file/README M contrib/file/aclocal.m4 M contrib/file/compile M contrib/file/config.guess M contrib/file/config.h.in M contrib/file/config.sub M contrib/file/configure M contrib/file/configure.ac M contrib/file/depcomp M contrib/file/doc/Makefile.in M contrib/file/doc/file.man M contrib/file/doc/libmagic.man M contrib/file/doc/magic.man M contrib/file/ltmain.sh M contrib/file/m4/libtool.m4 M contrib/file/m4/ltoptions.m4 M contrib/file/m4/ltsugar.m4 M contrib/file/m4/ltversion.m4 M contrib/file/m4/lt~obsolete.m4 M contrib/file/magic/Magdir/android M contrib/file/magic/Magdir/animation M contrib/file/magic/Magdir/apple M contrib/file/magic/Magdir/archive M contrib/file/magic/Magdir/audio M contrib/file/magic/Magdir/bsi M contrib/file/magic/Magdir/c-lang M contrib/file/magic/Magdir/cad M contrib/file/magic/Magdir/commands M contrib/file/magic/Magdir/compress M contrib/file/magic/Magdir/console M contrib/file/magic/Magdir/database M contrib/file/magic/Magdir/elf M contrib/file/magic/Magdir/espressif M contrib/file/magic/Magdir/filesystems M contrib/file/magic/Magdir/fonts M contrib/file/magic/Magdir/frame M contrib/file/magic/Magdir/games M contrib/file/magic/Magdir/gimp M contrib/file/magic/Magdir/icc M contrib/file/magic/Magdir/images M contrib/file/magic/Magdir/javascript M contrib/file/magic/Magdir/kml M contrib/file/magic/Magdir/linux M contrib/file/magic/Magdir/macintosh M contrib/file/magic/Magdir/mail.news M contrib/file/magic/Magdir/map M contrib/file/magic/Magdir/msdos M contrib/file/magic/Magdir/msooxml M contrib/file/magic/Magdir/ole2compounddocs M contrib/file/magic/Magdir/pdf M contrib/file/magic/Magdir/python M contrib/file/magic/Magdir/rpi M contrib/file/magic/Magdir/ruby M contrib/file/magic/Magdir/sgml M contrib/file/magic/Magdir/sniffer M contrib/file/magic/Magdir/ssh M contrib/file/magic/Magdir/uuencode M contrib/file/magic/Magdir/varied.script M contrib/file/magic/Magdir/vax M contrib/file/magic/Magdir/windows M contrib/file/magic/Magdir/wordprocessors M contrib/file/magic/Magdir/zip M contrib/file/magic/Makefile.am M contrib/file/magic/Makefile.in M contrib/file/missing M contrib/file/python/Makefile.in M contrib/file/src/Makefile.am M contrib/file/src/Makefile.in M contrib/file/src/apprentice.c M contrib/file/src/ascmagic.c M contrib/file/src/buffer.c M contrib/file/src/compress.c M contrib/file/src/encoding.c M contrib/file/src/file.c M contrib/file/src/file.h M contrib/file/src/file_opts.h M contrib/file/src/fsmagic.c M contrib/file/src/funcs.c M contrib/file/src/magic.h.in M contrib/file/src/readcdf.c M contrib/file/src/readelf.c M contrib/file/src/seccomp.c M contrib/file/src/vasprintf.c M contrib/file/tests/JW07022A.mp3.result M contrib/file/tests/Makefile.in M contrib/file/tests/test.c M lib/libmagic/Makefile M lib/libmagic/config.h Log Message: ----------- Update file to 5.38. Commit: 97ec875025cc98851659046966109e18f4862c8a https://github.com/MidnightBSD/src/commit/97ec875025cc98851659046966109e18f4862c8a Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M UPDATING Log Message: ----------- update file to 5.38 Compare: https://github.com/MidnightBSD/src/compare/0c41c7e07e06...97ec875025cc From noreply at github.com Sun Nov 22 14:12:23 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 11:12:23 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 6a3f7d: Add a few missing files from the file 5.38 update. Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 6a3f7d1b8094beb52bc651c29dc4d06f03a43099 https://github.com/MidnightBSD/src/commit/6a3f7d1b8094beb52bc651c29dc4d06f03a43099 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: A contrib/file/magic/Magdir/forth A contrib/file/magic/Magdir/git A contrib/file/magic/Magdir/modulefile A contrib/file/magic/Magdir/openfst A contrib/file/magic/Magdir/opentimestamps A contrib/file/magic/Magdir/pmem A contrib/file/magic/Magdir/rst A contrib/file/magic/Magdir/sosi A contrib/file/src/is_csv.c A release/scripts/make-pkg-package.sh A release/scripts/pkg-stage.sh A sys/sys/abi_compat.h Log Message: ----------- Add a few missing files from the file 5.38 update. add a file missed in a prev commit add the freebsd pkg scripts as an example for when we do later mport integration. From noreply at github.com Sun Nov 22 14:13:23 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 11:13:23 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 8aaf41: Fix race condition in catopen(3) Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 8aaf41b145aa0801f440269486e50d315986a931 https://github.com/MidnightBSD/src/commit/8aaf41b145aa0801f440269486e50d315986a931 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M lib/libc/nls/msgcat.c Log Message: ----------- Fix race condition in catopen(3) From noreply at github.com Sun Nov 22 15:07:54 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 12:07:54 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 475c0c: Update the OS version in current to 2.1 Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 475c0c50253cdec9dbfdb8a4dd9fa3e3466f8b19 https://github.com/MidnightBSD/src/commit/475c0c50253cdec9dbfdb8a4dd9fa3e3466f8b19 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/conf/newvers.sh M sys/sys/param.h Log Message: ----------- Update the OS version in current to 2.1 Commit: d1db107c23c53dff2f1cf6ea38aeb55ceaac5008 https://github.com/MidnightBSD/src/commit/d1db107c23c53dff2f1cf6ea38aeb55ceaac5008 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M UPDATING M contrib/file/ChangeLog M contrib/file/Makefile.in M contrib/file/README M contrib/file/aclocal.m4 M contrib/file/compile M contrib/file/config.guess M contrib/file/config.h.in M contrib/file/config.sub M contrib/file/configure M contrib/file/configure.ac M contrib/file/depcomp M contrib/file/doc/Makefile.in M contrib/file/doc/file.man M contrib/file/doc/libmagic.man M contrib/file/doc/magic.man M contrib/file/ltmain.sh M contrib/file/m4/libtool.m4 M contrib/file/m4/ltoptions.m4 M contrib/file/m4/ltsugar.m4 M contrib/file/m4/ltversion.m4 M contrib/file/m4/lt~obsolete.m4 M contrib/file/magic/Magdir/android M contrib/file/magic/Magdir/animation M contrib/file/magic/Magdir/apple M contrib/file/magic/Magdir/archive M contrib/file/magic/Magdir/audio M contrib/file/magic/Magdir/bsi M contrib/file/magic/Magdir/c-lang M contrib/file/magic/Magdir/cad M contrib/file/magic/Magdir/commands M contrib/file/magic/Magdir/compress M contrib/file/magic/Magdir/console M contrib/file/magic/Magdir/database M contrib/file/magic/Magdir/elf M contrib/file/magic/Magdir/espressif M contrib/file/magic/Magdir/filesystems M contrib/file/magic/Magdir/fonts A contrib/file/magic/Magdir/forth M contrib/file/magic/Magdir/frame M contrib/file/magic/Magdir/games M contrib/file/magic/Magdir/gimp A contrib/file/magic/Magdir/git M contrib/file/magic/Magdir/icc M contrib/file/magic/Magdir/images M contrib/file/magic/Magdir/javascript M contrib/file/magic/Magdir/kml M contrib/file/magic/Magdir/linux M contrib/file/magic/Magdir/macintosh M contrib/file/magic/Magdir/mail.news M contrib/file/magic/Magdir/map A contrib/file/magic/Magdir/modulefile M contrib/file/magic/Magdir/msdos M contrib/file/magic/Magdir/msooxml M contrib/file/magic/Magdir/ole2compounddocs A contrib/file/magic/Magdir/openfst A contrib/file/magic/Magdir/opentimestamps M contrib/file/magic/Magdir/pdf A contrib/file/magic/Magdir/pmem M contrib/file/magic/Magdir/python M contrib/file/magic/Magdir/rpi A contrib/file/magic/Magdir/rst M contrib/file/magic/Magdir/ruby M contrib/file/magic/Magdir/sgml M contrib/file/magic/Magdir/sniffer A contrib/file/magic/Magdir/sosi M contrib/file/magic/Magdir/ssh M contrib/file/magic/Magdir/uuencode M contrib/file/magic/Magdir/varied.script M contrib/file/magic/Magdir/vax M contrib/file/magic/Magdir/windows M contrib/file/magic/Magdir/wordprocessors M contrib/file/magic/Magdir/zip M contrib/file/magic/Makefile.am M contrib/file/magic/Makefile.in M contrib/file/missing M contrib/file/python/Makefile.in M contrib/file/src/Makefile.am M contrib/file/src/Makefile.in M contrib/file/src/apprentice.c M contrib/file/src/ascmagic.c M contrib/file/src/buffer.c M contrib/file/src/compress.c M contrib/file/src/encoding.c M contrib/file/src/file.c M contrib/file/src/file.h M contrib/file/src/file_opts.h M contrib/file/src/fsmagic.c M contrib/file/src/funcs.c A contrib/file/src/is_csv.c M contrib/file/src/magic.h.in M contrib/file/src/readcdf.c M contrib/file/src/readelf.c M contrib/file/src/seccomp.c M contrib/file/src/vasprintf.c M contrib/file/tests/JW07022A.mp3.result M contrib/file/tests/Makefile.in M contrib/file/tests/test.c M lib/libc/nls/msgcat.c M lib/libmagic/Makefile M lib/libmagic/config.h A release/scripts/make-pkg-package.sh A release/scripts/pkg-stage.sh M sys/amd64/linux/linux.h M sys/amd64/linux32/linux.h M sys/amd64/vmm/intel/vmx.c M sys/amd64/vmm/io/vlapic.c M sys/amd64/vmm/io/vlapic.h M sys/compat/freebsd32/freebsd32.h M sys/compat/linux/linux_ioctl.c M sys/compat/linux/linux_timer.h M sys/conf/files.amd64 M sys/conf/files.i386 M sys/conf/kern.post.mk M sys/conf/kmod.mk M sys/dev/ipmi/ipmi.c M sys/dev/mpr/mpr_user.c M sys/dev/mps/mps_user.c M sys/dev/mpt/mpt_user.c M sys/dev/ocs_fc/ocs_device.c M sys/i386/linux/linux.h M sys/kern/kern_clocksource.c M sys/kern/sysv_sem.c M sys/kern/sysv_shm.c M sys/modules/linux/Makefile M sys/modules/linux64/Makefile M sys/modules/vmm/Makefile M sys/net80211/ieee80211_output.c A sys/sys/abi_compat.h M sys/sys/types.h M usr.bin/diff/diff.1 M usr.bin/diff/diff.c M usr.bin/diff/diffreg.c M usr.bin/diff/tests/diff_test.sh M usr.bin/diff/xmalloc.c Log Message: ----------- Merge branch 'master' of github.com:MidnightBSD/src into master Compare: https://github.com/MidnightBSD/src/compare/8aaf41b145aa...d1db107c23c5 From noreply at github.com Sun Nov 22 15:43:08 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 12:43:08 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] fbda88: Update xz to 5.2.5 Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: fbda88de85274c65625bbd58769b17e933ea1404 https://github.com/MidnightBSD/src/commit/fbda88de85274c65625bbd58769b17e933ea1404 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M contrib/xz/ChangeLog M contrib/xz/README M contrib/xz/THANKS M contrib/xz/src/common/sysdefs.h M contrib/xz/src/common/tuklib_cpucores.c M contrib/xz/src/common/tuklib_exit.c M contrib/xz/src/common/tuklib_integer.h M contrib/xz/src/common/tuklib_mbstr.h M contrib/xz/src/common/tuklib_mbstr_fw.c M contrib/xz/src/common/tuklib_mbstr_width.c M contrib/xz/src/common/tuklib_physmem.c M contrib/xz/src/liblzma/api/lzma.h M contrib/xz/src/liblzma/api/lzma/block.h M contrib/xz/src/liblzma/api/lzma/filter.h M contrib/xz/src/liblzma/api/lzma/hardware.h M contrib/xz/src/liblzma/api/lzma/lzma12.h M contrib/xz/src/liblzma/api/lzma/version.h M contrib/xz/src/liblzma/api/lzma/vli.h M contrib/xz/src/liblzma/check/crc32_fast.c M contrib/xz/src/liblzma/check/crc32_table.c M contrib/xz/src/liblzma/check/crc64_fast.c M contrib/xz/src/liblzma/check/crc64_table.c M contrib/xz/src/liblzma/common/alone_decoder.c M contrib/xz/src/liblzma/common/alone_encoder.c M contrib/xz/src/liblzma/common/block_header_decoder.c M contrib/xz/src/liblzma/common/block_header_encoder.c M contrib/xz/src/liblzma/common/block_util.c M contrib/xz/src/liblzma/common/common.c M contrib/xz/src/liblzma/common/filter_common.h M contrib/xz/src/liblzma/common/filter_decoder.h M contrib/xz/src/liblzma/common/filter_flags_encoder.c M contrib/xz/src/liblzma/common/hardware_physmem.c M contrib/xz/src/liblzma/common/index.c M contrib/xz/src/liblzma/common/memcmplen.h M contrib/xz/src/liblzma/common/stream_encoder_mt.c M contrib/xz/src/liblzma/common/stream_flags_decoder.c M contrib/xz/src/liblzma/common/stream_flags_encoder.c M contrib/xz/src/liblzma/common/vli_decoder.c M contrib/xz/src/liblzma/delta/delta_decoder.c M contrib/xz/src/liblzma/lz/lz_decoder.c M contrib/xz/src/liblzma/lz/lz_encoder_hash.h M contrib/xz/src/liblzma/lz/lz_encoder_mf.c M contrib/xz/src/liblzma/lzma/fastpos.h M contrib/xz/src/liblzma/lzma/fastpos_tablegen.c M contrib/xz/src/liblzma/lzma/lzma2_decoder.c M contrib/xz/src/liblzma/lzma/lzma_common.h M contrib/xz/src/liblzma/lzma/lzma_decoder.c M contrib/xz/src/liblzma/lzma/lzma_encoder.c M contrib/xz/src/liblzma/lzma/lzma_encoder_optimum_normal.c M contrib/xz/src/liblzma/lzma/lzma_encoder_private.h M contrib/xz/src/liblzma/simple/arm.c M contrib/xz/src/liblzma/simple/armthumb.c M contrib/xz/src/liblzma/simple/ia64.c M contrib/xz/src/liblzma/simple/powerpc.c M contrib/xz/src/liblzma/simple/simple_coder.c M contrib/xz/src/liblzma/simple/simple_decoder.c M contrib/xz/src/liblzma/simple/simple_encoder.c M contrib/xz/src/liblzma/simple/x86.c M contrib/xz/src/xz/args.c M contrib/xz/src/xz/coder.c M contrib/xz/src/xz/file_io.c M contrib/xz/src/xz/file_io.h M contrib/xz/src/xz/hardware.c M contrib/xz/src/xz/main.c M contrib/xz/src/xz/message.c M contrib/xz/src/xz/message.h M contrib/xz/src/xz/mytime.c M contrib/xz/src/xz/mytime.h M contrib/xz/src/xz/options.c M contrib/xz/src/xz/private.h M contrib/xz/src/xz/signals.c M contrib/xz/src/xz/util.c M contrib/xz/src/xz/xz.1 M contrib/xz/src/xzdec/xzdec.c M lib/liblzma/config.h Log Message: ----------- Update xz to 5.2.5 Commit: f8a9b26013096f1b9c47d9a2c7757aacf787a753 https://github.com/MidnightBSD/src/commit/f8a9b26013096f1b9c47d9a2c7757aacf787a753 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M lib/liblzma/config.h Log Message: ----------- fix build Commit: 7be37e3e056e4a32df6ff37de93f72fd7116f2aa https://github.com/MidnightBSD/src/commit/7be37e3e056e4a32df6ff37de93f72fd7116f2aa Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/conf/newvers.sh M sys/sys/param.h Log Message: ----------- Merge branch 'master' of ssh://github.com/midnightbsd/src into master Commit: 2940bc90ee1ee3adbce659c8fee332035d02c175 https://github.com/MidnightBSD/src/commit/2940bc90ee1ee3adbce659c8fee332035d02c175 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M UPDATING Log Message: ----------- update xz Compare: https://github.com/MidnightBSD/src/compare/d1db107c23c5...2940bc90ee1e From noreply at github.com Sun Nov 22 15:44:05 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 12:44:05 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d89f19: Fix intrhook release in MFI Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d89f1922ceefff704ce390519a47c18fdbf29a4f https://github.com/MidnightBSD/src/commit/d89f1922ceefff704ce390519a47c18fdbf29a4f Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/dev/mfi/mfi.c Log Message: ----------- Fix intrhook release in MFI From noreply at github.com Sun Nov 22 15:44:59 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 12:44:59 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 70d0bc: Fix race between prebuilding libsbuf and libgeom Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 70d0bc8b10f82be7c444a70235d445ad762a4d35 https://github.com/MidnightBSD/src/commit/70d0bc8b10f82be7c444a70235d445ad762a4d35 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M Makefile.inc1 Log Message: ----------- Fix race between prebuilding libsbuf and libgeom The latter needs the former, but with a multi-job build on a fast machine, the race is sometimes lost. This leads to "ld: error: unable to find library -lsbuf", when linking libgeom.so. From noreply at github.com Sun Nov 22 15:46:00 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 12:46:00 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f8ee07: Add a sanity check for nes_numsecflavor to the NFS... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f8ee07c1f26a1b085f6f6bffdaa3a88c3ab02535 https://github.com/MidnightBSD/src/commit/f8ee07c1f26a1b085f6f6bffdaa3a88c3ab02535 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/fs/nfsserver/nfs_nfsdport.c Log Message: ----------- Add a sanity check for nes_numsecflavor to the NFS server. Obtained from: FreeBSD From noreply at github.com Sun Nov 22 16:45:20 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 13:45:20 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 2fb87b: man fixup Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 2fb87b033d3cf71066096256daffe480081bbbca https://github.com/MidnightBSD/src/commit/2fb87b033d3cf71066096256daffe480081bbbca Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M cddl/usr.sbin/zfsd/zfsd.8 Log Message: ----------- man fixup From noreply at github.com Sun Nov 22 16:45:59 2020 From: noreply at github.com (Lucas Holt) Date: Sun, 22 Nov 2020 13:45:59 -0800 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f8ddb2: fib4_free_nh_ext is an empty function. It does not... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f8ddb21c1312849c1c3c7bdc7a0b2aaed3fc7a44 https://github.com/MidnightBSD/src/commit/f8ddb21c1312849c1c3c7bdc7a0b2aaed3fc7a44 Author: Lucas Holt Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Log Message: ----------- fib4_free_nh_ext is an empty function. It does nothing. Don't call it.