Build date: 1743372003 - Sun Mar 30 22:00:03 UTC 2025 Build cvs date: 1743371221 - Sun Mar 30 21:47:01 UTC 2025 Build id: 2025-03-31.1 Build tags: amd64-regress ports sysupgrade Applied the following diff(s): /home/anton/tmp/robsd/src-sys-em.diff /home/anton/tmp/robsd/src-sys-uhidev-sispm.diff /home/anton/tmp/robsd/src-sysupgrade.diff P distrib/amd64/common/install.md P distrib/miniroot/install.sub P distrib/sets/lists/man/mi P lib/libc/sys/sysctl.2 P lib/libcrypto/bytestring/bs_ber.c P lib/libcrypto/mlkem/mlkem.h P lib/libcrypto/x509/x509_policy.c P lib/libexpat/COPYING P lib/libexpat/Changes P lib/libexpat/README.md P lib/libexpat/doc/reference.html P lib/libexpat/lib/expat.h P lib/libexpat/lib/internal.h P lib/libexpat/lib/xmlparse.c P lib/libexpat/tests/common.c P lib/libexpat/tests/common.h P lib/libexpat/tests/misc_tests.c P lib/libexpat/tests/benchmark/benchmark.c P lib/libssl/bs_ber.c P regress/usr.bin/ssh/agent-restrict.sh P regress/usr.bin/ssh/test-exec.sh P sbin/ifconfig/ifconfig.8 P share/man/man4/ath.4 P share/man/man4/athn.4 P share/man/man4/atw.4 P share/man/man4/bwfm.4 P share/man/man4/bwi.4 P share/man/man4/ipw.4 P share/man/man4/iwi.4 P share/man/man4/iwm.4 P share/man/man4/iwx.4 P share/man/man4/malo.4 P share/man/man4/mtw.4 P share/man/man4/otus.4 P share/man/man4/qwx.4 P share/man/man4/rsu.4 P share/man/man4/rtw.4 P share/man/man4/rtwn.4 P share/man/man4/rum.4 P share/man/man4/run.4 P share/man/man4/uath.4 P share/man/man4/upgt.4 P share/man/man4/urtw.4 P share/man/man4/urtwn.4 P share/man/man4/usb.4 P share/man/man4/wi.4 P share/man/man5/changelist.5 P share/man/man5/mygate.5 P share/man/man5/myname.5 P sys/conf/newvers.sh P sys/dev/efi/efi.c P sys/dev/ic/qwx.c P sys/dev/ic/qwxreg.h P sys/dev/ic/qwz.c P sys/dev/pci/if_ice.c P sys/dev/pci/if_qwx_pci.c P sys/dev/usb/if_mtw.c P sys/dev/usb/usb_quirks.c P sys/dev/usb/usbdevs P sys/dev/usb/usbdevs.h P sys/dev/usb/usbdevs_data.h P sys/kern/spec_vnops.c P sys/kern/vfs_subr.c P sys/net/rtsock.c P sys/nfs/nfs_syscalls.c P sys/nfs/nfs_vnops.c P sys/sys/buf.h P sys/sys/videoio.h P sys/ufs/ffs/ffs_vnops.c P sys/uvm/uvm_map.c P usr.bin/sort/sort.1 P usr.bin/ssh/scp.c P usr.bin/ssh/sftp.c P usr.bin/tmux/cmd-refresh-client.c P usr.bin/tmux/job.c P usr.bin/tmux/tty-keys.c P usr.sbin/apm/apm.8 P usr.sbin/apm/apm.c P usr.sbin/apmd/apmd.8 P usr.sbin/bgpd/config.c P usr.sbin/bgpd/util.c P usr.sbin/fw_update/patterns.c P usr.sbin/pkg_add/OpenBSD/FwUpdate.pm P usr.sbin/rpki-client/cert.c P usr.sbin/rpki-client/extern.h P usr.sbin/rpki-client/main.c P usr.sbin/rpki-client/output-bgpd.c P usr.sbin/rpki-client/output-bird.c P usr.sbin/rpki-client/output-csv.c P usr.sbin/rpki-client/output-json.c P usr.sbin/rpki-client/output-ometric.c P usr.sbin/rpki-client/output.c P usr.sbin/rpki-client/parser.c P usr.sbin/rpki-client/repo.c P usr.sbin/rpki-client/rrdp.c commit OxNoWLaxDIZdzVum Author: nicm Date: 2025/03/30 21:47:01 Missing space, from David Mandelberg. usr.bin/tmux/cmd-refresh-client.c commit sRIMtr4yUXGQ7ZQh Author: deraadt Date: 2025/03/30 20:43:36 head out of -beta to 7.7 sys/conf/newvers.sh commit waScPDvLNkt6Bs4t Author: bluhm Date: 2025/03/30 12:26:40 Backport libexpat regression fix from version 2.7.1. Relevant for OpenBSD are bug fixes #980 #989, other changes #986. this is errata/7.6/011_expat.patch lib/libexpat/Changes lib/libexpat/lib/xmlparse.c commit FGNG4ZlAprZsCj7o Author: bluhm Date: 2025/03/30 12:25:29 Backport libexpat regression fix from version 2.7.1. Relevant for OpenBSD are bug fixes #980 #989, other changes #986. errata/7.5/021_expat.patch lib/libexpat/Changes lib/libexpat/lib/xmlparse.c commit ClERLR2oaePO5fpW Author: bluhm Date: 2025/03/30 11:25:19 portable_strndup() must not read source string beyond NUL byte. reported by and OK tb@ lib/libexpat/tests/common.c commit S1ql0mJZplZ90E0d Author: kirill Date: 2025/03/29 22:34:59 sys/qwz: fix build after qwz.c 1.19 OK: kn@ sys/dev/ic/qwz.c commit ClhW8QGXzvP1EanN Author: bluhm Date: 2025/03/29 19:10:43 Update libexpat to version 2.7.1. Relevant for OpenBSD are bug fixes #980 #989, other changes #978 #986. No library bump necessary, only version defines have been changed in public header file. This fixes a regression introduced in libexpat 2.7.0. OK tb@ lib/libexpat/COPYING lib/libexpat/Changes lib/libexpat/README.md lib/libexpat/doc/reference.html lib/libexpat/lib/expat.h lib/libexpat/lib/internal.h lib/libexpat/lib/xmlparse.c lib/libexpat/tests/common.c lib/libexpat/tests/common.h lib/libexpat/tests/misc_tests.c lib/libexpat/tests/benchmark/benchmark.c commit Mb4l7VwTIbfXUfhK Author: kn Date: 2025/03/29 14:26:41 Reuse dmesg.boot file for amd64 MDEFI check, clarify this usage pattern install.md r1.63 assumed it to be present, r1.64 reverted to plain dmesg(8), now hoist creation of the current boot's dmesg in a new DMESGBOOT variable for reuse (again) and tweak comments around it. There are different reasons and ways the installer looks at dmesg: - Here it concerns feature detection of something that won't change across reboots or during install/upgrade time: whether we booted via EFI/GPT. - scan_dmesg() uses that file to lookup keyboards, displays, consoles, etc. - diskinfo() on the other hand needs to see all disks at runtime, so live 'dmesg | ...' is needed to find latest attach line for them. - start_dmesg_listener() is its own mechanism and keeps a file to watch for changes, i.e. nothing that should change whilst refining the above mentioned. deraadt agrees OK afresh1 distrib/amd64/common/install.md distrib/miniroot/install.sub commit aHMlH5KVc190YthL Author: schwarze Date: 2025/03/29 11:24:02 Mention below HISTORY when this was first supported. For a long discussion of the sources, see https://marc.info/?l=openbsd-misc&m=174320506004836 . OK jsg@ share/man/man5/mygate.5 share/man/man5/myname.5 commit 1MkjzzkhVoOnuR9Y Author: claudio Date: 2025/03/29 06:33:28 Fix scope of the sa_mpls sockaddr variable. The sa_mpls is used outside of the block via info.rti_info[RTAX_SRC] so it needs to have the same scope as info. Yesterday the planets and the moon were in perfect alignment to trigger another bug in route(8) because of this and I could observe all of its glory first hand for the first time after 7 years. OK bluhm@ tb@ sys/net/rtsock.c commit WiUEL6XxuucMkEGX Author: hastings Date: 2025/03/28 23:17:00 Open bulk usb(4) pipes once for the lifetime of the device. ok kevlo@ sys/dev/usb/if_mtw.c commit HUX2EWZD5tSWwpxu Author: dtucker Date: 2025/03/28 21:45:55 Add TEST_SSH_SSHD_ENV to sshd lines here too. regress/usr.bin/ssh/agent-restrict.sh commit 9cv7gHYSDzyRRQM5 Author: nicm Date: 2025/03/28 17:15:25 Only copy the key string not two bytes extra, found by David Mandelberg. usr.bin/tmux/tty-keys.c commit dBJhKmivQTvRzdVS Author: nicm Date: 2025/03/28 17:03:49 Fix read of uninitialized memory for jobs with JOB_PTY flag. From David Mandelberg. usr.bin/tmux/job.c commit IXYbNGAKyPoUDezx Author: stsp Date: 2025/03/28 16:13:54 allow ice(4) to work when phy type does not map to a known media type Map unknown PHY types to IFM_ETHER as a catch-all, as suggested by dlg@ in https://marc.info/?l=openbsd-tech&m=173388658508179&w=2 Verified by temporarily making the phy type of my test device unknown. sys/dev/pci/if_ice.c commit mK97rpq2fo5FTcCn Author: stsp Date: 2025/03/28 15:04:30 add ice(4) fw_update firmware hint I mistakenly added this to the old Perl-based fw_update before. Spotted by afresh1@ usr.sbin/fw_update/patterns.c commit v1ZDmbWNKf0vJxrX Author: schwarze Date: 2025/03/28 14:35:50 Two minor tweaks to the description of -V: 1) To make it even clearer that "the first" is also odd-numbered, say "the first and every other odd-numbered" as suggested by jmc@. 2) When introducing the example, say what exactly the non-digit substrings are, as suggested by pascal@. Tweaks and OK jmc@, OK pascal@ on an earlier version. usr.bin/sort/sort.1 commit QwvLreQwmD28J6p8 Author: kevlo Date: 2025/03/28 13:55:27 Add support for QCA2066. It is very similar to QCNFA765, The most significant difference is that QCA2066 supports 3-antenna configuration while QCNFA765 does not. To differentiate them, subversion numbers are used. See Linux commit 5dc9d1a55e953d9059ecbdd8fe6ec81e9edd349e Also fix the regdb firmware load, code taken from qwz.c r1.11 by patrick@. Tested by and ok stsp@ sys/dev/ic/qwx.c sys/dev/ic/qwxreg.h sys/dev/pci/if_qwx_pci.c commit XwcZRMcnrA4TUFey Author: stsp Date: 2025/03/28 13:21:59 add ice(4) to fw_update driver list usr.sbin/pkg_add/OpenBSD/FwUpdate.pm commit GcNDaMqFgwXWHli7 Author: tb Date: 2025/03/28 13:11:57 x509_policy: zap an extra s lib/libcrypto/x509/x509_policy.c commit VCEhAFF8qRMuMBGs Author: tb Date: 2025/03/28 12:34:19 x509_policy: certificats -> certificates lib/libcrypto/x509/x509_policy.c commit ZszaSN1cQb3OT2zr Author: tb Date: 2025/03/28 12:17:16 typos: us -> is, te -> the (twice) lib/libcrypto/mlkem/mlkem.h commit JTW05wTjxw42KVLi Author: tb Date: 2025/03/28 12:13:03 typo: primtive -> primitive lib/libcrypto/bytestring/bs_ber.c lib/libssl/bs_ber.c commit bLgkyVwVb79KrFG5 Author: stsp Date: 2025/03/28 10:30:57 fix missing vlan tag byte swap in ice_tx_setup_offload() sys/dev/pci/if_ice.c commit tGt6gEnQ8TFncZPg Author: kevlo Date: 2025/03/28 07:23:48 Don't free unused variable. ok patrick@ sys/dev/ic/qwz.c commit mMZlrRkyxkjSWZz6 Author: dtucker Date: 2025/03/28 06:04:07 Pass "ControlMaster no" to ssh when invoked by scp & sftp. If you have ControlMaster auto (or yes) in your config, and the first connection you make is via scp or sftp, then you may get a few unexpected options applied to it (eg ForwardX11 no), since sftp and sftp explicitly disable those for reasons. These effects will persist beyond the initial scp or sftp command. This explicitly disables persistent session *creation* by scp and sftp. It will not prevent them from using an existing session if one has already been created. From Github PR#557, ok djm@ kn@ usr.bin/ssh/scp.c usr.bin/ssh/sftp.c commit RMBP6OmM8faWKdtL Author: dtucker Date: 2025/03/28 05:41:15 Set sshd environment variables during sshd test run too. regress/usr.bin/ssh/test-exec.sh commit 5nOIFaReypYkiJ23 Author: dtucker Date: 2025/03/28 05:36:24 Add TEST_SSH_SSHD_ENV variable which is added to sshd's environment. Will be used in Portable to tweak behaviour of tcmalloc's debugging. regress/usr.bin/ssh/test-exec.sh commit tseUwLXg0HZKnK1q Author: dtucker Date: 2025/03/28 05:33:30 chown log directory in addition to log files. regress/usr.bin/ssh/test-exec.sh commit R9pG8Kfl2XisxtXL Author: tedu Date: 2025/03/27 23:30:54 eliminate bremfree macro, just an alias for bufcache_take. ok claudio miod sys/kern/spec_vnops.c sys/kern/vfs_subr.c sys/nfs/nfs_syscalls.c sys/nfs/nfs_vnops.c sys/sys/buf.h sys/ufs/ffs/ffs_vnops.c commit 3aA9EIh8x4gGxUQl Author: claudio Date: 2025/03/27 19:30:49 Use the modified time of the RRDP stat file to warn if a server did not change for more than 24h. Right now all operational RRDP servers publish more often and this allows to spot malfunctioning servers hopefully before the cache expires. Based on an initial diff by job@ OK tb@ job@ usr.sbin/rpki-client/repo.c commit 01vaLXiRWMu1bz2p Author: claudio Date: 2025/03/27 19:27:59 There is no need to update the rrdp state file if there was no modification. This is needed to better track how long a RRDP server shipped the same file. The old data is still valid in that case. Especially since rpki-client allows the sequence number to be off by 2 because CDNs are hard. OK tb@ job@ usr.sbin/rpki-client/rrdp.c commit GzcIKl1zOj9UOcVE Author: jmc Date: 2025/03/27 18:31:38 document that power management happens in the kernel, that some functionality is available without apmd, and how apmd fits into the picture; tweaks/ok jca usr.sbin/apmd/apmd.8 commit 8vGkyDUqbUgRfaFs Author: jca Date: 2025/03/27 18:09:55 The sysctl(2) API only exports the currently used perf perfpolicy ok jmc@ lib/libc/sys/sysctl.2 commit CYNCstEXFzyBtJd6 Author: jca Date: 2025/03/27 18:07:52 Just like for cpu speed, retrieve hw.perfpolicy in case apmd(8) isn't running Spotted and tested by jmc@ usr.sbin/apm/apm.c commit MCBB1d1TrWFVdvbB Author: mpi Date: 2025/03/27 16:31:12 Remove address selectors after releasing the vm_map lock. Makes the VMMAP_DEBUG checks inside vm_map_unlock() happy. ok kettenis@ sys/uvm/uvm_map.c commit 898VuIlLOst2G8cd Author: mpi Date: 2025/03/27 16:29:28 Do not ignore anon pages in vmspace_validate(). Prevent a panic with VMMAP_DEBUG. from David Higgs, ok kettenis@ sys/uvm/uvm_map.c commit 1olcqpwB2lpVFtqz Author: jmc Date: 2025/03/27 15:15:46 tweak the text for "powersave" to note that newer devices generally don;t support this. drivers which do document this in their manual pages; text/ok stsp sbin/ifconfig/ifconfig.8 commit HHpyIH763mWnm8jA Author: jmc Date: 2025/03/27 15:12:14 remove the note about powersave being unsupported: it is powersave via "ifconfig powersave" that is unsupported for these devices, and instead handled by firmware; drivers which support "ifconfig powersave" document that they do; help/ok stsp share/man/man4/bwfm.4 share/man/man4/bwi.4 share/man/man4/ipw.4 share/man/man4/iwi.4 share/man/man4/iwm.4 share/man/man4/iwx.4 share/man/man4/malo.4 share/man/man4/mtw.4 share/man/man4/otus.4 share/man/man4/rsu.4 share/man/man4/rtwn.4 share/man/man4/rum.4 share/man/man4/run.4 share/man/man4/uath.4 share/man/man4/upgt.4 share/man/man4/urtw.4 share/man/man4/urtwn.4 share/man/man4/wi.4 commit LCKAezIMslF6hrfo Author: sthen Date: 2025/03/27 14:12:38 add UQ_ALWAYS_OPEN quirks for Dell and Lenovo PixArt mice reported/tested by Chris Billington sys/dev/usb/usb_quirks.c commit tru2FrC92jRjwRYX Author: sthen Date: 2025/03/27 14:11:14 sync sys/dev/usb/usbdevs.h sys/dev/usb/usbdevs_data.h commit 0f4pvUCH5553Xq4T Author: sthen Date: 2025/03/27 14:10:31 Add Dell/Lenovo optical mice, they have the buggy PixArt firmware that needs a quirk to avoid continual detach/reattach if X isn't running. While there rename an "Optical mouse" to "Optical Mouse" to save bytes. sys/dev/usb/usbdevs commit MaPVRJMPFuyTAk7z Author: stsp Date: 2025/03/27 12:50:07 reset Tx/Rx ring software state when an ice(4) interface is put down Fixes erratic behaviour where Tx/Rx would stop working silently or with some driver errors in dmesg complaining about bad Tx descriptors. Problem reported by bluhm@ and Amarinder Cheema sys/dev/pci/if_ice.c commit 8HX4e9WHZ9cweDKT Author: jca Date: 2025/03/27 12:38:01 Move discussion about apmd(8) perfpolicy limitation to CAVEATS Looks good to jmc@ usr.sbin/apmd/apmd.8 commit EoahNGUlOkPEQivh Author: jca Date: 2025/03/27 12:37:07 Document the default performance policy in apmd(8). looks good to jmc@ lib/libc/sys/sysctl.2 usr.sbin/apmd/apmd.8 commit tNce2vtFZDVk5ACp Author: schwarze Date: 2025/03/27 11:43:58 Rewrite the description of -V from scratch: it was incorrect, vague, misleading, and confusing. Tweaks and OK jmc@ sthen@, OK pascal@ usr.bin/sort/sort.1 commit uZOqAr5TpEoUjxlt Author: jmc Date: 2025/03/27 10:21:53 ath/athn/atw/rtw don;t actually support powersave via ifconfig so remove the note that says they do (athn supports it for clients when in hostap, so that note remains); wi does support powersave via ifconfig so add the relevant text there; help/ok stsp share/man/man4/ath.4 share/man/man4/athn.4 share/man/man4/atw.4 share/man/man4/rtw.4 share/man/man4/wi.4 commit pucLbHMlZqhlpgdC Author: kettenis Date: 2025/03/27 10:19:29 We deliberately don't support EFI runtime services on older EFI versions. Make sure that the ioctl code doesn't crash the kernel if that is the case. ok deraadt@, kn@ sys/dev/efi/efi.c commit yrQ0FeZzCmutKA0p Author: jmc Date: 2025/03/27 09:38:38 add missing notes re driver modes and wpa; omission noted by/ok stsp share/man/man4/qwx.4 commit j1ABjIyxVrE7PKJl Author: tb Date: 2025/03/27 05:03:09 rpki-client: collect non-functional CAs A non-functional CA is a CA which has not signed any currently valid Manifest. Such a CA does not meaningfully participate in the RPKI and only consumes resources. This commit collects these CAs and adds support code for outputting some info on them into the JSON dump. This is motivated by Job's policy proposal on revoking persistently non-functional CAs on the the RIPE-NCC routing-wg list: https://mailman.ripe.net/archives/list/routing-wg@ripe.net/thread/USQUMNOE3L3UUD3JZVI6LH7VMDRPL7K4/ The strategy is straightforward: build a tree of TA/CA certs sorted by certid and when we encounter a mft issued by the CA with certid remove that from the tree. This will also make it straightforward to add that to stats/ometrics. One slightly tricky bit is to avoid flagging CAs that were skipped or not shortlisted. That's why the call to cert_insert_nca() is where it is and not in entity_process() like for most other trees. The other annoying bit is to get the path of the cert without .rsync/ and .rrdp/*/ artifacts prepended to it. While this can be obtained by chopping up the file in entity_process(), it's cleaner to construct the DIR_VALID path and pass that over the pipe. This should be revisited. The third annoying bit is the number of trees we need to pass to the output functions. We should really hang all the trees off a single struct so we can avoid this churn when we add the next tree. with/ok claudio job usr.sbin/rpki-client/cert.c usr.sbin/rpki-client/extern.h usr.sbin/rpki-client/main.c usr.sbin/rpki-client/output-bgpd.c usr.sbin/rpki-client/output-bird.c usr.sbin/rpki-client/output-csv.c usr.sbin/rpki-client/output-json.c usr.sbin/rpki-client/output-ometric.c usr.sbin/rpki-client/output.c usr.sbin/rpki-client/parser.c commit zHSwQGazKtil3MJE Author: jca Date: 2025/03/26 23:48:23 "auto" isn't really the default; add basic perf policy documentation Minimal changes to hopefully make things clearer for users. With tweaks from jmc@ usr.sbin/apm/apm.8 usr.sbin/apmd/apmd.8 commit Gkv1PBvqyhGNmgnO Author: hastings Date: 2025/03/26 23:39:00 Add an arm specific subsection and device tree attachments to usb(4) synopsis. Make it pretty with paragraph breaks. input and ok jmc@, ok miod@ share/man/man4/usb.4 commit 4kMAeeiTOs2VxXFh Author: kirill Date: 2025/03/26 20:30:42 sys/videoio.h: sync with media/v6.15-1 of linux-media Backported definition of: - V4L2_CID_USER_UVC_BASE - V4L2_CTRL_FLAG_HAS_WHICH_MIN_MAX, V4L2_CTRL_WHICH_MIN_VAL and V4L2_CTRL_WHICH_MAX_VAL - V4L2_CTRL_TYPE_RECT Based on commits: - https://github.com/torvalds/linux/commit/2dc768d71b45a3a40ea15805667ed662127eeefd - https://github.com/torvalds/linux/commit/a5bd42aafb068427ecf4d6d34fa023944f211922 - https://github.com/torvalds/linux/commit/3b9d7340cfac91f8a2ac237a6787f521f1440ca3 OK: mglocker@ sys/sys/videoio.h commit eH3IPH7jPDlGLT4f Author: claudio Date: 2025/03/26 15:29:30 Remove this wrong include of log.h util.c should not depend on anything from log.h since it is also included by bgpctl where there is no log.h. usr.sbin/bgpd/util.c commit TYcyV6KStnmaQeDj Author: claudio Date: 2025/03/26 15:28:13 This file does not need stdio.h usr.sbin/bgpd/config.c commit lnADEv6b52oruRRo Author: deraadt Date: 2025/03/26 15:17:04 sync distrib/sets/lists/man/mi commit BUBER3HaA55i3p4o Author: stsp Date: 2025/03/26 13:57:35 fix crash with ifp->if_linkstatetask NULL pointer during ice(4) attachment My earlier fix for ice(4) device attachment crashes was imperfect. We must ensure that ifattach() gets called before if_link_state_change(), such that ifp->if_linkstatetask gets set beforehand. This crash could be triggered by having multiple ice(4) interfaces and making ice_attach_hook() sleep somehow. Which will always happen as soon as we try loading firmware. sys/dev/pci/if_ice.c commit chvjOTB7C16J9XzR Author: schwarze Date: 2025/03/26 09:51:08 some wording tweaks for precision and conciseness; triggered by a question from Martin Schroeder ; tweaks and OK jmc@, OK danj@, and OK sthen@ on an earlier version share/man/man5/changelist.5