OpenBSD/src yHDcTRKsys/arch/amd64/include vmparam.h

   raise the size of amd64 kernel virtual address space from 4G to 512G

   This allows mapping all of VRAM on recent Radeon cards where the
   PCI BAR size is the full (> 4G) size.

   Reported by Petre Rodan, who has a Radeon RX 6800 with 16G of VRAM.

   feedback from claudio@ ok kettenis@
VersionDeltaFile
1.26+2-2sys/arch/amd64/include/vmparam.h
+2-21 files

OpenBSD/src EVGdCpPsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux iommu.h

   change iommu_map_sgtable() return type from size_t to ssize_t

   Should be signed as error paths return -ENOMEM.  Linux made the same
   change a few years ago.
VersionDeltaFile
1.139+2-2sys/dev/pci/drm/drm_linux.c
1.3+1-1sys/dev/pci/drm/include/linux/iommu.h
+3-32 files

OpenBSD/src U1GHA2isys/netinet ip_id.c ip_input.c

   Do `ip_shuffle' initialization at boot time. ip_randomid() called in the
   hot path so we want to keep it lockless, but avoid access to uninitialized
   data.

   ok deraadt
VersionDeltaFile
1.27+18-21sys/netinet/ip_id.c
1.429+3-1sys/netinet/ip_input.c
1.124+2-1sys/netinet/ip_var.h
+23-233 files

OpenBSD/src dcor7Mrlib/libc/asr gethostnamadr_async.c

   Skip aliases that are not valid hostnames in gethostbyname(3).

   Consider the following CNAME chain:

   chain7.narrans.de.      60      IN      CNAME   chain\007.tlakh.xyz.
   chain\007.tlakh.xyz.    60      IN      CNAME   chain.sha256.net.
   chain.sha256.net.       60      IN      CNAME   sha256.net.
   sha256.net.             60      IN      A       213.239.192.17

   gethostbyname(3) would fail the query when it encounters
   chain\007.tlakh.xyz. and tries to add it to h_aliases member of struct
   hostent because it's not a valid hostname. This in turn would fail the
   whole query.

   With this, resolution succeeds and we get an alias list of
   "chain7.narrans.de chain.sha256.net".

   hostent_add_alias() can no longer fail, so make it void.


    [3 lines not shown]
VersionDeltaFile
1.52+8-11lib/libc/asr/gethostnamadr_async.c
+8-111 files

OpenBSD/src o3EzsZAbin/date date.c

   date: use idiomatic error check for timegm() and mktime() per timegm(3)

   ok deraadt florian
VersionDeltaFile
1.61+3-2bin/date/date.c
+3-21 files

OpenBSD/src DhkSHiMusr.bin/touch touch.c

   touch: improve error check for timegm() and mktime() per timegm(3)

   ok deraadt florian
VersionDeltaFile
1.28+7-4usr.bin/touch/touch.c
+7-41 files

OpenBSD/src JLcoTmlusr.bin/ssh misc.c, usr.sbin/acme-client revokeproc.c

   annotate tm_wday = -1 with /* sentinel for error */ per timegm(3) manpage

   suggested by deraadt
VersionDeltaFile
1.31+3-3usr.sbin/acme-client/revokeproc.c
1.215+3-3usr.bin/ssh/misc.c
1.62+3-3usr.sbin/ntpd/constraint.c
1.82+2-2usr.sbin/httpd/server_file.c
1.133+2-2usr.sbin/rpki-client/x509.c
1.31+2-2usr.sbin/dhcpd/parse.c
+15-156 files

OpenBSD/src BjS7pD4usr.bin/tmux menu.c

   Do not walk off end or beginning of menu item list if every item is
   disabled, GitHub issue 5255 from aizumusheer2 at gmail dot com.
VersionDeltaFile
1.65+4-4usr.bin/tmux/menu.c
+4-41 files

OpenBSD/src UOKdjKplib/libc/time ctime.3

   include a comment in the tm_wday = -1 codesample, since we are
   trying to encourage this to become an idiomatic use pattern.
   Everyone doing this, please copy the comment also.
   ok tb
VersionDeltaFile
1.56+3-3lib/libc/time/ctime.3
+3-31 files

OpenBSD/src faCWUwysys/dev/fdt if_cad.c

   Avoid netlock dance in cad(4) ioctl.

   While interface ioctl(8) is moving towards better parallel access,
   drivers assuming exclusive netlock and unlocking explicitly cause
   trouble.  Use the drivers own configuration lock for protection.
   Do not wait for task barriers while potentially holding the netlock.

   Panic reported by Mark McBride and Thomas Pries.
   Tested by dlg@; OK dlg@ mvs@
VersionDeltaFile
1.17+10-26sys/dev/fdt/if_cad.c
+10-261 files

OpenBSD/src A3czAtasys/sys videoio.h

   sys/videoio.h: sync with Linux

   1. media: v4l2-controls: Add control for background detection
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d801b59633f6af60bb0e18d3bbb18b7b040a6d9

   OK: mglocker@
VersionDeltaFile
1.30+3-1sys/sys/videoio.h
+3-11 files

OpenBSD/src 2NqVnfnlib/libc/time ctime.3

   timegm(3) is in C23

   from Christian Schulte
VersionDeltaFile
1.55+8-5lib/libc/time/ctime.3
+8-51 files

OpenBSD/src XQRK5qLsys/miscfs/fuse fuse_device.c fuse_vnops.c

   Replace all printf with DPRINTF so that kernel messages are only printed
   if the FUSE_DEBUG option is set at compile time. Each debug message on
   the console is prefexed with "fusefs: "

   Remove the useless fuse_dump_buff() function while we are at it.

   ok mlarkin
VersionDeltaFile
1.51+5-56sys/miscfs/fuse/fuse_device.c
1.78+5-8sys/miscfs/fuse/fuse_vnops.c
1.17+7-1sys/miscfs/fuse/fusefs.h
1.51+3-3sys/miscfs/fuse/fuse_vfsops.c
1.26+2-2sys/miscfs/fuse/fuse_lookup.c
1.12+2-2sys/miscfs/fuse/fuse_file.c
+24-726 files

OpenBSD/src ehwYTIssys/dev/pci/drm/radeon radeon_drv.c radeon_fbdev.c

   setup the radeondrm wscons burner task, lost in 6.18 drm changes

   avoids a NULL deref when wscons screen burner is enabled
   reported by al and Philippe on bugs@
VersionDeltaFile
1.23+35-0sys/dev/pci/drm/radeon/radeon_drv.c
1.6+0-33sys/dev/pci/drm/radeon/radeon_fbdev.c
+35-332 files

OpenBSD/src 9H0he5vusr.sbin/ypbind ypbind.c

   incorrect path checking in ypbindproc_domain_2x
   found by Christian Schwabl
   ok millert
VersionDeltaFile
1.81+2-2usr.sbin/ypbind/ypbind.c
+2-21 files

OpenBSD/src H1SkuoVsys/arch/octeon/conf GENERIC RAMDISK

   sys/octeon: add em to GENERIC and RAMDISK kernels

   OK: visa@
VersionDeltaFile
1.63+4-1sys/arch/octeon/conf/GENERIC
1.48+4-1sys/arch/octeon/conf/RAMDISK
+8-22 files

OpenBSD/src LFg0fOKusr.bin/tmux cmd-list-keys.c

   Error if key is unknown rather than just carry on, GitHub issue 5248.
VersionDeltaFile
1.77+7-2usr.bin/tmux/cmd-list-keys.c
+7-21 files

OpenBSD/src XI7sFrNregress/usr.bin/make Makefile mk44

   check that make rejects empty variable names, from espie
VersionDeltaFile
1.52+7-2regress/usr.bin/make/Makefile
1.1+7-0regress/usr.bin/make/mk44
+14-22 files

OpenBSD/src CvFDPeUusr.bin/tmux tmux.1

   Fix {} keys in tmux.1, pointed out by tb.
VersionDeltaFile
1.1096+8-4usr.bin/tmux/tmux.1
+8-41 files

OpenBSD/src ttlcr48usr.bin/make parsevar.c

   refuse empty variable names, from espie
   has been through multiple mkr and at least one ports bulk
VersionDeltaFile
1.19+3-1usr.bin/make/parsevar.c
+3-11 files

OpenBSD/src SHJZCvJusr.sbin/dhcpd parse.c

   dhcpd: use error check per timegm(3) manpage

   ok florian
VersionDeltaFile
1.30+3-2usr.sbin/dhcpd/parse.c
+3-21 files

OpenBSD/src u8EyxAfusr.sbin/httpd server_file.c

   httpd: error check timegm(3) per the manual

   ok job rsadowski
VersionDeltaFile
1.81+8-3usr.sbin/httpd/server_file.c
+8-31 files

OpenBSD/src VirJnXNsys/kern sysv_msg.c

   Calculate the msg_copyin() `xfer' as min(available space, ...) not
   min(total space, ...). Otherwise we read outside of userland buffer.

   Also, I like to use sizeof(variable) instead of sizeof(type).

   ok cludwig
