OpenBSD/src ZRRd5EIsbin/disklabel disklabel.8 editor.c

   auto-partitioning of /usr/obj has become a bit small on at least
   amd64, where there's no room for the entire build and a few manual
   debugging library builds.  grow it for future system installs
   ok otto
VersionDeltaFile
1.158+3-3sbin/disklabel/disklabel.8
1.428+2-2sbin/disklabel/editor.c
+5-52 files

OpenBSD/src sYU2Iyiusr.bin/sndiod dev.c sndiod.8

   sndiod: Enable recording and monitoring at the same time

   If both recording and monitoring are selected (ex. -m play,rec,mon),
   then the clients get a mix of what programs play and what the audio
   interface records.
VersionDeltaFile
1.132+26-14usr.bin/sndiod/dev.c
1.20+3-4usr.bin/sndiod/sndiod.8
1.53+3-2usr.bin/sndiod/dev.h
+32-203 files

OpenBSD/src WGKtBotusr.bin/sndiod dev.c

   sndiod: Mostly style change of dev_sub_bcopy()

   Calculate cmap_do() arguments near the cmap_do() call. Makes the code
   slightly more readable and easier to modify.

   No behaviour change.
VersionDeltaFile
1.131+13-13usr.bin/sndiod/dev.c
+13-131 files

OpenBSD/src W8jFvmTusr.bin/aucat aucat.c

   aucat: Drop variables used only once or not used at all
VersionDeltaFile
1.187+17-31usr.bin/aucat/aucat.c
+17-311 files

OpenBSD/src 8dJRhMCusr.bin/aucat aucat.c dsp.c

   aucat: Factor the code to join/expand channels as in sndiod
VersionDeltaFile
1.186+7-63usr.bin/aucat/aucat.c
1.22+46-6usr.bin/aucat/dsp.c
1.14+5-4usr.bin/aucat/dsp.h
+58-733 files

OpenBSD/src hu8lGRLusr.bin/sndiod dev.c dsp.c

   sndiod: Factor the code to join/expand channels

   Move the join/expand logic to the cmap structure which is used by
   both playback and recording code-paths.
VersionDeltaFile
1.130+12-60usr.bin/sndiod/dev.c
1.23+46-6usr.bin/sndiod/dsp.c
1.16+5-4usr.bin/sndiod/dsp.h
1.52+1-3usr.bin/sndiod/dev.h
+64-734 files

OpenBSD/src dGlHrsqsys/arch/amd64/amd64 acpi_machdep.c

   Apparently we shouldn't touch the RTC before restarting the i8254 clock
   when coming out of S3 suspend.  This makes the x250 lock up.

   ok jsg@, deraadt@
VersionDeltaFile
1.114+5-4sys/arch/amd64/amd64/acpi_machdep.c
+5-41 files

OpenBSD/src tQJ1I6nsys/dev/pci/drm/amd/amdgpu amdgpu_drv.c

   Make some fixes to the amdgpu(4) activate function to better reflect
   what Linux does for suspend/hibernate/resume.  In particular, set the
   in_s4 member earlier, remove some duplicated code that now gets called
   as part of amdgpu_pmops_suspend() and call amdgpu_pmops_complete() at
   the end of a resume/restore.

   ok jsg@
VersionDeltaFile
1.67+11-12sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
+11-121 files

OpenBSD/src 4WLovySusr.bin/aucat aucat.c

   aucat: When printing {start,end}pos with "%lld", cast them to long long
VersionDeltaFile
1.185+2-2usr.bin/aucat/aucat.c
+2-21 files

OpenBSD/src RsEdWXfusr.bin/sndiod dev.c

   sndiod: Fix calls to enc_sil_do() with uninitialized argument

   If the encoding is native the conv structure is uninitialized and
   memset() must be used instead.
VersionDeltaFile
1.129+5-2usr.bin/sndiod/dev.c
+5-21 files

OpenBSD/src 1wgQQu1lib/libsndio aucat.c

   libsndio: Simplify cookie handling

   Simple asnprintf(3) calls can replace the "clever" malloc(3) and
   memcpy(3) calls that are much harder to review.

   ok armani, deraadt
VersionDeltaFile
1.82+9-27lib/libsndio/aucat.c
+9-271 files

OpenBSD/src 4uCdWoIlib/libsndio amsg.h, usr.bin/sndiod listen.c sndiod.c

   sndiod: Simplify unix socket binding code

   Use sizeof(sockaddr_un->sun_path) instead of the complicated
   calculation of the max socket path length.

   Use the socket's address family to determine if this is an Unix
   socket: no need to store the path, allocate memory for it, then
   remember to free it.

   ok armani@
VersionDeltaFile
1.17+54-15usr.bin/sndiod/listen.c
1.53+2-34usr.bin/sndiod/sndiod.c
1.18+2-14lib/libsndio/amsg.h
1.4+2-3usr.bin/sndiod/listen.h
+60-664 files

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