HardenedBSD/src 593a6fc. CONTRIBUTING.md, stand/efi/loader/arch/amd64 trap.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+6-4stand/efi/loader/arch/amd64/trap.c
+2-2sys/kern/sys_pipe.c
+3-1CONTRIBUTING.md
+2-2sys/kern/kern_sysctl.c
+13-94 files

HardenedBSD/src f24d18a. CONTRIBUTING.md, stand/efi/loader/arch/amd64 trap.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+6-4stand/efi/loader/arch/amd64/trap.c
+3-1CONTRIBUTING.md
+2-2sys/kern/kern_sysctl.c
+2-2sys/kern/sys_pipe.c
+13-94 files

HardenedBSD/src 4fa781csys/compat/linux linux_file.c, sys/kern kern_event.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+110-68sys/compat/linux/linux_file.c
+1-1sys/kern/kern_event.c
+1-1sys/sys/event.h
+112-703 files

HardenedBSD/ports c738db5dns/dnsmasq/files patch-src_dhcp.c, security/nss/files patch-lib-freebl-Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+821-423sysutils/yazi/distinfo
+409-210sysutils/yazi/Makefile.crates
+110-0dns/dnsmasq/files/patch-src_dhcp.c
+46-0sysutils/yazi/files/patch-yazi-fs_src_provider_local_casefold.rs
+19-4security/nss/files/patch-lib-freebl-Makefile
+11-0security/openvpn/files/patch-inotify
+1,416-63722 files not shown
+1,469-67628 files

NetBSD/pkgsrc-wip e3fe687py-ksef2 distinfo Makefile

py-ksef2: update to 0.8.1

ECDSA / EC key support for XAdES authentication

Qualified certificates issued by MCU (Ministerstwo Cyfryzacji) use EC keys (secp256r1).
Previously the SDK would raise TypeError: Expected RSA private key, got EllipticCurvePrivateKey
when loading such certificates. This release adds full EC key support alongside the existing RSA path.

Changes:
    load_private_key_from_pem now accepts both RSA and EC private keys
    load_certificate_and_key_from_p12 now accepts both RSA and EC private keys
    sign_xades automatically selects ECDSA-SHA256 for EC keys and RSA-SHA256 for RSA keys — no extra configuration needed

No breaking changes — existing RSA-based code continues to work without modification.
DeltaFile
+3-3py-ksef2/distinfo
+1-1py-ksef2/Makefile
+4-42 files

LLVM/project a6416a8llvm/test/TableGen RegisterInfoEmitter-regcost-tuple.td