VersionDeltaFile
1.43+7-6sys/kern/sysv_msg.c
+7-61 files

OpenBSD/src WJ6rpxeusr.bin/tmux popup.c tmux.h

   popup_write can be deleted now also.
VersionDeltaFile
1.73+1-15usr.bin/tmux/popup.c
1.1361+1-2usr.bin/tmux/tmux.h
+2-172 files

OpenBSD/src N0SXCzSusr.bin/tmux spawn.c popup.c

   Use a floating pane for the buffer mode editor instead of a popup.
VersionDeltaFile
1.41+187-10usr.bin/tmux/spawn.c
1.72+9-125usr.bin/tmux/popup.c
1.48+86-3usr.bin/tmux/window-buffer.c
1.1360+9-7usr.bin/tmux/tmux.h
1.343+4-1usr.bin/tmux/window.c
1.212+2-1usr.bin/tmux/server.c
+297-1476 files

OpenBSD/src DlPgiVDusr.bin/tmux window-visible.c

   Do not loop forever if a pane ends up with borders the wrong way round.
VersionDeltaFile
1.2+5-1usr.bin/tmux/window-visible.c
+5-11 files

OpenBSD/src 7kyA1y1usr.bin/tmux mode-tree.c window-tree.c

   Draw help directly instead of using a popup.
