OpenBSD/src hGDHx13sys/arch/arm64/dev aplsmc.c

   Add missing break in lid action code.
   From Heyang Zhou.
VersionDeltaFile
1.33+2-1sys/arch/arm64/dev/aplsmc.c
+2-11 files

OpenBSD/src jemgdW5regress/usr.sbin/pkg_add Makefile

   pkg_add regress: the gcc15 test is no longer expected to fail
VersionDeltaFile
1.92+2-2regress/usr.sbin/pkg_add/Makefile
+2-21 files

OpenBSD/src KCSxuR9usr.sbin/pkg_add/OpenBSD PkgAdd.pm Dependencies.pm

   allow pkg_add to detect and break some endless loops with merge-sets.
   from espie.
VersionDeltaFile
1.153+15-5usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
1.176+10-2usr.sbin/pkg_add/OpenBSD/Dependencies.pm
+25-72 files

OpenBSD/src nheOoqMusr.bin/tmux screen.c

   Also set ntitles to 0 when creating screen in the first place.
VersionDeltaFile
1.107+2-1usr.bin/tmux/screen.c
+2-11 files

OpenBSD/src aiT5a3vusr.bin/tmux screen.c

   Reset title count when freeing titles, GitHub issue 5429 from Brett
   Smith.
VersionDeltaFile
1.106+2-1usr.bin/tmux/screen.c
+2-11 files

OpenBSD/src Q2L9Lwlusr.bin/tmux screen-write.c tty-draw.c

   Do not loop forever if the combining character is too long, GitHub issue
   5434 from me at qdrs dot dev.
VersionDeltaFile
1.285+2-2usr.bin/tmux/screen-write.c
1.15+3-1usr.bin/tmux/tty-draw.c
+5-32 files

OpenBSD/src hEQbiiSsys/arch/amd64/include pci_machdep.h, sys/arch/amd64/pci acpipci.c

   Exclude PCI-PCI bridge windows from acpidmar(4) with match based on header type

   This introduces acpipci_domain_to_seg() to translate OpenBSD's pci domains
   to ACPI segments for rare multi-segment machines (qemu)

   ok kettenis@
VersionDeltaFile
1.18+171-17sys/dev/acpi/acpidmar.c
1.12+23-1sys/arch/amd64/pci/acpipci.c
1.33+2-1sys/arch/amd64/include/pci_machdep.h
+196-193 files

OpenBSD/src S5lpj0Qgnu/llvm/clang/include/clang/Options Options.td, gnu/llvm/clang/lib/Driver/ToolChains Clang.cpp

   llvm: g/c-collect local changes for now-retired loongson platform

   ok visa@
VersionDeltaFile
1.8+0-51gnu/llvm/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
1.7+0-5gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
1.19+0-5gnu/llvm/clang/lib/Driver/ToolChains/Clang.cpp
1.8+0-4gnu/llvm/llvm/lib/Target/Mips/MipsTargetMachine.cpp
1.2+0-2gnu/llvm/clang/include/clang/Options/Options.td
1.6+0-2gnu/llvm/llvm/lib/Target/Mips/Mips.h
+0-692 files not shown
+0-708 files

OpenBSD/src WIQlmB2distrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1773+2-0distrib/sets/lists/man/mi
+2-01 files

OpenBSD/src 1I1ebgwusr.sbin/httpd config.c parse.y

   httpd: don't send the fastcgi param struct over imsg

   Send one imsg per param with a small fixed header (fastcgi_param_imsg)
   followed by the name and value bytes, and read it back with imsg_get_ibuf()
   and ibuf_get_string(). The struct now uses dynamic buffer instead of fixed,
   and the value limit is raised to 8192. Parse order is now preserved end-to-end
   instead of being reversed twice. This follows the config order.

   Feedback and OK kirill@
VersionDeltaFile
1.76+47-54usr.sbin/httpd/config.c
1.138+22-14usr.sbin/httpd/parse.y
1.181+11-5usr.sbin/httpd/httpd.h
1.136+5-3usr.sbin/httpd/server.c
+85-764 files

OpenBSD/src jzDlyWflib/libcrypto/ui ui_lib.c

   Unlock CRYPTO_LOCK_UI on ui_open_session() failure

   Both ui_open_session() implementations, open_console() in ui_openssl.c
   in base, and the one in ui_openssl_win.c in portable, grab the lock of
   type CRYPTO_LOCK_UI before doing anything else.

   The only internal (and, as far as I can tell, the only existing) caller,
   UI_process(), returns immediately on failure. The calling thread thus
   keeps holding the lock and the next call to UI_process() will block
   indefinitely. Fix this by using the common exit path, which calls
   ui_close_session() aka close_console(), both implementations of which
   release the lock.

   Thanks to Kartik (@sage-mode-hunter) who proposed an alternative fix for
   ui_openssl_win.c, which we would have to apply to ui_openssl.c as well.

   Matches OpenSSL behavior since PR #2037
   Closes https://github.com/libressl/portable/pull/1334

   ok kenjiro
