OpenBSD/src BXKjEEtsys/dev/ic ufshci.c

   Move the "unhandled interrupt" printf to DPRINTF to avoid a red herring,
   as seen during the arm64 hibernate resume.
VersionDeltaFile
1.48+2-2sys/dev/ic/ufshci.c
+2-21 files

OpenBSD/src 3KACo7Ddistrib/sets/lists/base mi

   sync, libutil major bump
VersionDeltaFile
1.1198+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src DpT6BZIlib/libutil Symbols.map imsg-buffer.c

   Remove imsg_get() and imsg_compose_ibuf() from the imsg API.

   While doing so add the following functions:
   - imsg_add_strbuf
     a wrapper for ibuf_add_strbuf similar to imsg_add it uses the
     imsg namespace. It feels more natural to use imsg_add and
     imsg_add_strbuf to construct messages (mixing imsg_add and ibuf_add_xyz
     seems strange).

   - imsgbuf_get_userdata & imsgbuf_set_userdata
   - imsgbuf_set_close_callback
     These three functions are used to replace the bad imsgev wrappers in
     various deamons. It actually allows one to use the imsg API directly
     in libevent code.

   - msgbuf_readlen
     return how many messages are ready to be processed on a msgbuf.
     This can be used to implement a back pressure mechanism for individual
     msgbuf sockets.

    [2 lines not shown]
VersionDeltaFile
1.44+42-55lib/libutil/imsg.c
1.48+50-23lib/libutil/imsg_init.3
1.25+9-4lib/libutil/imsg.h
1.13+10-2lib/libutil/ibuf_add.3
1.42+7-1lib/libutil/imsg-buffer.c
1.18+5-2lib/libutil/Symbols.map
+123-871 files not shown
+124-887 files

OpenBSD/src tsMnyxAregress/sys/net/pf_state LICENSE README

   Add regression test that uses a crafted TCP reset packet with
   acknowledgment number 0.  pf must not drop the state.
VersionDeltaFile
1.1+84-0regress/sys/net/pf_state/fakeack_rst.py
1.16+6-4regress/sys/net/pf_state/Makefile
1.3+3-0regress/sys/net/pf_state/README
1.3+1-1regress/sys/net/pf_state/LICENSE
+94-54 files

OpenBSD/src JGRxduPsys/dev/fdt qcgpio_fdt.c

   Improve suspend/resume support such that it restores the configuration
   of pins used as interrupts.  Needed for hibernate support on arm64.

   ok deraadt@, jca@, mglocker@
VersionDeltaFile
1.9+20-11sys/dev/fdt/qcgpio_fdt.c
+20-111 files

OpenBSD/src 9uJduVvsys/arch/arm64/stand/efiboot disk.h Makefile

   Add hibernate support for efiboot on arm64.

   ok kettenis@, deraadt@
VersionDeltaFile
1.14+42-1sys/arch/arm64/stand/efiboot/efidev.c
1.5+3-1sys/arch/arm64/stand/efiboot/efidev.h
1.72+3-1sys/arch/arm64/stand/efiboot/efiboot.c
1.4+2-1sys/arch/arm64/stand/efiboot/disk.h
1.24+2-1sys/arch/arm64/stand/efiboot/Makefile
+52-55 files

OpenBSD/src zA5y1Fpdistrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1197+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src RrHkARuregress/lib/libcrypto/free freenull.awk

   freenull.awk: remove special casing of a few functions we removed
VersionDeltaFile
1.5+2-20regress/lib/libcrypto/free/freenull.awk
+2-201 files

OpenBSD/src ovTz3n4lib/libfido2/man fido_cbor_info_new.3, lib/libfido2/src es384.c assert.c

   libfido2: update to 1.17.0

   OK: djm@, deraadt@
VersionDeltaFile
1.6+291-135lib/libfido2/src/cbor.c
1.6+378-19lib/libfido2/src/info.c
1.6+299-67lib/libfido2/src/cred.c
1.7+304-9lib/libfido2/man/fido_cbor_info_new.3
1.6+232-72lib/libfido2/src/assert.c
1.1+296-0lib/libfido2/src/es384.c
+1,800-30283 files not shown
+4,753-95989 files

OpenBSD/src GW3gdp2gnu/llvm/clang/lib/Sema SemaRISCV.cpp, gnu/llvm/llvm/lib/Target/Mips MipsInstrInfo.cpp

   llvm: backport RISC-V and MIPS fixes

   The bit for riscv64 apparently fixes devel/highway and is this:
   https://github.com/llvm/llvm-project/commit/fd6d7a608909dc4ecea57e0155042d16f7b4e61a

   The bit for mips64 apparently fixes MariaDB and GnuAstro:
   https://github.com/llvm/llvm-project/commit/a97f512d71574c0b9adc9bc6216909387499e0e8

   From Brad Smith

   OK: robert@, kettenis@
VersionDeltaFile
1.2+505-112gnu/llvm/clang/lib/Sema/SemaRISCV.cpp
1.2+197-8gnu/llvm/llvm/lib/Target/Mips/MipsInstrInfo.cpp
+702-1202 files