VersionDeltaFile
1.85+80-53usr.bin/tmux/mode-tree.c
1.80+13-13usr.bin/tmux/window-tree.c
1.43+10-10usr.bin/tmux/window-client.c
1.20+10-10usr.bin/tmux/window-customize.c
1.47+8-8usr.bin/tmux/window-buffer.c
+121-945 files

OpenBSD/src MMJqij6usr.bin/tmux format.c key-bindings.c

   Add a loop_index variable and use it to show last used 5 sessions on the
   session menu instead of next/previous.
VersionDeltaFile
1.384+17-29usr.bin/tmux/format.c
1.179+5-6usr.bin/tmux/key-bindings.c
1.1095+3-2usr.bin/tmux/tmux.1
+25-373 files

OpenBSD/src mbw74ydusr.bin/tmux cmd-refresh-client.c

   Correctly report theme changes to panes, based on a fix from someone in
   GitHub issue 5246.
VersionDeltaFile
1.52+10-3usr.bin/tmux/cmd-refresh-client.c
+10-31 files

OpenBSD/src QmBCtgUusr.bin/tmux key-bindings.c

   Make default M-C-Up/Down bound to prompt movement commands in copy mode.
VersionDeltaFile
1.178+3-1usr.bin/tmux/key-bindings.c
+3-11 files