OpenBSD/src 11RbsOPsys/dev/pci if_ix.c

   ix(4) and ixv(4) can handle 64 bit DMA transfers.

   prodded by Brad Smith; tested by Hrvoje Popovski; OK kettenis@
VersionDeltaFile
1.223+9-9sys/dev/pci/if_ix.c
+9-91 files

OpenBSD/src dD9nIMvsys/dev/acpi acpidmar.c

   Reserve the first MB of the DVA address space because qwx(4) doesn't
   succeed in doing DMA when the DVA is 0x1000 and PCI-PCI bridges may not
   forward address in part of that first MB as well.

   ok chris@
VersionDeltaFile
1.11+12-2sys/dev/acpi/acpidmar.c
+12-21 files

OpenBSD/src e9zQnduusr.sbin/httpd server_http.c

   Error out  on presence of Content-Length and Transfer-Encoding headers
   for GET, HEAD and other methods that should have no body.

   Ignoring the Content-Length header makes httpd vulnerable to
   HTTP request smuggling. A crafted GET request may embed an extra
   HTTP request which could bypass a proxy or WAF but then is handled
   by httpd.

   Remove the special case for TRACE and CONNECT in the Content-Length
   handling. Move those checks into the method switch at the end of the
   header parsing phase and by that also cover more methods including
   GET and HEAD. If either header is present simply abort the connection,
   nobody should send extra data along GET and HEAD requests.

   Add an an explicit HTTP_METHOD_TRACE case above the default case
   to indicated that we deliberately don't handle TRACE requests.

   This security vulnerability was found by Nicola Staller of SySS GmbH.

   With and OK rsadowski@ previous version also OK florian@
VersionDeltaFile
1.159+15-11usr.sbin/httpd/server_http.c
+15-111 files

OpenBSD/src eCK9N4nsys/dev/ic re.c

   Fix checking of of RL_FLAG_PCIE and accidental clobbering of sc->rl_flags

   confirmed by sthen and kettenis@ "please apply that fix"
VersionDeltaFile
1.222+2-2sys/dev/ic/re.c
+2-21 files

OpenBSD/src pqceev0sbin/unwind parse.y

   enable forced resolvers that aren't in a preference block

   allows a config such as:

       preference { autoconf }
       forwarder { 127.0.0.1 port 5300 }
       force forwarder { local }

   also fix a typo while i'm here

   ok florian
VersionDeltaFile
1.32+3-2sbin/unwind/parse.y
+3-21 files

OpenBSD/src cKjhDWmregress/sys/uvm/mmap_hint mmap_hint.c

   regress/mmap: Test hints in VM-area edge cases

   Test mmap(2) with hint above VM_MAXUSER_ADDRESS without MAP_FIXED.
   This tests uvm_map.c,v 1.355.

   Also test the lower boundary below PAGE_SIZE.

   ok kettenis@
VersionDeltaFile
1.7+13-2regress/sys/uvm/mmap_hint/mmap_hint.c
+13-21 files

OpenBSD/src jGT51xGusr.bin/tmux input.c

   Do not free buffer after adding to paste (since it now owns it).
VersionDeltaFile
1.253+1-2usr.bin/tmux/input.c
+1-21 files

OpenBSD/src dQzixpwsys/dev/ic re.c

   Enable 64-bit DMA transfers on the PCIe variants of re(4) cards.

   ok kettenis
VersionDeltaFile
1.221+9-7sys/dev/ic/re.c
+9-71 files

OpenBSD/src vhzipJqlib/libc/sys pledge.2

   Improve the discussion about "tmppath"
   feedback from various people based upon my first attempts.
VersionDeltaFile
1.76+10-7lib/libc/sys/pledge.2
+10-71 files

OpenBSD/src 2277yDAlib/libc/sys pledge.2, sys/kern kern_pledge.c

   pledge "tmppath" goes away because it sucks.  The history is kind of
   sad:  unveil(2) was invented by Bob Beck and myself because a couple
   of us struggled and couldn't expand the "tmppath" mechanism to general use.
   unveil(2) ended up being kind of "upside down" different, and so we never
   deleted "tmppath" because the refactorings seemed complicated.
   However over the last two weeks, we're removed all the "tmppath" in base
   pretty easily, and the 18 ports using it have also been fixed.
   The majority of situations now use unveil "/tmp" "rwc", unveil "/" "r" or
   similar, and then pledge "rpath wpath cpath", and this is generally needed
   to satisfy the mkstemp(3) family of functions in libc.
   Use of "tmppath" will now cause pledge(2) to return EINVAL.  There is
   no backwards compatible way of mimic the behaviour correctly using
   kernel-internal unveil hackery.
   Prompted by a report from David Leadbeater; and extensive conversations
   with beck and semarie.
