OpenBSD/src VNdaVPwusr.bin/kdump kdump.c

   Decode __pledge_open() same as open()
   pointed out by guenther
VersionDeltaFile
1.166+2-1usr.bin/kdump/kdump.c
+2-11 files

OpenBSD/src 39Fc3H1lib/libc/sys open.2

   document __pledge_open; ok sthen beck guenther
VersionDeltaFile
1.53+16-2lib/libc/sys/open.2
+16-21 files

OpenBSD/src 86u8zwTsys/dev/pci if_iwx.c

   fix "unsupported STA_CONFIG_CMD version 99" errors on iwx(4) MA devices

   reported to me by "as400" on mastodon
VersionDeltaFile
1.223+2-1sys/dev/pci/if_iwx.c
+2-11 files

OpenBSD/src nUYI35Xsys/kern uipc_syscalls.c

   whitespace
VersionDeltaFile
1.227+1-2sys/kern/uipc_syscalls.c
+1-21 files

OpenBSD/src ekRCarnlib/libc/sys pledge.2

   change 'Deprecated' to 'No longer available' for tmppath pledge
   ok deraadt
VersionDeltaFile
1.77+3-3lib/libc/sys/pledge.2
+3-31 files

OpenBSD/src sOzqb5xusr.sbin/vmd vmm.c

   Fix vmd(8) pledge violation when opening /dev/null.

   The "vmm" process responsible for vm process creation uses /dev/null
   for std{in,out,err} if running daemonized. Where it was opening
   /dev/null is no longer supported by its current set of pledges.
   Instead of expanding pledge scope, open /dev/null early prior to
   unveil(2) and reuse the same file descriptor if needed.

   This resolves the pledge violation reported by Nikita Kandinov and
   removes the need to call open(2) for every created vm.

   ok deraadt@, bluhm@
VersionDeltaFile
1.136+19-9usr.sbin/vmd/vmm.c
+19-91 files

OpenBSD/src kknANHasys/uvm uvm_pager.c

   Adjust comment to reflect reality.
VersionDeltaFile
1.97+2-2sys/uvm/uvm_pager.c
+2-21 files

OpenBSD/src v5ZpUOYsys/dev/pci/drm/ttm ttm_tt.c

   unstub ttm_tt_swapout()

   kettenis now sees this called in the amdgpu hibernate path with GC 11.0.1.
   I've seen it called when running piglit on vega 10.

   feedback and ok kettenis@, who had almost the same diff
VersionDeltaFile
1.25+17-8sys/dev/pci/drm/ttm/ttm_tt.c
+17-81 files

OpenBSD/src vzh2eAnlib/libfuse fuse_opt.3

   Add description of the valid return values for the fuse_opt_proc_t callback
   function that is passed to fuse_opt_parse(3).

   OK claudio@
VersionDeltaFile
1.9+10-1lib/libfuse/fuse_opt.3
+10-11 files