[NFC] Simplify a RegisterInfoEmitter lit test (#182672)

Eliminate SubRegIndex defs that are not used/required for the test.
DeltaFile
+0-19llvm/test/TableGen/RegisterInfoEmitter-regcost-tuple.td
+0-191 files

FreeBSD/ports 93d7a8esecurity/zeek Makefile pkg-plist

security/zeek: Do not remove state.db on pkg remove

Klemens Nanni reported that "pkg upgrade zeek" was breaking zeekctl
in a cluster installation. Testing showed this was also true for
standalone.

The pkg-message already advises the user that they may need to
manually remove state.db.

Reported by:    Klemens Nanni
DeltaFile
+1-0security/zeek/Makefile
+0-1security/zeek/pkg-plist
+1-12 files

HardenedBSD/ports 93d7a8esecurity/zeek pkg-plist Makefile

security/zeek: Do not remove state.db on pkg remove

Klemens Nanni reported that "pkg upgrade zeek" was breaking zeekctl
in a cluster installation. Testing showed this was also true for
standalone.

The pkg-message already advises the user that they may need to
manually remove state.db.

Reported by:    Klemens Nanni
DeltaFile
+0-1security/zeek/pkg-plist
+1-0security/zeek/Makefile
+1-12 files

LLVM/project 4846e3allvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select-fcmp-fmul-zero-absorbing-value.ll

InstCombine: Fold absorbing fmul of compared 0 into select (#172381)

This is similar to the select-bin-op identity case, except
in this case we are looking for the absorbing value for the
binary operator.

If the compared value is a floating-point 0, and the fmul is
implied to return a +0, put the 0 directly into the select
operand. This pattern appears in scale-if-denormal sequences
after  optimizations assume denormals are treated as 0.

Fold:

```
%fabs.x = call float @llvm.fabs.f32(float %x)
%mul.fabs.x = fmul float %fabs.x, known_positive
%x.is.zero = fcmp oeq float %x, 0.0
%select = select i1 %x.is.zero, float %mul.fabs.x, float %fabs.x


    [12 lines not shown]
DeltaFile
+39-19llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+7-15llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
+46-342 files

LLVM/project 18131dcllvm/test lit.cfg.py, llvm/utils profcheck-xfail.txt

[ProfCheck] Exclude bitcode tests

These tests fail due to inserted function entry count annotations. Just
exclude them for now given they aren't actually running any passes.
DeltaFile
+2-2llvm/test/lit.cfg.py
+0-2llvm/utils/profcheck-xfail.txt
+2-42 files

Linux/linux 3544d5cDocumentation/dev-tools coccinelle.rst, scripts coccicheck

Merge tag 'cocci-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux

Pull coccinelle updates from Julia Lawall:
 "This simplifies and clarifies the handling of output generated by
  Coccinelle that is sent to standard error.

  By default, this goes to /dev/null. Remind the user of that and
  encourage them to provide another file name (Benjamin Philip)"

* tag 'cocci-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
  Documentation: Coccinelle: document debug log handling
  scripts: coccicheck: warn on unset debug file
  scripts: coccicheck: simplify debug file handling
DeltaFile
+16-5Documentation/dev-tools/coccinelle.rst
+13-8scripts/coccicheck
+29-132 files

Linux/linux 9813616drivers/ntb ntb_transport.c msi.c, drivers/ntb/hw/intel ntb_hw_gen4.c ntb_hw_gen1.c

Merge tag 'ntb-7.0' of https://github.com/jonmason/ntb

Pull NTB (PCIe non-transparent bridge) updates from Jon Mason:
 "NTB updates include debugfs improvements, correctness fixes, cleanups,
  and new hardware support:

  ntb_transport QP stats are converted to seq_file, a tx_memcpy_offload
  module parameter is introduced with associated ordering fixes, and a
  debugfs queue name truncation bug is corrected.

  Additional fixes address format specifier mismatches in ntb_tool and
  boundary conditions in the Switchtec driver, while unused MSI helpers
  are removed and the codebase migrates to dma_map_phys().

  Intel Gen6 (Diamond Rapids) NTB support is also added"

* tag 'ntb-7.0' of https://github.com/jonmason/ntb:
  NTB: ntb_transport: Use seq_file for QP stats debugfs
  NTB: ntb_transport: Fix too small buffer for debugfs_name

    [10 lines not shown]
DeltaFile
+145-110drivers/ntb/ntb_transport.c
+0-64drivers/ntb/msi.c
+17-5drivers/ntb/hw/intel/ntb_hw_gen4.c
+0-14include/linux/ntb.h
+11-3drivers/ntb/hw/mscc/ntb_hw_switchtec.c
+10-4drivers/ntb/hw/intel/ntb_hw_gen1.c
+183-2004 files not shown
+192-20210 files

OpenBSD/ports B4NPcfGgames/luanti distinfo Makefile, games/luanti/patches patch-src_CMakeLists_txt

   update luanti to 5.15.1

   Stop installing devtest now that tests no longer require it.

   This matches upstream behaviour by prompting users to install a game
   instead of launching into the devtest world.

   From MAINTAINER
VersionDeltaFile
1.5+0-668games/luanti/pkg/PLIST
1.5+2-2games/luanti/distinfo
1.8+1-2games/luanti/Makefile
1.4+1-1games/luanti/patches/patch-src_CMakeLists_txt
+4-6734 files

Linux/linux f9d66e6drivers/block ublk_drv.c, fs/fuse dev_uring.c

Merge tag 'io_uring-20260221' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:

 - A fix for a missing URING_CMD128 opcode check, fixing an issue with
   the SQE mixed mode support introduced in 6.19. Merged late due to
   having multiple dependencies

 - Add sqe->cmd size checking for big SQEs, similar to what we have for
   normal sized SQEs

 - Fix a race condition in zcrx, that leads to a double free

* tag 'io_uring-20260221' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring: Add size check for sqe->cmd
  io_uring: add IORING_OP_URING_CMD128 to opcode checks
  io_uring/zcrx: fix user_ref race between scrub and refill paths
DeltaFile
+11-4include/linux/io_uring/cmd.h
+8-4drivers/block/ublk_drv.c
+7-3io_uring/zcrx.c
+4-2fs/fuse/dev_uring.c
+6-0io_uring/io_uring.h
+2-2io_uring/rw.c
+38-152 files not shown
+41-178 files

LLVM/project 20bce6dclang-tools-extra/clang-tidy/performance FasterStringFindCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Teach `performance-faster-string-find` about `starts_with`, `ends_with`, and `contains` (#182633)

These aren't "find" functions per se, so they don't totally match the
check name, but the same optimization is applicable to them (for
example, see
https://en.cppreference.com/w/cpp/string/basic_string_view/starts_with.html).
This optimization could be expanded to `operator+=` as well, but that's
a bit more involved, so I'm not doing it in this PR.
DeltaFile
+15-0clang-tools-extra/test/clang-tidy/checkers/performance/faster-string-find.cpp
+6-8clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
+4-3clang-tools-extra/docs/clang-tidy/checks/performance/faster-string-find.rst
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+30-114 files

FreeNAS/freenas 9b383cdsrc/middlewared/middlewared/plugins/pool_ dataset_encryption_lock.py dataset_encryption_info.py

Make sure on locking, we properly mark datasets as locked
DeltaFile
+18-9src/middlewared/middlewared/plugins/pool_/dataset_encryption_lock.py
+12-0src/middlewared/middlewared/plugins/pool_/dataset_encryption_info.py
+30-92 files

Linux/linux 817c16emm numa_memblks.c

Merge tag 'fixes-2026-02-21' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock

Pull memblock fix from Mike Rapoport:
 "Fix detection of NUMA node for CXL windows

  phys_to_target_node() may assign a CXL Fixed Memory Window to the
  wrong NUMA node when a CXL node resides in the gap of discontinuous
  System RAM node.

  Fix this by checking both numa_meminfo and numa_reserved_meminfo,
  preferring the reserved NID when the address appears in both"

* tag 'fixes-2026-02-21' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
  mm: numa_memblks: Identify the accurate NUMA ID of CFMW
DeltaFile
+5-4mm/numa_memblks.c
+5-41 files

NetBSD/pkgsrc-wip 46c817fpy-ksef2 PLIST Makefile, py-xsdata PLIST Makefile

py-ksef2: update to 8.0.0

Invoice rendering — HTML and PDF export

Export KSeF invoice XML to HTML and PDF using the built-in XSLT stylesheet:
    InvoiceXSLTRenderer — renders invoice XML to HTML via the bundled styl.xsl
    InvoicePDFExporter — renders invoice XML to PDF (HTML intermediate via XSLT + WeasyPrint)

Both renderers support exporting from file paths, XML strings, or directly to files.

Other additions
    Add FA(3) schema models generated from schemat.xml
    Add KSeFExportTimeoutError and KSeFInvoiceQueryTimeoutError exception types for polling timeouts
    Bundle styl.xsl inside the package (ksef2.services.renderers)

Experimental
    scripts/cli/export_invoices.py — CLI tool for downloading invoices and exporting to PDF. Supports token, PEM cert/key, and PKCS#12 authentication. Run python scripts/cli/export_invoices.py --help for usage.
DeltaFile
+396-0py-xsdata/PLIST
+100-33py-ksef2/PLIST
+32-0py-xsdata-pydantic/PLIST
+23-0py-xsdata-pydantic/Makefile
+22-0py-xsdata/Makefile
+11-7py-ksef2/Makefile
+584-407 files not shown
+619-4513 files

LLVM/project d01b078llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select-fcmp-fmul-zero-absorbing-value.ll

InstCombine: Fold absorbing fmul of compared 0 into select

This is similar to the select-bin-op identity case, except
in this case we are looking for the absorbing value for the
binary operator.

If the compared value is a floating-point 0, and the fmul is
implied to return a +0, put the 0 directly into the select
operand. This pattern appears in scale-if-denormal sequences
after  optimizations assume denormals are treated as 0.

Fold:
  %fabs.x = call float @llvm.fabs.f32(float %x)
  %mul.fabs.x = fmul float %fabs.x, known_positive
  %x.is.zero = fcmp oeq float %x, 0.0
  %select = select i1 %x.is.zero, float %mul.fabs.x, float %fabs.x

To:
  %fabs.x = call float @llvm.fabs.f32(float %x)

    [5 lines not shown]
DeltaFile
+39-19llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+7-15llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
+46-342 files

LLVM/project 6e0054allvm/lib/Transforms/Scalar Scalarizer.cpp, llvm/test/Transforms/Scalarizer constant-extractelement.ll

[Scalarizer] Fix out-of-bounds crash (#180359)

When processing an extractelement instruction with an index that exceeds
the vector size (e.g., extracting index 2147483647 from a 4-element
vector), the scalarizer would calculate an out-of-bounds Fragment index
and crash with an assertion failure in `SmallVector::operator[]`.

This PR adds a bounds check in
`ScalarizerVisitor::visitExtractElementInst` to prevent a crash when the
extractelement index is out of bounds.

Fixes #179880
DeltaFile
+10-0llvm/test/Transforms/Scalarizer/constant-extractelement.ll
+2-0llvm/lib/Transforms/Scalar/Scalarizer.cpp
+12-02 files

Linux/linux 4cf4465tools/sched_ext scx_userland.c scx_flatcg.c, tools/testing/selftests/sched_ext rt_stall.c

Merge tag 'sched_ext-for-7.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext

Pull sched_ext fixes from Tejun Heo:

 - Various bug fixes for the example schedulers and selftests

* tag 'sched_ext-for-7.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
  tools/sched_ext: fix getopt not re-parsed on restart
  tools/sched_ext: scx_userland: fix data races on shared counters
  tools/sched_ext: scx_pair: fix stride == 0 crash on single-CPU systems
  tools/sched_ext: scx_central: fix CPU_SET and skeleton leak on early exit
  tools/sched_ext: scx_userland: fix stale data on restart
  tools/sched_ext: scx_flatcg: fix potential stack overflow from VLA in fcg_read_stats
  selftests/sched_ext: Fix rt_stall flaky failure
  tools/sched_ext: scx_userland: fix restart and stats thread lifecycle bugs
  tools/sched_ext: scx_central: fix sched_setaffinity() call with the set size
  tools/sched_ext: scx_flatcg: zero-initialize stats counter array
DeltaFile
+49-0tools/testing/selftests/sched_ext/rt_stall.c
+20-11tools/sched_ext/scx_userland.c
+10-3tools/sched_ext/scx_flatcg.c
+7-3tools/sched_ext/scx_central.c
+7-1tools/sched_ext/scx_pair.c
+1-0tools/sched_ext/scx_simple.c
+94-182 files not shown
+96-188 files

FreeBSD/src 93043c6sys/kern kern_event.c, sys/sys event.h

kqueue: Make kn_sfflags unsigned

This is used to hold a copy of the original fflags, which is unsigned.

MFC after:      3 days
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D55348

(cherry picked from commit d379432808ed286dc051a34138ae250addbc469c)
DeltaFile
+1-1sys/kern/kern_event.c
+1-1sys/sys/event.h
+2-22 files

HardenedBSD/src 93043c6sys/kern kern_event.c, sys/sys event.h

kqueue: Make kn_sfflags unsigned

This is used to hold a copy of the original fflags, which is unsigned.

MFC after:      3 days
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D55348

(cherry picked from commit d379432808ed286dc051a34138ae250addbc469c)
DeltaFile
+1-1sys/kern/kern_event.c
+1-1sys/sys/event.h
+2-22 files

FreeBSD/src be10d6fusr.bin/diff diffdir.c

diff: Fix gcc build.

Sponsored by:   Klara, Inc.

(cherry picked from commit 28d9586cde8dc783f7b698b10c2b564fde14ae74)
DeltaFile
+3-3usr.bin/diff/diffdir.c
+3-31 files

LLVM/project a67bf7d.github/workflows lldb-pylint-action.yml

Remove whitespace on blank lines (#182574)

I removed some whitespace on a workflow job, which only had spaces.
I did not remove the newline completelty, only the whitespace junk,
which I found by git diffing the head.
DeltaFile
+2-2.github/workflows/lldb-pylint-action.yml
+2-21 files

FreeBSD/ports 2bbefbetextproc/miller distinfo Makefile

textproc/miller: Update to 6.17.0
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

HardenedBSD/ports 2bbefbetextproc/miller distinfo Makefile

textproc/miller: Update to 6.17.0
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

LLVM/project 7a1c498llvm/test/Transforms/InstCombine select-fcmp-fmul-zero-absorbing-value.ll

[InstCombine] Update test

This was breaking buildbots due to a mid-air collision where some change
caused test differences between when the test was put up/passed CI and
when it landed.
DeltaFile
+1-1llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
+1-11 files

Linux/linux 8eb604dfs/smb/server smb2pdu.c server.c

Merge tag 'v7.0-rc-part2-ksmbd-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:
 "Two small fixes:

   - fix potential deadlock

   - minor cleanup"

* tag 'v7.0-rc-part2-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
  ksmbd: call ksmbd_vfs_kern_path_end_removing() on some error paths
  smb: server: Remove duplicate include of misc.h
DeltaFile
+2-2fs/smb/server/smb2pdu.c
+0-1fs/smb/server/server.c
+2-32 files

LLVM/project 7ed0aa2offload/plugins-nextgen/level_zero/include L0Plugin.h, offload/plugins-nextgen/level_zero/src L0Program.cpp L0Kernel.cpp

[OFFLOAD][L0] Remove leftover global constructor (#182611) (#182665)

fixes #182611
DeltaFile
+5-2offload/plugins-nextgen/level_zero/src/L0Program.cpp
+3-3offload/plugins-nextgen/level_zero/include/L0Plugin.h
+3-3offload/plugins-nextgen/level_zero/src/L0Kernel.cpp
+0-4offload/plugins-nextgen/level_zero/src/L0Plugin.cpp
+11-124 files