VersionDeltaFile
1.337+4-24sys/kern/kern_pledge.c
1.75+16-3lib/libc/sys/pledge.2
1.53+1-3sys/sys/pledge.h
+21-303 files

OpenBSD/src tJNxVhPusr.sbin/rad rad.conf.5 rad.h

   Update various lifetimes.

   This raises the router, dns and nat64 lifetimes from 30 minutes to 60
   minutes and lowers the prefix valid lifetime from 90 minutes to 60
   minutes.

   This brings us in line with the values of draft-ietf-6man-slaac-renum
   which is going to be published soon.

   Aligning all these lifetimes to a single value (60 minutes) makes
   sense because the information is transmitted in one router
   advertisement packet. It does not make sense for one piece of
   information to time out before another.

   OK phessler
VersionDeltaFile
1.36+6-6usr.sbin/rad/rad.conf.5
1.31+3-4usr.sbin/rad/rad.h
1.39+2-2usr.sbin/rad/rad.c
+11-123 files

OpenBSD/src AJzBhwvsys/netinet igmp.c igmp_var.h, sys/netinet6 mld6.c in6.c

   Call igmp_sendpkt() and mld6_sendpkt() with pktinfo argument.

   Gather all information needed to send an IGMP or MLD6 packet in a
   struct pktinfo.  This allows splitting access to multicast data
   structures from sending packets.  Then adding locks to multicast
   will be easier.

   OK mvs@
VersionDeltaFile
1.96+51-32sys/netinet/igmp.c
1.73+54-23sys/netinet6/mld6.c
1.278+28-18sys/netinet6/in6.c
1.17+17-3sys/netinet/igmp_var.h
1.10+16-3sys/netinet6/mld6_var.h
1.193+11-3sys/netinet/in.c
+177-826 files

OpenBSD/src b7PcHW1sys/dev/pci if_ixl.c

   ixl(4) can handle 64 bit DMA transfers.

   OK kettenis@ jmatthew@
VersionDeltaFile
1.116+2-2sys/dev/pci/if_ixl.c
+2-21 files

OpenBSD/src rnNr6cGbin/echo echo.c echo.1

   add -e to process escape sequences and support for multiple groups
   of dash args like ksh's echo does

   ok deraadt millert
VersionDeltaFile
1.12+113-8bin/echo/echo.c
1.25+44-9bin/echo/echo.1
+157-172 files

OpenBSD/src 0mjfDSjsys/dev/pci if_iwx.c if_iwxreg.h

   Add support for scan command version 17 to iwx(4).

   This will be needed to support BZ wifi-6e devices in the future.

   Tested:
   AX200: jmc, stsp
   AX210: kettenis (MA device)
   AX211: sthen (SO device), phessler
   AX211: stsp (BZ device)
VersionDeltaFile
1.200+203-3sys/dev/pci/if_iwx.c
1.59+108-1sys/dev/pci/if_iwxreg.h
+311-42 files

OpenBSD/src EYplkequsr.bin/tmux window-copy.c

   Tweak previous to reset cursor again as well.
VersionDeltaFile
1.390+4-5usr.bin/tmux/window-copy.c
+4-51 files

OpenBSD/src 9Y7IEagusr.bin/tmux window-copy.c

   Preserve scroll state on refresh, from Dane Jensen in GitHub issue 4885.
VersionDeltaFile
1.389+6-1usr.bin/tmux/window-copy.c
+6-11 files

OpenBSD/src AMvHRcGusr.bin/tmux cmd-paste-buffer.c utf8.c

   Pass paste buffer through vis(3) when pasting to prevent buffers
   containing for example the bracket end sequence causing issues. -S flag
   disables. Reported by Mason Davis.
VersionDeltaFile
1.43+27-8usr.bin/tmux/cmd-paste-buffer.c
1.69+6-6usr.bin/tmux/utf8.c
1.1033+7-2usr.bin/tmux/tmux.1
1.1296+4-4usr.bin/tmux/tmux.h
+44-204 files

