LLVM/project 1b9723bllvm/include/llvm/ADT APInt.h, llvm/unittests/ADT APIntTest.cpp

Fix APInt::concat for zero-width operands (#207475)

APInt::concat triggered undefined behavior (invalid shift exponent) when
concatenating a zero-width operand with a 64-bit operand on the fast
path (combined width <= 64). For example, `I0.concat(I64)` resulted in
`U.VAL << 64`, which is UB.
Fix by checking for zero-width operands early and returning the other
operand. Added regression tests to `APIntTest.cpp`.
DeltaFile
+2-0llvm/include/llvm/ADT/APInt.h
+1-0llvm/unittests/ADT/APIntTest.cpp
+3-02 files

LLVM/project d49c6da.ci compute_projects_test.py compute_projects.py, .github/workflows libclang-python-tests.yml

CI: move libclang python bindings tests to main CI (#201677)

This removes the separate python bindings CI, which run on the GitHub
free runners and take more than one hour to build libclang.

The tests are executed instead in the monolithic pipelines, whenever
clang would be tested.
That only tests whatever python version we set up for that pipeline.

This is fine in terms of resources because all the dependencies are
built anyway, and the tests themselves take less than one second to run
on the free runners.
DeltaFile
+0-59.github/workflows/libclang-python-tests.yml
+13-12.ci/compute_projects_test.py
+1-1.ci/compute_projects.py
+14-723 files

LLVM/project 0ad19f4libc/shared builtins.h, libc/shared/builtins subsf3.h

[libc] add shared subsf3 builtin (#205677)

Re-exposes LLVM-libc's `__subsf3` as `shared::subsf3` for reuse by
compiler-rt's builtins.

Stacked change - merge these first:
- #200094
- #205669
- #205670
- #205671
- #205672
- #205673
- #205674
- #205675
- #205676

Part of #197824
DeltaFile
+32-0libc/src/__support/builtins/subsf3.h
+29-0libc/shared/builtins/subsf3.h
+9-0libc/src/__support/builtins/CMakeLists.txt
+1-0libc/shared/builtins.h
+1-0libc/test/shared/CMakeLists.txt
+1-0libc/test/shared/shared_builtins_test.cpp
+73-06 files

Linux/linux 0e35b9binclude/linux page_ext.h, mm shrinker.c

Merge tag 'mm-hotfixes-stable-2026-07-06-17-49' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull misc fixes from Andrew Morton:
 "20 hotfixes. 17 are for MM. 12 are cc:stable and the remaining 8
  address post-7.1 issues or aren't considered suitable for backporting.

  Two patches from SJ addresses a couple of quite old DAMON issues. And
  two patches from Yichong Chen fixes tools/virtio build issues. The
  remaining patches are singletons"

* tag 'mm-hotfixes-stable-2026-07-06-17-49' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  tools/include: include stdint.h for SIZE_MAX in overflow.h
  tools/virtio: add missing compat definitions for vhost_net_test
  mm: do file ownership checks with the proper mount idmap
  samples/damon/mtier: fail early if address range parameters are invalid
  mm: a second pagecache maintainer
  mm/damon: add a kernel-doc comment for damon_ctx->rnd_state
  mm/damon: add a kernel-doc comment for damon_ctx->probes
  mailmap: add entries for Radu Rendec

    [12 lines not shown]
DeltaFile
+79-0tools/virtio/linux/virtio_features.h
+13-6include/linux/page_ext.h
+7-10mm/damon/sysfs-schemes.c
+14-0tools/virtio/linux/mod_devicetable.h
+11-2mm/shrinker.c
+6-6tools/testing/selftests/mm/pagemap_ioctl.c
+130-2419 files not shown
+187-4325 files

FreeBSD/src 266022bcontrib/openresolv resolvconf.in resolvconf.8.in

contrib/openresolv: MFV openresolv 3.17.4

Reviewed by:    pfg
Approved by:    lwhsu (mentor)
Differential Revision:  https://reviews.freebsd.org/D56269

(cherry picked from commit cb0e3a5fba5fe48607db8c1042bfe6a1164e0db7)
DeltaFile
+770-237contrib/openresolv/resolvconf.in
+141-85contrib/openresolv/resolvconf.8.in
+142-40contrib/openresolv/resolvconf.conf.5.in
+159-0contrib/openresolv/resolvectl.in
+96-0contrib/openresolv/systemd-resolved.in
+57-25contrib/openresolv/libc.in
+1,365-38711 files not shown
+1,514-42717 files

FreeBSD/src f7675fasys/compat/freebsd32 freebsd32_systrace_args.c freebsd32_syscall.h, sys/kern systrace_args.c

Regen
DeltaFile
+26-0sys/kern/systrace_args.c
+26-0sys/compat/freebsd32/freebsd32_systrace_args.c
+6-0sys/sys/sysproto.h
+2-1sys/sys/syscall.h
+2-1sys/compat/freebsd32/freebsd32_syscall.h
+2-1sys/sys/syscall.mk
+64-36 files not shown
+72-312 files

FreeBSD/src 3e8b68clib/libsys pdfork.2 Makefile.sys

pdfork.2: document pdopenpid(2)

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+68-0lib/libsys/pdfork.2
+1-0lib/libsys/Makefile.sys
+69-02 files

FreeBSD/src 5a5affdlib/libsys pdfork.2

pdfork.2: clarify that PD_DAEMON acts on current file

Also do not start a new list for each flag item.

Reviewed by:    markj
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+8-2lib/libsys/pdfork.2
+8-21 files

FreeBSD/src 1cced49lib/libsys pdfork.2

pdfork.2: document EINVAL for pdwait(2)

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+5-0lib/libsys/pdfork.2
+5-01 files

LLVM/project 5cd8f2fllvm/test/CodeGen/AMDGPU eliminate-frame-index-v-add-co-u32.mir eliminate-frame-index-s-add-u32.mir

[CodeGen] Rename prologpeilog to prolog-epilog (#207870)

This is primarily to ensure consistenct with the new pass manager where
the name of the pass is already prolog-epilog, which is more consistent
with our existing naming scheme. This is necessary to be able to run
existing llc invocations that explicitly specify prolog-epilog under the
NewPM automatically.

Assisted by Gemini.
DeltaFile
+9-9llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32.mir
+8-8llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-add-u32.mir
+8-8llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
+8-8llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
+8-8llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-add-i32.mir
+8-8llvm/test/CodeGen/AMDGPU/eliminate-frame-index-scalar-bit-ops.mir
+49-49275 files not shown
+462-462281 files

FreeBSD/src d6ff3bblib/libsys Symbol.sys.map, sys/sys procdesc.h

libsys: export pdopenpid(2)

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+1-0sys/sys/procdesc.h
+1-0lib/libsys/Symbol.sys.map
+2-02 files

FreeBSD/src 606061esys/bsm audit_kevents.h, sys/kern sys_procdesc.c syscalls.master

sys: add AUE_PDOPENPID

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+10-0sys/security/audit/audit_bsm.c
+3-0sys/kern/sys_procdesc.c
+1-1sys/kern/syscalls.master
+1-0sys/bsm/audit_kevents.h
+15-14 files

FreeBSD/src 5c32aa7sys/kern sys_procdesc.c syscalls.master, sys/sys procdesc.h

kern: add pdopenpid(2)

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+102-12sys/kern/sys_procdesc.c
+7-0sys/kern/syscalls.master
+2-0sys/sys/procdesc.h
+111-123 files

FreeBSD/src c0e1201sys/kern sys_procdesc.c, sys/sys procdesc.h file.h

procdesc: make PD_DAEMON per-file

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+17-9sys/kern/sys_procdesc.c
+6-1sys/sys/procdesc.h
+1-0sys/sys/file.h
+24-103 files

FreeBSD/src 18b6bb5sys/kern sys_procdesc.c kern_exit.c, sys/sys procdesc.h

procdesc: track count of open files

Introduce pd_fpcount that counts the number of file references to the
procdesc.  Remove the PDF_CLOSED flag, now it is expressed as
pd_fpcount == 0.

Only send SIGKILL and clear pointers when we are closing the last file
referencing procdesc.

This should be nop until the next commit.

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+11-6sys/kern/sys_procdesc.c
+2-2sys/kern/kern_exit.c
+3-1sys/sys/procdesc.h
+16-93 files

LLVM/project a42a1c8llvm/unittests/ExecutionEngine/Orc InProcessEPCTest.cpp

[ORC] Fix reinterpret_cast warning. (#207874)

https://github.com/llvm/llvm-project/pull/206725#issuecomment-4896222897
reported warnings on windows builds due to reinterpret_cast:

warning C4312: 'reinterpret_cast': conversion from 'unsigned int' to
'void *' of greater size

This commit fixes the issue by using ExecutorAddr::toPtr for conversion
instead of reinterpret_cast.
DeltaFile
+2-2llvm/unittests/ExecutionEngine/Orc/InProcessEPCTest.cpp
+2-21 files

FreeBSD/src 90b560fsys/kern sys_procdesc.c

sys_procdesc: extract procdesc_destroy()

Reviewed byL    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+9-3sys/kern/sys_procdesc.c
+9-31 files

FreeBSD/src 9747701sys/kern sys_procdesc.c

sys_procdesc: extract pdtofdflags()

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+12-7sys/kern/sys_procdesc.c
+12-71 files

FreeBSD/src 599d021sys/kern sys_procdesc.c

sys_procdesc: extract procdesc_alloc()

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+24-12sys/kern/sys_procdesc.c
+24-121 files

FreeBSD/src aa1694esys/kern sys_procdesc.c

procdesc_exit(): assert that _exit() was called

Check that the P_WEXIT flag is set.

Requested by:   markj
Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57124
DeltaFile
+1-0sys/kern/sys_procdesc.c
+1-01 files

LLVM/project 4cfd754.ci compute_projects_test.py compute_projects.py, .github/workflows libclang-python-tests.yml

CI: move libclang python byindings tests to main CI

This removes the separate python bindings CI, which run on the GitHub free
runners and take more than one hour to build libclang.

The tests are executed instead in the monolithic pipelines,
whenever clang would be tested.

This is fine in terms of resources because all the dependencies are
built anyway, and the tests themselves take less than one second to
run on the free runners.
DeltaFile
+0-59.github/workflows/libclang-python-tests.yml
+13-12.ci/compute_projects_test.py
+1-1.ci/compute_projects.py
+14-723 files

LLVM/project 52f1b75clang/bindings/python/tests/cindex test_source_range.py test_translation_unit.py

[clang] workaround libclang-python windows CI failures (#207875)
DeltaFile
+8-3clang/bindings/python/tests/cindex/test_source_range.py
+3-1clang/bindings/python/tests/cindex/test_translation_unit.py
+11-42 files

OpenBSD/src RxAXLAEusr.bin/ssh servconf.c servconf.h

   fix GSSAPI option names, that I somehow screwed up while refactoring
   servconf.c bz3974 patch from Colin Watson
VersionDeltaFile
1.451+9-9usr.bin/ssh/servconf.c
1.179+9-9usr.bin/ssh/servconf.h
+18-182 files

FreeBSD/src bdbad7bcontrib/openresolv resolvconf.in resolvconf.8.in

contrib/openresolv: MFV openresolv 3.17.4

Reviewed by:    pfg
Approved by:    lwhsu (mentor)
Differential Revision:  https://reviews.freebsd.org/D56269

(cherry picked from commit cb0e3a5fba5fe48607db8c1042bfe6a1164e0db7)
DeltaFile
+770-237contrib/openresolv/resolvconf.in
+141-85contrib/openresolv/resolvconf.8.in
+142-40contrib/openresolv/resolvconf.conf.5.in
+159-0contrib/openresolv/resolvectl.in
+96-0contrib/openresolv/systemd-resolved.in
+57-25contrib/openresolv/libc.in
+1,365-38711 files not shown
+1,514-42717 files

LLVM/project a37bb29llvm/lib/Target/NVPTX NVPTXLowerArgs.cpp, llvm/test/CodeGen/NVPTX lower-byval-args-mem-attrs.ll

[NVPTX] Assign correct memory attrs to args in NVPTXLowerArgs (#207461)
DeltaFile
+84-0llvm/test/CodeGen/NVPTX/lower-byval-args-mem-attrs.ll
+23-2llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+107-22 files

LLVM/project 2846784clang/bindings/python/tests/cindex test_source_range.py test_translation_unit.py

[clang] workaround libclang-python windows CI failures
DeltaFile
+8-3clang/bindings/python/tests/cindex/test_source_range.py
+3-1clang/bindings/python/tests/cindex/test_translation_unit.py
+11-42 files

LLVM/project a2dbd23utils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc BUILD.bazel, utils/bazel/llvm-project-overlay/clang-tools-extra/unittests BUILD.bazel

[Bazel] Fixes cc048e8 (#207873)

This fixes cc048e80b670a5262500612069d1c2d065b53f15.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+10-0utils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/clang-tools-extra/unittests/BUILD.bazel
+11-02 files

LLVM/project cc048e8clang-tools-extra/clang-doc/markdown Markdown.h Markdown.cpp, clang-tools-extra/clang-doc/support Markdown.h Markdown.cpp

[clang-doc] Move Markdown into its own subdirectory (#207856)

Removes the need for PARTIAL_SOURCES_INTENDED by giving clangDocMarkdown
its own directory. Addresses post-merge feedback on #205609.
DeltaFile
+0-315clang-tools-extra/clang-doc/support/Markdown.h
+315-0clang-tools-extra/clang-doc/markdown/Markdown.h
+0-99clang-tools-extra/clang-doc/support/Markdown.cpp
+99-0clang-tools-extra/clang-doc/markdown/Markdown.cpp
+0-7clang-tools-extra/clang-doc/support/CMakeLists.txt
+7-0clang-tools-extra/clang-doc/markdown/CMakeLists.txt
+421-4212 files not shown
+423-4228 files

OpenBSD/src S2wrnPpgnu/usr.bin/perl/cpan/Socket Socket.pm Socket.xs, gnu/usr.bin/perl/cpan/Socket/t sockaddr.t

   Update Socket to 2.041

   CVE-2026-12087:
    Socket versions before 2.041 for Perl have an out-of-bounds heap read

   From security.metacpan.org
VersionDeltaFile
1.8+77-26gnu/usr.bin/perl/cpan/Socket/Socket.pm
1.8+70-33gnu/usr.bin/perl/cpan/Socket/Socket.xs
1.2+71-6gnu/usr.bin/perl/cpan/Socket/t/sockaddr.t
+218-653 files

FreeBSD/src d516e52sys/fs/nfs nfs.h, sys/fs/nfsserver nfs_nfsdkrpc.c nfs_nfsdport.c

nfsd: Optionally enable use of M_EXTPG mbufs for read replies

A test site determined that, for a Mellanox NIC which can handle
M_EXTPG mbufs, an improvement of 5-15% for read rate could be
achieved if the read reply was in M_EXTPG mbufs.

A patch that tried to determine if the outbound NIC supported
M_EXTPG mbufs (IFCAP_MEXTPG) did not pass review.
However, it does appear that this can be useful for NFS-over-RDMA.
(Which just happen to use NICs that do support M_EXTPG mbufs.)

As such, this patch enables them is xp_extpg is set to true,
which is never for now, but might be set true for RDMA or
when vfs.nfsd.enable_mextpg is set non-zero. (It is 0 by
default, so this is never enabled by default at this time.)

Tested by:      Greg Becker <becker.greg at att.net>
MFC after:      2 weeks
DeltaFile
+17-1sys/fs/nfsserver/nfs_nfsdkrpc.c
+10-6sys/fs/nfsserver/nfs_nfsdport.c
+5-2sys/fs/nfsserver/nfs_nfsdserv.c
+1-0sys/fs/nfs/nfs.h
+1-0sys/rpc/svc.h
+34-95 files