OpenBSD/src fkwmR05sys/arch/arm64/arm64 intr.c

   move atomic.h include a bit down to match what matthieu committed
VersionDeltaFile
1.39+2-2sys/arch/arm64/arm64/intr.c
+2-21 files

OpenBSD/src PEIy3Amsys/kern vfs_syscalls.c sys_generic.c

   If a fd came from libc doing the __pledge_open(2) system call, do not
   allow write(2), chmod(2), chflags(2), chown(2), ftruncate(2), or fdpassing.
   pledge_open(2) is an unexported interface that libc will use (soon) to
   open 2 devices (null and tty), about 9 files (based upon pledge promises),
   and files within the zoneinfo directory.  This works because libc only
   reads from those fd.  Currently those files are openable by non-libc code,
   but soon only static libc code will be able to do those opens.
   This does not transition libc to using the new system call, yet.
   Based upon long discussions with david leadbeater and beck.
VersionDeltaFile
1.380+12-1sys/kern/vfs_syscalls.c
1.161+5-1sys/kern/sys_generic.c
1.222+4-1sys/kern/uipc_usrreq.c
+21-33 files

OpenBSD/src gTTp5CSsys/dev/pci/drm drm_linux.c

   use ida_alloc_range() for ida_alloc_min() and ida_alloc_max()
   corrects ida_alloc_max() range end
VersionDeltaFile
1.132+3-3sys/dev/pci/drm/drm_linux.c
+3-31 files

OpenBSD/src k3dDr4Esys/dev/pci/drm drm_linux.c

   The range end argument of idr_alloc() is exclusionary.  Don't try to
   insert into the idr tree with an id value matching the end.
VersionDeltaFile
1.131+3-6sys/dev/pci/drm/drm_linux.c
+3-61 files

OpenBSD/src vy6thrEsys/dev/pci/drm drm_linux.c

   unifdef unused idr random path
VersionDeltaFile
1.130+4-10sys/dev/pci/drm/drm_linux.c
+4-101 files

OpenBSD/src yDzNbQSsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux idr.h

   remove unused ida_simple* which no longer exist in linux
VersionDeltaFile
1.129+1-14sys/dev/pci/drm/drm_linux.c
1.8+1-3sys/dev/pci/drm/include/linux/idr.h
+2-172 files

OpenBSD/src 7jTFVgmsys/arch/alpha/alpha pmap.c

   no need to include both sys/atomic.h and machine/atomic.h
VersionDeltaFile
1.97+1-2sys/arch/alpha/alpha/pmap.c
+1-21 files

OpenBSD/src 3kgdfLnsys/arch/macppc/dev macintr.c

   include sys/atomic.h for atomic_inc_int()
VersionDeltaFile
1.59+2-2sys/arch/macppc/dev/macintr.c
+2-21 files

OpenBSD/src 1RIOffhsys/arch/arm64/arm64 intr.c

   Add missing sys/atomic.h
VersionDeltaFile
1.38+2-1sys/arch/arm64/arm64/intr.c
+2-11 files

OpenBSD/src 7qCVsP7sys/arch/armv7/armv7 intr.c

   Add missing sys/atomic.h. ok miod@
VersionDeltaFile
1.29+2-1sys/arch/armv7/armv7/intr.c
+2-11 files

OpenBSD/src qRcdCJ9usr.bin/dig host.c nslookup.c

   Fix pledge/unveil issues relating to manual opening of /etc/resolv.conf
   uncovered by david leadbeater and florian, and later on also by sthen
VersionDeltaFile
1.19+7-5usr.bin/dig/host.c
1.14+7-5usr.bin/dig/nslookup.c
+14-102 files

OpenBSD/src Bxb6ggJregress/usr.bin/calendar Makefile

   calendar -a uses different pledge, add test for that.
VersionDeltaFile
1.5+9-9regress/usr.bin/calendar/Makefile
+9-91 files

OpenBSD/src IJhlXF8sys/arch/alpha/alpha trap.c, sys/arch/amd64/amd64 trap.c

   use atomic_inc_int() on more fields in uvmexp