OpenBSD/src tdzn0jdusr.bin/m4 eval.c mdef.h

   rename a few functions and defines

   also reformat some comments with ludicrously short lines.  No functional
   changes, except the usage of `eval' instead of `expr' in two error message,
   since that's the actual macro name (expr is merely an alias for eval)

   diff from espie, typo from sthen

   ok sthen
VersionDeltaFile
1.81+86-99usr.bin/m4/eval.c
1.35+45-45usr.bin/m4/mdef.h
1.90+34-33usr.bin/m4/main.c
1.26+4-4usr.bin/m4/look.c
1.57+2-2usr.bin/m4/extern.h
1.50+2-2usr.bin/m4/misc.c
+173-1856 files

OpenBSD/src EArhiKCsys/dev/acpi acpidmar.c

   Propagate allocator constraints in the same manner as sparc64 iommu

   ok kettenis@
VersionDeltaFile
1.10+35-1sys/dev/acpi/acpidmar.c
+35-11 files

OpenBSD/src oNOTjdQsys/dev/pci if_igc.c

   igc(4) can handle 64 bit DMA transfers.

   OK kettenis@
VersionDeltaFile
1.31+11-10sys/dev/pci/if_igc.c
+11-101 files

OpenBSD/src nBQ772uusr.bin/mg echo.c

   handle strdup() failure

   initial diff from Han Boetes (hboetes at gmail), reworked to move the
   freeing code under `goto fail' to dedup it a bit.
VersionDeltaFile
1.70+15-10usr.bin/mg/echo.c
+15-101 files

OpenBSD/src BQXKkfYsys/dev/pci if_ice.c

   ice(4) can handle 64 bit DMA transfers.

   OK kettenis@ stsp@
VersionDeltaFile
1.68+4-4sys/dev/pci/if_ice.c
+4-41 files

OpenBSD/src GfLAojGusr.bin/tmux format.c

   Do not expand #() in E: and T:, from Mason Davis.
VersionDeltaFile
1.344+5-3usr.bin/tmux/format.c
+5-31 files

OpenBSD/src IiXwLhMusr.sbin/relayd ca.c

   imsg_composev() / imsgbuf_flush() handle return values

   OK claudio@
VersionDeltaFile
1.47+7-3usr.sbin/relayd/ca.c
+7-31 files

OpenBSD/src n1X30Otusr.bin/tmux cmd-list-keys.c sort.c

   Add sorting (-O flag) and a custom format (-F) to list-keys, from Dane
   Jensen in GitHub issue 4845.
VersionDeltaFile
1.71+156-297usr.bin/tmux/cmd-list-keys.c
1.3+101-2usr.bin/tmux/sort.c
1.15+77-15usr.bin/tmux/cmd-list-commands.c
1.1032+39-11usr.bin/tmux/tmux.1
1.162+14-1usr.bin/tmux/key-bindings.c
1.1295+8-1usr.bin/tmux/tmux.h
+395-3276 files

OpenBSD/src TEF0ac7usr.bin/tmux Makefile

   Add sorting (-O flag) and a custom format (-F) to list-keys, from Dane
   Jensen in GitHub issue 4845.
VersionDeltaFile
1.114+2-1usr.bin/tmux/Makefile
+2-11 files

OpenBSD/src BxI8ODkusr.bin/tmux window-copy.c tmux.1

   Add commands to turn exit on scroll on, off, toggle. From xcdnlgd at
   hotmail dot com in GitHub issue 4884.
VersionDeltaFile
1.388+46-1usr.bin/tmux/window-copy.c
1.1031+14-2usr.bin/tmux/tmux.1
+60-32 files

OpenBSD/src v0UGIn5usr.bin/tmux input.c

   Respond to DECRQM 2026, from David Turnbull in GitHub issue 4887.
VersionDeltaFile
1.252+9-5usr.bin/tmux/input.c
+9-51 files

OpenBSD/src aGwfo7Rusr.sbin/relayd ca.c

   fix memory leak in rsae_send_imsg

   If the cookie doesn't match, we bail with a continue and totally forget to
   free the imsg.

   OK claudio@
VersionDeltaFile
1.46+2-1usr.sbin/relayd/ca.c
+2-11 files