OpenBSD/src mrRlQe6usr.bin/openssl openssl.1

   openssl.1: remove mention of OPENSSL_EC_BIN_PT_COMP

   The need for this compile time option enabling point compression for
   binary curves despite patent issues has been removed in openssl 1.0.0
   (released in 2010).

   [It's really difficult to count the number of bad ideas in the above.]
VersionDeltaFile
1.170+2-16usr.bin/openssl/openssl.1
+2-161 files

OpenBSD/src 9eHYcjTsys/net fq_codel.c

   plug a memory leak when detaching codel ifq disciplines on an interface.

   fqcodel_alloc() takes (moves) ownership of memory allocated as part
   of the pf queue code that sets up the queue discipline, but nothing
   releases it when the discipline is removed from the interface. every
   time you load a pf rulese that uses codel, it temporarily resets
   an interface to priq before creating and attaching new codel
   instances. this means every ruleset load would leak memory, to the
   point where M_DEVBUF allocations exhaust the kernel map.

   this has fqcodel_free() call fqcodel_pf_free to free the now unused
   codel discipline.

   found and fixed by lexi wilson
VersionDeltaFile
1.20+2-2sys/net/fq_codel.c
+2-21 files

OpenBSD/src qLddahqsys/dev/pci if_iavf.c

   iavf(4) can do 64 bit DMA also at bus_dmamem_alloc().

   from Brad Smith; tested by Hrvoje Popovski
VersionDeltaFile
1.28+2-2sys/dev/pci/if_iavf.c
+2-21 files

OpenBSD/src IjoVtgzsys/dev/pci if_vmx.c

   vmx(4) can handle 64 bit DMA transfers.

   from Brad Smith; tested by Hrvoje Popovski
VersionDeltaFile
1.95+10-6sys/dev/pci/if_vmx.c
+10-61 files

OpenBSD/src me0CjzRsys/arch/amd64/amd64 hibernate_machdep.c, sys/arch/i386/i386 hibernate_machdep.c

   Fix a longstanding off-by-one error in hibernate unpack.

   Last year, I made a commit to early-allocate the hibernate data structure
   needed during actual hibernate instead of triyng to allocate it at the
   time of 'ZZZ'. This change exposed an old bug that caused machines to
   be unstable after unhibernate (typically manifesting in pool corruption
   or other difficult to track down bugs).

   The error was due to skipping a page of memory immediately adjacent to
   the hibernate piglet during unpack, effectively leaving that page with
   whatever content it had before image unpack started. If you got lucky, this
   page wasn't in use and you didn't notice anything. But with the fix to do
   early allocation, the chance that the page was in use increased, and
   thus the bug was exposed.

   Big thank you to Walter Alejandro Iglesias for tracking this down and
   providing the diff/root cause.


    [5 lines not shown]
VersionDeltaFile
1.53+2-2sys/arch/amd64/amd64/hibernate_machdep.c
1.63+2-2sys/arch/i386/i386/hibernate_machdep.c
1.9+2-2sys/arch/loongson/loongson/hibernate_machdep.c
+6-63 files

OpenBSD/src i6PZgBRsys/dev/pci if_iwx.c

   Fix Tx performance on iwx(4) BZ devices.

   BZ devices need to be told how long the MAC header is in the offload_assist
   field of the Tx command, even if no offloading features are being used.

   Found by chance while browsing iwlwifi driver git logs.
   See linux.git commit af8bfc7e38a7ad4f8e1663de7ab1463e644050b2
VersionDeltaFile
1.222+3-1sys/dev/pci/if_iwx.c
+3-11 files

OpenBSD/src 2e46eM2sys/dev/pci pcidevs.h pcidevs_data.h

   regen
VersionDeltaFile
1.2120+2-2sys/dev/pci/pcidevs.h
1.2115+2-2sys/dev/pci/pcidevs_data.h
+4-42 files

OpenBSD/src wRCdFuSsys/dev/pci if_ixv.c pcidevs

   ixv(4) prints VF for virtual function and mac address during attach.

   from Hrvoje Popovski and Yuichiro NAITO
VersionDeltaFile
1.3+3-3sys/dev/pci/if_ixv.c
1.2127+2-2sys/dev/pci/pcidevs
+5-52 files

OpenBSD/src iYYXgt7sys/kern kern_pledge.c

   When pledged, if a process receives a bad descriptor the receiver should
   not be killed.  The EPERM approach used for other conditions is good enough.
   from deraadt@; Report from Henry Ford

   this is errata/7.7/028_recvfd.patch.sig
VersionDeltaFile
1.323.4.4+2-2sys/kern/kern_pledge.c
+2-21 files

OpenBSD/src 7MYiqGPsys/kern kern_pledge.c

   When pledged, if a process receives a bad descriptor the receiver should
   not be killed.  The EPERM approach used for other conditions is good enough.
   from deraadt@; Report from Henry Ford

   this is errata/7.8/022_recvfd.patch.sig
VersionDeltaFile
1.333.2.3+2-2sys/kern/kern_pledge.c
+2-21 files

OpenBSD/src 9W0Imhesys/dev/pci pcidevs.h pcidevs_data.h

   regen
VersionDeltaFile
1.2119+2-2sys/dev/pci/pcidevs.h
1.2114+2-2sys/dev/pci/pcidevs_data.h
+4-42 files

OpenBSD/src 9IXjGtrsys/dev/pci pcidevs

   Intel 0x7740 can be either wifi 6e or wifi 7 devices.

   Change "Intel WiFi 6e AX211" to "Intel WiFi AX211" to avoid confusion.
VersionDeltaFile
1.2126+2-2sys/dev/pci/pcidevs
+2-21 files

OpenBSD/src GxI5byOsys/dev/pci if_iwx.c

   Make iwx(4) only attach to BZ devices which have RF type GF (wifi 6e).

   PCI vendor/product IDs can be shared between Intel wifi 6e and wifi 7 devices.
   Wifi 7 devices need different firmware and probably a new driver.
   Avoid matching them.

   Bad match on a wifi 7 device reported by Jesper Wallin.
VersionDeltaFile
1.221+33-2sys/dev/pci/if_iwx.c
+33-21 files

OpenBSD/src 8nwKOfcsbin/pfctl pfctl.c

   pfctl(8) parser must not ignore error from pfctl_optimize_ruleset().
   Ignoring the error may cause pfctl(8) to load inconsistent ruleset
   preventing pf(4) to enforce desired policy.

   Issue reported and fix suggested by berts _from_ fastmail _dot_ com

   'Looks good.' @deraadt
VersionDeltaFile
1.401+3-3sbin/pfctl/pfctl.c
+3-31 files

OpenBSD/src 40MGh62sys/dev/pci if_iwx.c if_iwxreg.h

   sync iwx(4) RX descriptor status field with firmware layout

   Same change was made in iwlwifi about 6 years ago.
   See linux.git commit e365e7de63e5b612d94fb433e38d9414de811f7d

   This matters to us now that we started looking at Rx status bits
   beyond 16 bits in order to check for duplicate subframes in A-MPDUs.

   Found by Coverity (CID 1670294)
   pointed out by and ok jsg@
VersionDeltaFile
1.220+6-6sys/dev/pci/if_iwx.c
1.73+2-4sys/dev/pci/if_iwxreg.h
+8-102 files

OpenBSD/src Tu56LZ9sys/dev/pci if_iwx.c

   Fix support for some older iwx(4) devices broken by changes for BZ support.

   Keep hardware revision info sent to firmware intact for older devices.
   BZ devices store parts of hardware revision information in a new place.
   I accidentally changed the information sent to older devices, which broke
   firmware loading on a subset of AX201/AX210 devices.

   Reported to me by several people, thanks!

   This fix is based on a patch by David Leadbeater.
VersionDeltaFile
1.219+9-3sys/dev/pci/if_iwx.c
+9-31 files

OpenBSD/src lJLiT7xusr.bin/xargs xargs.1

   xargs(1): bump posix spec to 2024

   The spec now documents -0 and -r.

   In addition, the spec notes that specifying both -0 and -E are mutually
   exclusive, leaving the actual behavior unspecified.

   ok deraadt@, guenther@ on the spec version bump
   ok millert@ on documenting the interaction between -0 and -E
VersionDeltaFile
1.30+8-7usr.bin/xargs/xargs.1
+8-71 files

OpenBSD/src PPKsQFMregress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779 regress: explain where the range comes from
VersionDeltaFile
1.12+5-1regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+5-11 files

OpenBSD/src r11mBN0regress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779 regress: add an actual range

   This improves the test coverage of make_addressRange() where there is an
   annoyance with unused bits in the RFC 3779 ASN.1 encoding versus trailing
   ones in the network encoding that the X509v3_addr_add_range() API expects.
VersionDeltaFile
1.11+52-1regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+52-11 files

OpenBSD/src sCQVXSTsys/kern kern_pledge.c

   When pledged, if a process receives a bad descriptor the receiver should
   not be killed.  The EPERM approach used for other conditions is good enough.
   Report from Henry Ford
   this will be errata 7.8/022_recvfd.patch and 7.7/028_recvfd.patch
VersionDeltaFile
1.347+2-2sys/kern/kern_pledge.c
+2-21 files

OpenBSD/src qvsTTSSsys/dev/pci/drm/scheduler sched_main.c

   drm/sched: Fix kernel-doc warning for drm_sched_job_done()

   From Yujie Liu
   da09dfc90cb7ed1ab40d675234382f151eeb0563 in linux-6.18.y/6.18.17
   61ded1083b264ff67ca8c2de822c66b6febaf9a8 in mainline linux
VersionDeltaFile
1.16+1-0sys/dev/pci/drm/scheduler/sched_main.c
+1-01 files