OpenBSD/src cIYoqWWregress/usr.bin/mandoc/tbl/data blankline.out_ascii blankline.in

   Test both types of empty data lines (empty text line and empty request line)
   in both layout contexts (data layout line and horizontal line layout line),
   making sure that tbl_data.c rev. 1.48 handles all code paths in tbl_data()
   correctly.
VersionDeltaFile
1.3+37-5regress/usr.bin/mandoc/tbl/data/blankline.in
1.5+21-4regress/usr.bin/mandoc/tbl/data/blankline.out_ascii
+58-92 files

OpenBSD/src zCiIMuAusr.bin/mandoc tbl_data.c

   When a text line in tbl(7) data is completely empty (""),
   do not access the byte beyond the terminating NUL byte.
   Instead, generate an empty span that contains no data cells,
   optionally preceded by a horizontal line if requested by the layout.

   This buffer overrun reading exactly one byte too far usually had
   no adverse consequences.  No matter the value of the wrongfully read
   byte, the code would correctly continue after the "if" block,
   either (more likely) via failing the p[1] == '\0' condition
   or (less likely) via the default branch of the switch.
   Theoretically, it might segfault on the one-byte access, though.

   Patch from Hippolyte d'Oncieu de la Batie <hippolyte.doncieu at gmail.com>
   who found this bug using clang-14 with libFuzzer and AddressSanitizer.
   Reported via espie@.
   Clarifying source code comment by me.
VersionDeltaFile
1.48+6-2usr.bin/mandoc/tbl_data.c
+6-21 files

OpenBSD/src HxmzpPPsys/net pf.c

   pf(4) is still overly strict in filtering MLD messages

   pf(4) may drop valid Multicast Level Discovery (MLD) packet
   with unspecified source address. According to RFC 3590,
   section 4, Source Selection Guidelines, MLD Report and
   MLD Done messages may be carried by IPv6 datagrams with
   unspecified source address.

   Issue reported and patch kindly submitted
   by Kristof Provost (kp _at_ FreeBSD _dot_ org)

   OK bluhm@
VersionDeltaFile
1.1240+10-2sys/net/pf.c
+10-21 files

OpenBSD/src 6b7BvZbbin/pax pat_rep.c

   pax: Ensure when removing ".." path components extra slashes are also
   removed.

   A specially constructed archive could trick pax into extracting outside
   of the working directory. This also fixes a string ending in a compoment
   of exactly ".." reading one past the NUL.

   ok millert@
VersionDeltaFile
1.46+3-2bin/pax/pat_rep.c
+3-21 files

OpenBSD/src gr2uQeTusr.sbin/lldpd lldpd.c

   don't complain if removing an mcast membership from a detached interface fails
VersionDeltaFile
1.12+5-3usr.sbin/lldpd/lldpd.c
+5-31 files

OpenBSD/src vqr8CsRusr.sbin/lldpd lldpd.c

   add "mcast" to the pledges

   this is so it can take advantage of pledge_sockopt()s newfound
   understanding of the ethernet frame socket options.
VersionDeltaFile
1.11+2-2usr.sbin/lldpd/lldpd.c
+2-21 files

OpenBSD/src TiszQJnsys/kern kern_pledge.c

   improve wording for __pledge_open description
VersionDeltaFile
1.365+3-3sys/kern/kern_pledge.c
+3-31 files

OpenBSD/src 3k1NNcXsys/kern kern_pledge.c

   extend the "mcast" pledge to allow multicast tweaks on ethernet frame sockets.

   this is for lldpd, which wants to receive lldp packets sent to a
   multicast address on interfaces as they attach at runtime, which
   currently isn't allowed by pledge.

   part of a bigger diff that was ok deraadt@
VersionDeltaFile
1.364+15-1sys/kern/kern_pledge.c
+15-11 files

OpenBSD/src LFB3ukCsys/kern uipc_syscalls.c kern_pledge.c, sys/sys pledge.h

   tighten pledge_sockopt()s level/optname checks for different types of sockets

   tl;dr: the meaning of the setsockopt and getsockopt level and optname
   arguments are dependent on the type of the socket you're working
   with, they can't be safely understood without knowing the address
   family and protocol.

   i think we've been able to ignore to socket address family and
   protocol so far by luck, particularly because openbsd (henning)
   removed a bunch of address families like AF_IPX and AF_NETATALK.
   like AF_INET and AF_INET6, they use values from the wire protocol
   as identifiers in the ABI, particularly sub protocol numbers like
   IPPROTO_TCP. there's no guarantee these numbers don't overlap with
   a protocol from another address family. netipx used IPXPROTO_SPX
   like how AF_INET uses IPPROTO_IP, but it's only luck that their
   values don't collide with each other or another protocol. this
   principle applies to all socktypes though.

   this is also reflected in the way sockopts are handled by protocol

    [17 lines not shown]
VersionDeltaFile
1.363+74-25sys/kern/kern_pledge.c
1.229+7-5sys/kern/uipc_syscalls.c
1.54+4-2sys/sys/pledge.h
+85-323 files

