# $NetBSD: CHANGES-10.1,v 1.1.2.13 2024/06/22 18:33:21 martin Exp $ A complete list of changes from the NetBSD 10.0 release on 2024-03-28 until the 10.1 release: doc/CHANGES-10.1 created doc/LAST_MINUTE patched by hand doc/README.files patched by hand external/gpl2/groff/tmac/mdoc.local patched by hand sys/sys/param.h patched by hand Welcome to 10.0_STABLE! lib/libc/time/strptime.c 1.66 strptime(3): PR 58041: pacify -Wsign-compare. [riastradh, ticket #648] share/man/man4/ugen.4 1.39 sys/dev/usb/uftdi.c 1.77 sys/dev/usb/ugen.c 1.176 sys/dev/usb/usbdevices.config 1.43 uftdi(4): fix openocd with the Tigard debug board. [thorpej, ticket #649] sys/dev/usb/ugen.c 1.177 ugen(4): add a "ugen-unit" device property for devpubd(8) scripts. [thorpej, ticket #651] sys/arch/alpha/pci/irongate_pci.c 1.13 alpha: add a missing barrier in irongate_conf_read0(). [thorpej, ticket #652] sys/dev/pci/if_iwn.c 1.100 iwn(4): PR 58105: use the correct firmware file on Intel Centrino N 130. [riastradh, ticket #653] share/mk/bsd.lib.mk 1.398,1.399,1.152 (via patch) bsd.x11.mk: PR 58104: use TOOL_AWK, not the build host's awk. [riastradh, ticket #654] share/mk/bsd.own.mk 1.1365,1.1366 sys/arch/aarch64/include/sljit_machdep.h 1.4,1.5 sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c 1.5 sys/modules/Makefile 1.285 aarch64: PR 58103: enable SLJIT acceleration. [riastradh, ticket #655] sys/stand/efiboot/efiboot.c 1.23 efiboot: PR 58075: avoid invalid memory access with netboot. [riastradh, ticket #656] distrib/evbarm/instkernel/sshramdisk/Makefile 1.26 evbarm/sshramdisk: PR 58035: put firmware files in the right place. [riastradh, ticket #657] share/man/man4/wg.4 1.8,1.9 wg(4): PR 58015: man page improvements. [riastradh, ticket #658] sys/netinet/sctp_asconf.c 1.14 sys/netinet6/in6_ifattach.c 1.122 sys/netinet6/nd6.c 1.282 ipsecif(4): fix invalid IPv6 route after deletion of a tunnel. [knakahara, ticket #659] sbin/ifconfig/ifconfig.8 1.126-1.129 ifconfig(8): PR 58125: document lagg(4) parameters. [andvar, ticket #660] sys/dev/pci/if_mcx.c 1.27 mcx(4): PR 58124: enforce full-duplex mark in mcx_media_status(), when link is up. [andvar, ticket #661] sys/arch/x86/x86/viac7temp.c 1.10 viac7temp(4): PR 58148: fix the kernel module. [andvar, ticket #662] share/mk/bsd.hostlib.mk 1.21 Fix reproducible toolchain build on host toolchains that do not support -iremap. [jakllsch, ticket #664] sys/ddb/db_proc.c 1.16 ddb(4): fix alignment of 'ps/[lw]' output. [skrll, ticket #665] sys/arch/arm/arm32/pmap.c 1.443 arm: PR 58135: don't unconditionally set XN in pmap_clearbit. [skrll, ticket #666] sys/arch/aarch64/aarch64/cpu_machdep.c 1.15 sys/arch/aarch64/aarch64/sig_machdep.c 1.9 aarch64: PR 58149: cannot return from a signal handler if SP was misaligned when the signal arrived. [skrll, ticket #667] sys/kern/init_main.c 1.547 sys/kern/kern_hook.c 1.15 sys/kern/vfs_mount.c 1.104 sys/miscfs/procfs/procfs.h 1.83,1.84 sys/miscfs/procfs/procfs_subr.c 1.117 sys/miscfs/procfs/procfs_vfsops.c 1.112-1.114 sys/miscfs/procfs/procfs_vnops.c 1.230 procfs: PR 39913, PR 57775: make kernel hooks exechook, exithook and forkhook MP-safe and make it safe to remove procfs nodes on exehook or proc exit. [hannken, ticket #668] sys/dev/ccd.c 1.190 ccd(4): PR 58043: allocate buffers with PR_NOWAIT and defer to kthread if out of memory. [hannken, ticket #669] external/bsd/ntp/lib/libntp/Makefile 1.28-1.34 ntpd(8): fix timestamp in the binary for reproducable builds. [jakllsch, ticket #663] sys/arch/vax/vax/unimpl_emul.S 1.5 vax: fix assembler code to use constants of the correct size to fix reproducable builds (no functional change) [kalvisd, ticket #670] sys/uvm/pmap/pmap.c 1.78 sys/uvm/pmap/pmap.h 1.27 PR 58006: fix kernel hang in pmap_page_clear_attributes(). [skrll, ticket #671] distrib/sets/lists/xbase/mi 1.175 external/mit/xorg/bin/xsetwallpaper/Makefile 1.6 PR 58172: install xsetwallpaper(1) manual page. [jakllsch, ticket #672] sys/netinet6/frag6.c 1.78 inet6: fix calculation of fragment length. [ozaki-r, ticket #673] sbin/raidctl/raidctl.8 1.80 sbin/raidctl/raidctl.c 1.79 sys/dev/raidframe/raidframeio.h 1.12 sys/dev/raidframe/rf_diskqueue.c 1.64 sys/dev/raidframe/rf_diskqueue.h 1.30 sys/dev/raidframe/rf_disks.c 1.94,1.95 sys/dev/raidframe/rf_disks.h 1.15 sys/dev/raidframe/rf_driver.c 1.141 sys/dev/raidframe/rf_netbsdkintf.c 1.414 sys/dev/raidframe/rf_raid.h 1.52 sys/dev/raidframe/rf_reconstruct.c 1.129 raid(4): implement hot removal of spares and components. [oster, ticket #674] sbin/raidctl/raidctl.8 1.81 sbin/raidctl/raidctl.c 1.80 raidctl(8): implement single command-line configuration of simple RAID sets. [oster, ticket #675] sys/dev/usb/uftdi.c 1.79 uftdi(4): add a match quirk to prevent matching any interface on SiPEED FPGA development boards (e.g. Tang Nano 9K). The FT2232s on these boards are wired up only for JTAG. [thorpej, ticket #676] external/gpl3/gcc.old/dist/gcc/cp/cfns.h 1.12 (applied to external/gpl3/gcc/dist/gcc/cp/cfns.h) usr.sbin/mtree/create.c 1.78 Fix tool build on FreeBSD 14 (and possibly other systems). [hgutch, ticket #677] lib/libc/gen/usleep.3 1.20,1.21 lib/libc/gen/usleep.c 1.21 usleep(3): PR 58184: allow calls with useconds >= 1000000. [jdolecek, ticket #678] sys/dev/usb/uftdi.c 1.78 sys/dev/usb/usbdevs 1.815 sys/dev/usb/usbdevs.h (regen) sys/dev/usb/usbdevs_data.h (regen) uftdi(4): PR 58127: add some USB serial adapters. [maya, ticket #679] libexec/httpd/dir-index-bozo.c 1.37 httpd(8): PR 57962: create mobile-friendly directory listings. [maya, ticket #680] etc/Makefile 1.470 PR/58200: change "makeobsolete" to use the tool version of sed. [christos, ticket #681] distrib/common/Makefile.bootcd 1.48 distrib/common/bootimage/Makefile.installimage 1.11 distrib/i386/cdroms/installcd/Makefile 1.12 share/mk/bsd.own.mk 1.1373 sys/arch/i386/conf/LEGACY 1.3 i386: reduce size of ISO image: - remove redundant kernels and floppy images - do not build AMD GPU firmware - remove DRM support from the LEGACY kernel (targetting ISA machines) [nia, ticket #682] external/mit/xf86-input-ws/dist/src/ws.c 1.17,1.18 xf86-input-ws: print log message about touchpad scrolling only once. [nia, ticket #683] sys/arch/hp300/stand/inst/Makefile 1.11 sys/arch/hp300/stand/uboot/Makefile 1.11 hp300: PR 58211: fix hardlinks in /usr/mdec. [tsutsui, ticket #684] sys/arch/hp300/stand/common/if_le.c 1.15,1.16 hp300: do not panic on fatal errors on receiving packets with invalid length. [tsutsui, ticket #685] sys/arch/mac68k/dev/pm_direct.c 1.31 mac68k: avoid random crashes on some Powerbook models when using mouse or keyboard. [nat, ticket #686] sys/dev/pci/if_vmx.c 1.13 vmx(4): set IFM_FDX flag if the link is up. [msaitoh, ticket #687] usr.bin/tic/tic.c 1.41 tic(1): PR 58034: only mark the terminfo entry promoted if it actually was. [wiz, ticket #688] sys/dev/hil/hil.c 1.8 hp300: fix "stray level 1 interrupt" panic by pressing keys during autoconf(9). [tsutsui, ticket #689] distrib/notes/hp300/hardware 1.28 share/man/man4/man4.hp300/topcat.4 1.8 sys/arch/hp300/dev/diofb.c 1.8-1.10 sys/arch/hp300/dev/diofbvar.h 1.5 sys/arch/hp300/dev/topcat.c 1.7-1.12 sys/arch/hp300/dev/topcatreg.h 1.5 hp300: topcat(4) framebuffer fixes. [tsutsui, ticket #690] sys/arch/i386/conf/LEGACY 1.4 Exclude DRM_LEGACY from the ISA kernel. [nia, ticket #691] sbin/disklabel/main.c 1.58 disklabel(8): avoid writing a label to the wrong sector on some architectures from installer/ramdisk versions of the disklabel command. [tsutsui, ticket #692] sys/arch/hp300/hp300/autoconf.c 1.113 hp300: fix boot device selection for SCSI disks. [tsutsui, ticket #693] sys/arch/vax/include/mcontext.h 1.11 sys/arch/vax/vax/machdep.c 1.200 sys/arch/vax/vax/sig_machdep.c 1.27 vax: implement _UC_SETSTACK / _UC_CLRSTACK. [thorpej, ticket #694] sys/arch/evbarm/conf/GENERIC64 1.216 aarch64: add some simple PCI audio devices to GENERIC64 (for use in QEMU). [nia, ticket #698] sys/dev/pci/eap.c 1.103 eap(4): restore the full set of supported hardware encodings from netbsd-7. [nia, ticket #697] share/man/man4/eap.4 1.18-1.20 eap(4): improve man page. [nia, ticket #696] sys/arch/sgimips/sgimips/machdep.c 1.155 sgimips: PR 58269: call mips_vector_init earlier to fix boot. [skrll, ticket #695] external/bsd/tre/dist/src/agrep.c 1.5,1.6 agrep(1): PR 53513: rewrite check for binary files. [andvar, ticket #699] distrib/sets/lists/man/mi 1.1773 (adapted) share/man/man4/man4.i386/Makefile 1.81 share/man/man4/man4.i386/viac7temp.4 delete share/man/man4/man4.x86/Makefile 1.24 share/man/man4/man4.x86/viac7temp.4 1.1 sys/arch/amd64/conf/ALL 1.188 sys/arch/amd64/conf/GENERIC 1.612 sys/arch/i386/conf/ALL 1.519 sys/arch/i386/conf/GENERIC 1.1256 sys/arch/x86/x86/viac7temp.c 1.11 viac7temp(4): rewrite temperature sensor to read value from MSR. Add the driver to amd64 GENERIC. [andvar, ticket #700] sys/arch/x86/x86/fpu.c 1.88 xen: workaround panic "fpudna from userland" on i386 Xen PV domU. [manu, ticket #701] sys/dev/usb/if_urtwn.c 1.108 sys/dev/usb/usbdevs 1.812 sys/dev/usb/usbdevs.h (regen) sys/dev/usb/usbdevs_data.h (regen) urtwn(4): PR 57819: add Mercusys and Mercusys MW150USV2 support. [nia, ticket #702] usr.bin/aiomixer/main.c 1.6 aiomixer(1): fix setting volume on sb(4) emulated in QEMU. [nia, ticket #703] usr.bin/ftp/ftp.1 1.154 ftp.1: drop a sentence that's no longer accurate. [gutteridge, ticket #704] distrib/sets/lists/base/mi 1.1345 external/public-domain/tz/share/zoneinfo/Makefile 1.5 Install /usr/share/zoneinfo/leap-seconds.list. [kre, ticket #705] sys/fs/msdosfs/msdosfs_rename.c 1.4 PR 58146: fix msdosfs rename crash in RUMP. [rhialto, ticket #706] sys/arch/macppc/macppc/mainbus.c 1.26 macppc: PR 57394: check for proper error value from OF_finddevice(). [tsutsui, ticket #707] sys/arch/mac68k/dev/aed.c 1.39 sys/arch/macppc/dev/aed.c 1.35 mac68k/macppc: PR 58303: fix passing of emulated 2nd and 3rd button events to the corresponding adb mouse. [nat, ticket #708] crypto/external/bsd/openssh/bin/Makefile.inc 1.5 openssh: use ${EXTERNAL_OPENSSL_SUBDIR} instead of hard-coded `openssl`. [rin, ticket #709] usr.sbin/envstat/prog_ops.h 1.3 usr.sbin/powerd/prog_ops.h 1.2 usr.sbin/traceroute/prog_ops.h 1.3 envstat(8), powerd(8), traceroute(8): add support to CRUNCHOPS to enable building rump-fied programs as crunched binaries. [rin, ticket #710] lib/libpthread/pthread.c 1.185 libpthread: PR 57831: fix resource leak in pthread_create(). [hannken, ticket #711] sys/dev/mii/miidevs 1.169-1.171 sys/dev/mii/miidevs.h (regen) sys/dev/mii/miidevs_data.h (regen) miidevs: Add MaxLinear GPY21[125] 2.5G PHY and GPY115 Gigabit PHY. [msaitoh, ticket #712] sys/dev/pci/igc/if_igc.c 1.7-1.9,1.14 igc(4): - Fix build of the MODULAR kernel, which explicitly excludes vlans. - Notify which of 64- or 32-bit DMA is used - Cleanup [rin, ticket #713] sys/dev/clk/clk.c 1.8 clk(4): clk_set_rate: Add KASSERT to check `clk != NULL` [rin, ticket #714] sys/dev/fdt/fdt_powerdomain.c 1.2 fdt_powerdomain: fix out of bounds data access in the "all" (index -1) case. [rin, ticket #715] sys/lib/libsa/netif.c 1.27 libsa: do not panic when the requested NIC is not available. [rin, ticket #716] sys/arch/x86/x86/coretemp.c 1.40,1.41 coretemp(4): do not accept impossibly low TjMax values. [gutteridge, ticket #717] sys/dev/pckbport/synaptics.c 1.83 pms(4): PR 57874: fix synaptics capability parsing to unbreak old devices. [gutteridge, ticket #718] etc/etc.aarch64/MAKEDEV.conf 1.10 etc/etc.amd64/MAKEDEV.conf 1.36 etc/etc.i386/MAKEDEV.conf 1.36 Fix some missing device nodes. PRs 58093, 58100, 58101 and 58102. [skrll, ticket #719] xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/xf86Modes.c 1.2 PR 58321: make sure we fill in the name field in generated/ converted modes. [tsutsui, ticket #720] external/gpl3/gcc.old/dist/gcc/doc/gcc.info 1.15 external/gpl3/gcc.old/dist/gcc/doc/gcc.texi 1.13 (applied to external/gpl3/gcc) PR 58336: fix broken gcc.info file. [hgutch, ticket #721] distrib/hp300/cdroms/installcd/Makefile 1.4 sys/arch/hp300/dev/dcm.c 1.91 sys/arch/hp300/dev/dcmreg.h 1.11 sys/arch/hp300/dev/diofbreg.h 1.4 sys/arch/hp300/dev/diofbvar.h 1.4 sys/arch/hp300/dev/dma.c 1.45 sys/arch/hp300/dev/dnkbd.c 1.14 sys/arch/hp300/dev/dvbox.c 1.4 sys/arch/hp300/dev/frodoreg.h 1.6 sys/arch/hp300/dev/hpib.c 1.45 sys/arch/hp300/dev/mcclock_frodo.c 1.2 sys/arch/hp300/dev/rbox.c 1.4 sys/arch/hp300/dev/rboxreg.h 1.3 sys/arch/hp300/dev/rtc.c 1.22 sys/arch/hp300/dev/sti_sgc.c 1.8 sys/arch/hp300/dev/topcatreg.h 1.3 sys/arch/hp300/hp300/autoconf.c 1.111,1.114 sys/arch/hp300/hp300/machdep.c 1.238 sys/arch/hp300/hp300/trap.c 1.156 sys/arch/hp300/include/bus.h 1.23 sys/arch/hp300/include/cpu.h 1.73 sys/arch/hp300/stand/Makefile.buildboot 1.38,1.39 sys/arch/hp300/stand/common/clock.c 1.14 sys/arch/hp300/stand/common/conf.c 1.15 sys/arch/hp300/stand/common/conf.h 1.4 sys/arch/hp300/stand/common/devopen.c 1.14,1.15 sys/arch/hp300/stand/common/hil.c 1.15 sys/arch/hp300/stand/common/ite_dumb.c 1.2 sys/arch/hp300/stand/common/ite_sti.c 1.2 sys/arch/hp300/stand/common/machdep.c 1.16 sys/arch/hp300/stand/common/netio.c 1.19 sys/arch/hp300/stand/common/prf.c 1.6 sys/arch/hp300/stand/common/rd.c 1.16 sys/arch/hp300/stand/common/scsi.c 1.12,1.13 sys/arch/hp300/stand/common/scsireg.h 1.5,1.6 sys/arch/hp300/stand/common/scsivar.h 1.5 sys/arch/hp300/stand/common/sd.c 1.12,1.13 sys/arch/hp300/stand/inst/Makefile 1.12 sys/arch/hp300/stand/inst/inst.c 1.25 sys/arch/hp300/stand/mkboot/Makefile 1.12,1.13 sys/arch/hp300/stand/mkboot/mkboot.c 1.12-1.20 sys/arch/hp300/stand/mkboot/volhdr.h 1.6 sys/arch/hp300/stand/mkboot/volhdr.h delete sys/arch/hp300/stand/uboot/Makefile 1.12,1.13 sys/fs/cd9660/cd9660_extern.h 1.29 sys/fs/cd9660/cd9660_util.c 1.15,1.16 sys/sys/bootblock.h 1.59 tools/Makefile.nbincludes 1.11 (patch) usr.sbin/installboot/Makefile 1.59 usr.sbin/installboot/arch/hp300.c 1.18,1.19 usr.sbin/installboot/cd9660.c 1.1,1.2 usr.sbin/installboot/fstypes.c 1.14 usr.sbin/installboot/installboot.8 1.106-1.109 usr.sbin/installboot/installboot.h 1.44,1.45 hp300: create bootable CD images. Various minor fixes. PRs 57909, 54455. [tsutsui, ticket #722] sys/dev/pci/pcireg.h 1.171 PCI_CLASS_MASK: use unsigned to avoid undefined behavior. [rin, ticket #723] share/mk/bsd.kmodule.mk 1.86 sys/arch/aarch64/aarch64/netbsd32_machdep_13.c 1.4 sys/arch/aarch64/aarch64/netbsd32_machdep_16.c 1.4 sys/arch/mips/mips/netbsd32_machdep_13.c 1.4 sys/arch/mips/mips/netbsd32_machdep_16.c 1.8 sys/arch/powerpc/powerpc/compat_13_machdep.c 1.23 sys/arch/powerpc/powerpc/compat_16_machdep.c 1.25,1.26 sys/arch/sun2/sun2/enable.h 1.5 sys/arch/sun2/sun2/genassym.cf 1.17 sys/modules/Makefile.compat 1.1 sys/modules/compat_13/Makefile 1.3-1.5 sys/modules/compat_16/Makefile 1.3,1.4 sys/modules/compat_netbsd32_13/Makefile 1.5 sys/modules/compat_netbsd32_16/Makefile 1.5 PR 58346: fix compat modules build. [pgoyette, ticket #724] sys/arch/xen/xen/xbdback_xenbus.c upto 1.107 Add back proper support for disk transfer request which are not contiguous in memory (this support was lost with rev 1.83, between netbsd-9 and netbsd-10 branches). This fixes a possible virtual disk corruption with linux domUs. [bouyer, ticket #726]