VersionDeltaFile
1.55+5-3lib/libcrypto/ui/ui_lib.c
+5-31 files

OpenBSD/src oB6fI1iusr.sbin/relayd relayd.conf.5

   relayd: correct edh relayd.conf.5

   The previous wording implied that omitting "params" defaulted to auto.
   "edh" alone enables EDH in auto mode, while leaving the directive out
   keeps EDH disabled (equivalent to no edh / edh params none).
VersionDeltaFile
1.220+9-6usr.sbin/relayd/relayd.conf.5
+9-61 files

OpenBSD/src 5KEwLoBusr.sbin/httpd server_http.c parse.y

   httpd: add custom HTTP header support

   Allow httpd.conf to set/add/remove custom HTTP response headers or Suppress
   existing ones. This enables httpd to add security headers, custom metadata,
   or remove unwanted headers without modifying app/fastcgi code.

   Three new directives are added:

   header option
           Manipulate HTTP response headers.  Multiple header statements may
           be specified.  Valid options are:

           set name value [always]
                   Set a custom HTTP response header with the specified name
                   and value.  If a header with the same name is already
                   present in the response, its value will be replaced.  The
                   header is added to successful responses (2xx and 3xx
                   status codes) by default.


    [57 lines not shown]
VersionDeltaFile
1.169+145-56usr.sbin/httpd/server_http.c
1.137+158-6usr.sbin/httpd/parse.y
1.75+132-1usr.sbin/httpd/config.c
1.135+78-2usr.sbin/httpd/httpd.conf.5
1.81+43-2usr.sbin/httpd/httpd.c
1.180+39-2usr.sbin/httpd/httpd.h
+595-692 files not shown
+620-718 files

OpenBSD/src Yp5lEJZsys/dev/pci/drm drm_linux.c, sys/uvm uvm_pmemrange.c uvm_pdaemon.c

   Kill the uvm_pmalloc mechanism. This never really worked, at least until
   kirill@ fixed some page number/address confusement.  But it can't really
   work since pages freed by the pagedaemon are likely going to be grabbed
   by other consumers before we issue a wakeup through the uvm_pmalloc
   mechanism.  At this point the consensus is that it adds complexity to the
   pagedaemon that stands in the way of progress.

   Discussed with claudio@ and deraadt@
   ok deraadt@
VersionDeltaFile
1.83+8-118sys/uvm/uvm_pmemrange.c
1.161+10-82sys/uvm/uvm_pdaemon.c
1.21+1-51sys/uvm/uvm_pmemrange.h
1.143+1-3sys/dev/pci/drm/drm_linux.c
1.190+1-2sys/uvm/uvm_extern.h
+21-2565 files

OpenBSD/src PWrGRmUusr.sbin/vmd fw_cfg.c

   vmd(8): guard firmware config system state with a mutex.

   While vmd is not yet SMP, if multiple VCPUs emulate io to the Qemu
   firmware config registers simultaneously, they will race in mutating
   and observing state.

   Report and diff by Andrew Griffiths.

   ok hshoexer@
VersionDeltaFile
1.16+13-2usr.sbin/vmd/fw_cfg.c
+13-21 files

OpenBSD/src j6avUVTusr.sbin/vmd x86_vm.c

   vmd(8): reject GPAs in holes during gpa translation.

   vmd independentaly allocates guest memory in a series of ranges,
   mirroring the physical memory layout for the guest. The GPA translation
   in find_gap_range() incorrectly selects a memory range if the GPA
   is in a hole between two guest memory ranges. Make the initial check
   that the GPA falls within the bounds of a known memory range instead
   of just prior to the end.

   Report and diff by Andrew Griffiths.

   ok hshoexer@
VersionDeltaFile
1.16+3-2usr.sbin/vmd/x86_vm.c
+3-21 files

OpenBSD/src G04tgShsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2131+5-1sys/dev/pci/pcidevs_data.h
1.2136+2-1sys/dev/pci/pcidevs.h
+7-22 files

OpenBSD/src Me7Ndgzsys/dev/pci pcidevs

   Add Spacemit K3.
VersionDeltaFile
1.2143+2-1sys/dev/pci/pcidevs
+2-11 files

OpenBSD/src smcRFq2usr.sbin/vmd virtio.c

   vmd(8): guard virtio entropy device register io with a mutex.

   While vmd isn't yet SMP capable, in the event multiple VCPU thread
   exist they may interleave in emulation of register access of the
   virtio entropy device because it's currently emulated in the vm
   process.

   Report and diff by Andrew Griffiths.

   ok hshoexer@
VersionDeltaFile
1.143+19-4usr.sbin/vmd/virtio.c
+19-41 files

OpenBSD/src vEa2sGgusr.sbin/vmd loadfile_elf.c

   vmd(8): initialize the direct-boot argument page.

   In vmd's ELF loader, the boot args page is copied into guest memory
   from the stack without complete initialization. Initialize to zero
   to prevent leaking stack values into guest memory.

   Report and diff by Andrew Griffiths.

   ok hshoexer@