VersionDeltaFile
1.129+9-9sys/arch/sparc64/sparc64/trap.c
1.56+7-7sys/arch/powerpc64/powerpc64/trap.c
1.118+6-6sys/arch/amd64/amd64/trap.c
1.141+6-6sys/arch/m88k/m88k/trap.c
1.113+5-5sys/arch/alpha/alpha/trap.c
1.77+5-5sys/arch/i386/isa/npx.c
+38-3822 files not shown
+98-9828 files

OpenBSD/src i6siHGqsys/uvm uvmexp.h

   mark a few more (MD incremented) fields in uvmexp as [a] atomic
VersionDeltaFile
1.27+6-6sys/uvm/uvmexp.h
+6-61 files

OpenBSD/src 9oSYt8Qsys/kern kern_pledge.c

   typo
VersionDeltaFile
1.342+2-2sys/kern/kern_pledge.c
+2-21 files

OpenBSD/src 33GOtNCsys/kern init_sysent.c syscalls.c, sys/sys syscallargs.h syscall.h

   sync
VersionDeltaFile
1.287+8-1sys/sys/syscallargs.h
1.284+4-2sys/sys/syscall.h
1.289+3-3sys/kern/init_sysent.c
1.286+2-2sys/kern/syscalls.c
+17-84 files

OpenBSD/src Rl4raC2sys/kern vfs_syscalls.c kern_pledge.c, sys/sys namei.h filedesc.h

   Introduce __pledge_open(2) system call which is pretty much the same as
   open(2), except libc will use it to differentiate certain well-controlled
   pathnames which follow special rules in pledge and can be accessed even
   when "rpath" or unveil(2) don't allow so.
   The kernel gets the system call BEFORE libc starts using it; soon there
   will be more commits which will require at least this kernel.
   Long discusions with david leadbeater and and beck
VersionDeltaFile
1.379+25-6sys/kern/vfs_syscalls.c
1.51+8-7sys/sys/namei.h
1.341+8-1sys/kern/kern_pledge.c
1.271+3-2sys/kern/syscalls.master
1.49+3-2sys/sys/filedesc.h
1.213+3-2sys/kern/kern_descrip.c
+50-206 files

OpenBSD/src LBLNpsFdistrib/syspatch diff.sh

   exclude cache-* instead of cache-4 which is not at version 7 and can be
   changed anytime
VersionDeltaFile
1.8+2-2distrib/syspatch/diff.sh
+2-21 files

OpenBSD/src 3R32VgQusr.sbin/relayd relay_http.c

   Move HTTP start-line logic to a dedicated function

   This is a structural refactoring with no functional change.

   OK kirill
VersionDeltaFile
1.94+129-132usr.sbin/relayd/relay_http.c
+129-1321 files

OpenBSD/src Et1h1FJshare/zoneinfo/datfiles northamerica zone.tab

   As a temporary hack, model the timezone change for America/Vancouver
   as occurring on 2026-11-01 02:00, not on 2026-03-09.  This allows
   for a transition period where America/Vancouver still shows as PDT.

   It also replaces "-07" with "MST" post-transition until such time
   as a better abbreviation is chosen.
VersionDeltaFile
1.91+22-9share/zoneinfo/datfiles/northamerica
1.80+2-2share/zoneinfo/datfiles/zone.tab
1.33+2-2share/zoneinfo/datfiles/zone1970.tab
1.7+2-2share/zoneinfo/datfiles/zonenow.tab
+28-154 files

OpenBSD/src OYlDXPbusr.bin/ssh ssh-agent.c

   With it's own daemonization / fd cleaning code, ssh-agent opens /dev/null
   O_RDWR after a pledge without "wpath".  This is allowed in current pledge
   because "/dev/null" is implicitly allowed to be opened even with the most
   restrictive pledges or unveils.  This is a design decision in pledge made
   at the very beginning, to satisfy libc requirements.  We've finally had
   enough experience and know how to fix that in the near-future, but need
   to review and fix all code which opens these implicit paths.
   The fix is to add "wpath", so that "/dev/null" can be opened O_RDWR.
   But that is uncomfortable, so we add unveil() allowing "/" with "r",
   4 unveil "x" for the potential askpass and helpers to be execve'd,
   and "/dev/null" with "wr".  As a result filesystem access is substantially
   more restricted than before, and ssh-agent is ready for the future pledge
   change.
   ok djm dtucker