OpenBSD/src 9tonc0cusr.sbin/vmd vmd.c

   Compose a new imsg when relaying terminate to vmd(8) control.

   Instead of forwarding the imsg, which was already consumed in the
   parent vmd process, compose a new one to the control process. When
   vmd was refactored to use the new imsg api for consuming the payload
   instead of reading directly from the underlying ibuf, it caused
   proc_forward_imsg() to forward incomplete data.

   Instead of mucking about with the underlying ibuf and rewinding it,
   update the only case of the consume-then-forward pattern to compose
   a new imsg by using proc_compose_imsg().

   Original diff and issue from Nick Owens.
VersionDeltaFile
1.181+3-2usr.sbin/vmd/vmd.c
+3-21 files

OpenBSD/src 7CFGKfXusr.bin/tmux control.c

   Do not attempt to write to control clients which have been destroyed,
   reported by Artur Penttinen in GitHub issue 5570.
VersionDeltaFile
1.67+13-3usr.bin/tmux/control.c
+13-31 files

OpenBSD/src WY8QzjJusr.bin/tmux tmux.1 cmd-new-window.c

   Extend neww -S to work with -t as well as -t, GitHub issue 5571 from
   Mazunki Hoksaas.
VersionDeltaFile
1.104+36-26usr.bin/tmux/cmd-new-window.c
1.1164+13-6usr.bin/tmux/tmux.1
+49-322 files

OpenBSD/src 1uCzxVvusr.bin/ssh ssh.1

   update fingerprint example from RSA to Ed25519 host key
VersionDeltaFile
1.455+3-3usr.bin/ssh/ssh.1
+3-31 files

OpenBSD/src yErI6Kmusr.bin/tmux server-fn.c

   Wait for pane exit status in all cases not just remain-on-exit since
   events need it.
VersionDeltaFile
1.152+3-3usr.bin/tmux/server-fn.c
+3-31 files

OpenBSD/src ImHFJorusr.sbin/rpki-client cms.c

   rpki-client: remove another layer in the cms code

   The cms_parse_validate() -> _internal() split was done for detached
   messages, i.e., geofeed. This has been retired for a while now, and
   won't come back.

   ok claudio
VersionDeltaFile
1.64+6-29usr.sbin/rpki-client/cms.c
+6-291 files

OpenBSD/src rEEm0tKetc rc

   remove now-invalid vendored ssh-mldsa44-ed25519 at openssh.com host keys
   that ssh-keygen -A generated during an 11-week time window
VersionDeltaFile
1.593+7-1etc/rc
+7-11 files

OpenBSD/src ZPlGi4Ssys/arch/amd64/amd64 vmm_machdep.c

   vmm(4): support variable length instructions in VMX paths.

   The Intel VMX handlers for things like HLT, RDMSR, etc. perform
   strict checks for instruction length. This is excessive and incorrect
   given the joys of x86/amd64. There's no need to kill the vcpu if
   it was silly enough to prefix a HLT for some strange reason.

   "sure", mlarkin@
VersionDeltaFile
1.81+2-28sys/arch/amd64/amd64/vmm_machdep.c
+2-281 files

OpenBSD/src OvyoAAMusr.sbin/rpki-client spl.c rsc.c

   rpki-client: garbage collect the _parse() functions

   The _parse() functions are no longer used and can be removed.
   With them gone, cms_parse_validate() becomes internal to cms.c

   ok claudio
VersionDeltaFile
1.34+1-45usr.sbin/rpki-client/tak.c
1.143+1-45usr.sbin/rpki-client/mft.c
1.20+1-44usr.sbin/rpki-client/spl.c
1.49+1-44usr.sbin/rpki-client/rsc.c
1.92+1-44usr.sbin/rpki-client/roa.c
1.46+1-44usr.sbin/rpki-client/aspa.c
+6-2662 files not shown
+9-2848 files

OpenBSD/src IvgfGU6regress/usr.sbin/rpki-client test-tak.c test-spl.c

   rpki-client: convert regress to signed_object_parse()
VersionDeltaFile
1.13+3-2regress/usr.sbin/rpki-client/test-tak.c
1.8+3-2regress/usr.sbin/rpki-client/test-spl.c
1.16+3-2regress/usr.sbin/rpki-client/test-rsc.c
1.31+3-2regress/usr.sbin/rpki-client/test-roa.c
1.34+3-2regress/usr.sbin/rpki-client/test-mft.c
1.13+3-2regress/usr.sbin/rpki-client/test-aspa.c
+18-126 files

OpenBSD/src MJWDX7xusr.sbin/rpki-client filemode.c parser.c

   rpki-client: replace _parse() functions for signed objects

   Replace calls to _parse() with calls to signed_object_parse() both
   in file mode and in the parser process.

   ok claudio
VersionDeltaFile
1.184+11-6usr.sbin/rpki-client/parser.c
1.87+7-7usr.sbin/rpki-client/filemode.c
+18-132 files