VersionDeltaFile
1.56+2-2usr.sbin/vmd/loadfile_elf.c
+2-21 files

OpenBSD/src PeKuACfusr.sbin/vmd control.c

   Reject invalid payload sizes at vmd(8) control boundary.

   When we introduced agressive parsing and santization of imsg objects,
   it introduced the ability for a control socket client to force vmd
   to exit via fatal() calls. A simple solution is to validate just
   the size of the object at the control process boundary as that's
   the primary logic for triggering fatal() calls. This may need a
   greater redesign but that would require inspecting all imsg
   deseralization call points. For now, the author's proposal is fine.

   Report and diff by Andrew Griffiths.

   ok hshoexer@
VersionDeltaFile
1.54+12-2usr.sbin/vmd/control.c
+12-21 files

OpenBSD/src 07TMzmNshare/man/man4/man4.riscv64 aplic.4 imsic.4

   aplic(4) and imsic(4)
VersionDeltaFile
1.1+47-0share/man/man4/man4.riscv64/aplic.4
1.1+47-0share/man/man4/man4.riscv64/imsic.4
1.20+2-2share/man/man4/man4.riscv64/Makefile
+96-23 files

OpenBSD/src 9RDxOC8sys/arch/riscv64/conf files.riscv64 GENERIC, sys/arch/riscv64/dev imsic.c aplic.c

   Add support for the RISC-V Advanced Interrupt Architecture.  This adds
   new imsic(4) and aplic(4) drivers for the Incoming MSI Controller and
   Advanced Platform-Level Interrupt Controller and supports the standard
   configuration where both are presents and imsic(4) functions as the
   top-level interrupt controller and aplic(4) forwarding classic interrupt
   lines as MSIs to imsic(4).  Tested on QEMU and Spacemit K3.

   ok jca@, mlarkin@
VersionDeltaFile
1.1+375-0sys/arch/riscv64/dev/imsic.c
1.1+228-0sys/arch/riscv64/dev/aplic.c
1.40+11-1sys/arch/riscv64/conf/files.riscv64
1.66+5-1sys/arch/riscv64/conf/GENERIC
1.57+5-1sys/arch/riscv64/conf/RAMDISK
1.8+4-1sys/arch/riscv64/include/riscvreg.h
+628-41 files not shown
+630-67 files

OpenBSD/src 3qq2E0eusr.bin/tmux screen-redraw.c

   Replace outside as well as empty cells with the border.
VersionDeltaFile
1.157+3-2usr.bin/tmux/screen-redraw.c
+3-21 files

OpenBSD/src 77JA7UNusr.sbin/bgpctl bgpctl.c

   Another imsg_get to imsg_getbuf conversion.

   OK tb@
VersionDeltaFile
1.324+3-3usr.sbin/bgpctl/bgpctl.c
+3-31 files

OpenBSD/src FQm31MBusr.sbin/bgpd rde.c rtr.c

   Convert from imsg_get() to imsgbuf_get()

   imsg_get should no longer be used.
   OK tb@
VersionDeltaFile
1.711+7-7usr.sbin/bgpd/rde.c
1.36+5-5usr.sbin/bgpd/rtr.c
1.540+3-4usr.sbin/bgpd/session.c
1.292+2-3usr.sbin/bgpd/bgpd.c
1.142+2-3usr.sbin/bgpd/control.c
+19-225 files

OpenBSD/src K1ry9Jnsys/dev/pci if_aq_pci.c

   enable 64-bit DMA mbuf support for aq(4)

   tested on "Aquantia AQC107S" rev 0x02: F/W version 3.1.86

   from brad at comstyle.com, ok kettenis@
VersionDeltaFile
1.37+2-2sys/dev/pci/if_aq_pci.c
+2-21 files

OpenBSD/src h3aluaylib/libutil imsg_init.3

   imsg_init.3: mark imsg_get as intentionally undocumented

   noticed by chohag at jtan.com
   ok claudio
VersionDeltaFile
1.47+4-2lib/libutil/imsg_init.3
+4-21 files

OpenBSD/src KihUMuxusr.sbin/eigrpd eigrpd.c rde.c

   Use imsg_get_data for IMSG_CTL_LOG_VERBOSE instead of blindly trusting the
   size of the imsg.

   Reported by Shibo, Hugo Systopia Team
VersionDeltaFile
1.37+6-4usr.sbin/eigrpd/eigrpd.c
1.33+6-4usr.sbin/eigrpd/rde.c
+12-82 files

OpenBSD/src GaQl1Oausr.sbin/bgpd rde.c bgpd.c

   Unify IMSG_CTL_LOG_VERBOSE handlers to look the same.
VersionDeltaFile
1.710+4-6usr.sbin/bgpd/rde.c
1.291+1-2usr.sbin/bgpd/bgpd.c
+5-82 files