VersionDeltaFile
1.321+20-2usr.bin/ssh/ssh-agent.c
+20-21 files

OpenBSD/src 84KZmIKusr.bin/ssh ssh-sk-client.c

   Stop doing access() before execve().  It is a TOCTOU, but also it
   forces use of unveil "rx" instead of "x".
   This is done by using a pipe() through the fork+execve attempt to
   expose execve failure and create the same error return as the access()
   used to do.
   ok djm dtucker
VersionDeltaFile
1.15+31-11usr.bin/ssh/ssh-sk-client.c
+31-111 files

OpenBSD/src nXXbcRxusr.bin/chpass Makefile, usr.bin/passwd Makefile

   Use the (no YP, non-threaded) cleaned up copy of getpwent.c placed into
   usr.bin/chpass instead of reaching around into libc and using crazy cpp
   options.
   In the near future the libc version will have more substantial changes
   (intersecting with pledge and unveil) which are much more difficult to
   manage using cpp features, so we stop this reacharound into libc subtree.
VersionDeltaFile
1.43+2-8usr.bin/passwd/Makefile
1.17+2-7usr.bin/chpass/Makefile
+4-152 files

OpenBSD/src Hlb67a0usr.bin/chpass getpwent.c

   Remove #ifdef's relating to YP and threading, and directives for symbol
   visibility when compiled inside the libc environment.
VersionDeltaFile
1.2+3-592usr.bin/chpass/getpwent.c
+3-5921 files

OpenBSD/src xLqS7T8usr.bin/chpass getpwent.c

   Verbatim copy of /usr/src/lib/libc/gen/getpwent.c to here, which will
   be cleaned up for local purposes in the next steps.
VersionDeltaFile
1.1+1,028-0usr.bin/chpass/getpwent.c
+1,028-01 files

OpenBSD/src 7SecoNTlib/libz inflate.c

   zlib: add missing cast to reduce diff between userland and kernel
VersionDeltaFile
1.24+1-1lib/libz/inflate.c
+1-11 files

OpenBSD/src 4FgysZZlib/libz inflate.c

   zlib: avoid double assignment to strm->msg

   harmless merge error from

   commit 4480ad49db70b6d2b90da94cc0d4755aace8a632
   Author: tb <tb at openbsd.org>
   Date:   Sun Jun 30 05:16:17 2024 +0000

       cast string literals with z_const char *

       from upstream 2ba25b2ddab9aa939c321d087fcfca573a9cca55
VersionDeltaFile
1.23+0-1lib/libz/inflate.c
+0-11 files

OpenBSD/src 0uuKtlasys/lib/libz deflate.c deflate.h

   zlib: sync with userland
VersionDeltaFile
1.23+14-5sys/lib/libz/deflate.c
1.14+3-0sys/lib/libz/deflate.h
+17-52 files

OpenBSD/src xeDtTw9lib/libz deflate.c deflate.h

   zlib: fix heap info leak in deflateCopy (ZLB-01-005)

   commit 84045903ee415efbfaf6d3d443224c2f3a1daea0
   Author: Mark Adler <git at madler.net>
   Date:   Sat Jan 10 21:34:20 2026 -0800

       Copy only the initialized deflate state in deflateCopy.

       To avoid the propagation and possible disclosure of uninitialized
       memory contents.
VersionDeltaFile
1.30+14-5lib/libz/deflate.c
1.20+3-0lib/libz/deflate.h
+17-52 files

OpenBSD/src uDx7qL6sys/dev/usb uplcom.c

   Add support for more line speeds.

   ok deraadt@
VersionDeltaFile
1.82+65-2sys/dev/usb/uplcom.c
+65-21 files