HardenedBSD/src 9d13f14lib/libifconfig libifconfig_internal.h, sys/net/route route_tables.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+9-9sys/net/route/route_tables.c
+1-1lib/libifconfig/libifconfig_internal.h
+10-102 files

HardenedBSD/src 72f7d8flib/libifconfig libifconfig_internal.h, sys/net/route route_tables.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+9-9sys/net/route/route_tables.c
+1-1lib/libifconfig/libifconfig_internal.h
+10-102 files

HardenedBSD/ports 685c09eaudio/mac distinfo, audio/strawberry distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+17-17devel/py-ty/distinfo
+7-7devel/py-ty/Makefile.crates
+14-0cad/librecad/files/patch-librecad_src_src.pro
+5-5devel/jjui/distinfo
+3-3audio/strawberry/distinfo
+3-3audio/mac/distinfo
+49-35829 files not shown
+888-714835 files

LLVM/project b77c0b1llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv float-round-conv.ll

[RISCV] Don't fold vector (fp_to_sint (ceil/floor/round/etc X)) if the inner op has multiple uses. (#216137)

If the inner operation needs to write FRM and the folded operation
does too, combining them may require another pair of FRM writes
unless we can get rid of the inner operation.

This may be expensive on CPUs without FRM renaming support.

Assisted-by: Claude
DeltaFile
+170-0llvm/test/CodeGen/RISCV/rvv/float-round-conv.ll
+7-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+177-02 files

LLVM/project f6242fcmlir/python/mlir/dialects/transform structured.py, mlir/test/python/dialects transform_structured_ext.py

[mlir][python] Fix tile interchange ArrayAttr dispatch (#215996)

Dispatch `ArrayAttr` interchange values through `DynamicIndexList`.
DeltaFile
+22-5mlir/python/mlir/dialects/transform/structured.py
+21-0mlir/test/python/dialects/transform_structured_ext.py
+43-52 files

OpenBSD/src xafYjIysys/dev/pci if_em.c if_em_hw.h

   simplify mac type tests

   Reduces the number of places to change when adding mac types.
   Tested by bluhm@ in a machine full of em(4) cards, ok jmatthew@
VersionDeltaFile
1.125+12-65sys/dev/pci/if_em_hw.c
1.99+2-6sys/dev/pci/if_em_hw.h
1.382+2-3sys/dev/pci/if_em.c
+16-743 files

FreeBSD/ports 5209470audio/strawberry Makefile distinfo

audio/strawberry: Update to 1.2.27

https://github.com/strawberrymusicplayer/strawberry/releases/tag/1.2.27
DeltaFile
+3-3audio/strawberry/distinfo
+1-1audio/strawberry/Makefile
+4-42 files

HardenedBSD/ports 1ac2439audio/mac Makefile distinfo

audio/mac: Update to 13.25

Changes: https://www.monkeysaudio.com/versionhistory.html
DeltaFile
+3-3audio/mac/distinfo
+1-1audio/mac/Makefile
+4-42 files

FreeBSD/ports 1ac2439audio/mac Makefile distinfo

audio/mac: Update to 13.25

Changes: https://www.monkeysaudio.com/versionhistory.html
DeltaFile
+3-3audio/mac/distinfo
+1-1audio/mac/Makefile
+4-42 files

HardenedBSD/ports 5209470audio/strawberry Makefile distinfo

audio/strawberry: Update to 1.2.27

https://github.com/strawberrymusicplayer/strawberry/releases/tag/1.2.27
DeltaFile
+3-3audio/strawberry/distinfo
+1-1audio/strawberry/Makefile
+4-42 files

LLVM/project 668df40libc/src/__support common.h, libc/src/string/memory_utils/aarch64 inline_memcpy.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+21-21libc/src/string/memory_utils/x86_64/inline_memcpy.h
+16-12libc/src/string/memory_utils/arm/inline_memcpy.h
+10-7libc/src/string/memory_utils/generic/aligned_access.h
+10-1libc/src/__support/common.h
+5-3libc/src/string/memory_utils/aarch64/inline_memcpy.h
+3-4libc/src/string/memory_utils/generic/byte_per_byte.h
+65-485 files not shown
+83-5711 files

LLVM/project 6470314llvm/include/llvm/DWARFLinker AddressesMap.h, llvm/lib/DWARFLinker/Classic DWARFLinker.cpp

[DWARFLinker] Constrain a function's high_pc to its own symbol

Mach-O objects built with .subsections_via_symbols make every symbol an
independently placeable atom, and the linker packs atoms without
preserving the spacing they had in the object file.

I have an example where the compiler describes such a subprogram as
extending past its own atom. While it's debatable whether that's a good
idea, it's not invalid in the object file. However, once linked, it is
invalid.

We can make dsymutil resilient against this by looking at the size of
the symbol in the debug map and adjusting the end_pc. I'm doing so
conservatively so that only a collision is repaired. Already
overlapping/invalid ranges remain untouched.

rdar://184768778
DeltaFile
+76-0llvm/test/tools/dsymutil/Inputs/subprogram-high-pc-past-symbol.s
+72-0llvm/test/tools/dsymutil/Inputs/subprogram-high-pc-past-symbol-dwarf2.s
+57-0llvm/test/tools/dsymutil/subprogram-high-pc-past-symbol.test
+33-8llvm/include/llvm/DWARFLinker/AddressesMap.h
+25-6llvm/tools/dsymutil/DwarfLinkerForBinary.h
+21-2llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+284-162 files not shown
+309-208 files

LLVM/project bcfd83flldb/source/Core DynamicLoader.cpp, lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

Address Jason's feedback
DeltaFile
+6-4lldb/source/Core/DynamicLoader.cpp
+3-2lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+9-62 files

LLVM/project 9c90656lldb/include/lldb/Symbol SymbolLocator.h, lldb/source/Core DynamicLoader.cpp

[lldb] Search for a corefile's images before loading any of them

A userland or kernel corefile can list hundreds of images, and searching for
one can shell out to a symbol server or fetch over the network. Searching for
them one at a time is where loading such a corefile spends its time.

Add a batch form of SymbolLocator::Locate that runs the searches on the
debugger's thread pool, gated on target.parallel-module-load. Results come
back in the order the requests were given, since that order decides the
Target's module order. Only the results are ordered, and anything a search
reports to the user arrives in whatever order the searches finish in.

Only the plugin searches run concurrently, so a platform hook does not have to
be thread safe to take part, and reading a binary's UUID out of memory stays
on the calling thread.

Setting up a platform binary can replace the Target's platform and dynamic
loader, and now happens for every image before any of them is searched for, so
the platform a corefile asks for is the one all of its images are searched

    [4 lines not shown]
DeltaFile
+141-4lldb/unittests/Symbol/SymbolLocatorTest.cpp
+78-63lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+76-11lldb/source/Symbol/SymbolLocator.cpp
+32-20lldb/source/Core/DynamicLoader.cpp
+25-0lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py
+19-0lldb/include/lldb/Symbol/SymbolLocator.h
+371-986 files

LLVM/project 2317574llvm/include/llvm/ExecutionEngine/Orc/Shared OrcRTBridge.h, llvm/lib/ExecutionEngine/Orc/Shared OrcRTBridge.cpp

[ORC] Drop SimpleExecutorMemoryManagerSymbolNames struct (#216231)

Remove the SimpleExecutorMemoryManagerSymbolNames struct and the
orc_rt_SimpleNativeMemoryMapSPSSymbols global. The sps::MemMgr*CIName
constants in GenericMemoryManagerProxySpecs.h are now the single source
of truth for the SimpleNativeMemoryMap controller-interface names, used
by both the controller-side proxies and the executor-side
SimpleExecutorMemoryManager bootstrap registration (as
OrcRTBootstrap.cpp already does for the memory-access wrappers).

No functional change: the name strings are identical to those previously
held in orc_rt_SimpleNativeMemoryMapSPSSymbols.
DeltaFile
+0-15llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
+8-6llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.cpp
+7-6llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp
+0-9llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
+15-364 files

FreeBSD/ports 39cacf2devel/libgit2 Makefile distinfo

devel/libgit2: update to 1.9.7

Changes:        https://github.com/libgit2/libgit2/releases
(cherry picked from commit 265edfbeec88c7f67d81559b06fb1d51cfd63cdb)
DeltaFile
+3-3devel/libgit2/distinfo
+1-1devel/libgit2/Makefile
+4-42 files

HardenedBSD/ports 265edfbdevel/libgit2 Makefile distinfo

devel/libgit2: update to 1.9.7

Changes:        https://github.com/libgit2/libgit2/releases
DeltaFile
+3-3devel/libgit2/distinfo
+1-1devel/libgit2/Makefile
+4-42 files

FreeBSD/ports 265edfbdevel/libgit2 Makefile distinfo

devel/libgit2: update to 1.9.7

Changes:        https://github.com/libgit2/libgit2/releases
DeltaFile
+3-3devel/libgit2/distinfo
+1-1devel/libgit2/Makefile
+4-42 files

LLVM/project 4054122clang/docs/analyzer checkers.md, clang/docs/analyzer/developer-docs InitializerLists.md

[docs][clang] Finish MyST migration for analyzer docs
DeltaFile
+210-198clang/docs/analyzer/user-docs/Annotations.md
+32-33clang/docs/analyzer/developer-docs/InitializerLists.md
+21-22clang/docs/analyzer/user-docs/CommandLineUsage.md
+15-16clang/docs/analyzer/user-docs/CrossTranslationUnit.md
+12-13clang/docs/analyzer/checkers.md
+5-6clang/docs/analyzer/user-docs/UsingWithXCode.md
+295-2889 files not shown
+311-31315 files

LLVM/project 885e914llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-private.mir legalize-load-local.mir

Merge branch 'main' into users/schrodingerzhu/libc-use-tlsf-freestore
DeltaFile
+10,726-10,582llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+9,385-9,006llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+8,247-8,223llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+6,797-6,814llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+13,068-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-max-min-umax-umin.ll
+61,990-41,48118,054 files not shown
+1,136,473-690,03718,060 files

OpenBSD/src 8V4wAY5sys/dev/pci dwiic_pci.c

   match on Intel Wildcat Lake
VersionDeltaFile
1.36+7-1sys/dev/pci/dwiic_pci.c
+7-11 files

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

   regen
VersionDeltaFile
1.2135+249-1sys/dev/pci/pcidevs_data.h
1.2140+63-1sys/dev/pci/pcidevs.h
+312-22 files

OpenBSD/src 2RS5VUssys/dev/pci pcidevs

   add Intel Wildcat Lake ids

   from:
   Intel Core Processor (Series 3)
   Datasheet, Volume 1 of 2, Doc. No.: 913965, Rev.: 001
VersionDeltaFile
1.2147+63-1sys/dev/pci/pcidevs
+63-11 files

OpenBSD/src XrMkUIQshare/man/man7 mdoc.7

   SPECIFICATINS SPECIFACTIONS -> SPECIFICATIONS
VersionDeltaFile
1.196+5-5share/man/man7/mdoc.7
+5-51 files

NetBSD/src UOqlNzUsys/arch/hb68k/wrap030 wrap030.dts

   Control portion of ATA is only 4 bytes.
VersionDeltaFile
1.4+1-1sys/arch/hb68k/wrap030/wrap030.dts
+1-11 files

NetBSD/src Walnx4rsys/kern kern_proc.c

   proc_vmspace_getref: Take p->p_lock around p->p_sflag access.

   Prompted by reviewing the locking rules in;

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.286+29-8sys/kern/kern_proc.c
+29-81 files

NetBSD/src OSheefdsys/kern kern_proc.c

   sysctl kern.proc_args.*.cwd/pathname: Use p_reflock, not p_lock.

   - Avoid holding p_lock across copyout; this risks deadlock or panic
     if memory is exhausted and the uvm fault handler during copyout
     tries to deliver SIGKILL, which requires p_lock.

   - Avoid holding p_lock across vnode_to_path: this risks deadlock or
     panic if the file system, such as nfs, tries to check for pending
     signals, which requires p_lock.

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.285+11-10sys/kern/kern_proc.c
+11-101 files

LLVM/project 8e50ac6llvm/include/llvm/ProfileData SampleProfWriter.h, llvm/lib/ProfileData SampleProfWriter.cpp

[ProfileData] Avoid magic layout indices in SampleProfileWriter (NFC) (#215981)

This patch removes hardcoded section layout indices in
SampleProfileWriterExtBinary in favor of finding the first unwritten
matching entry in SectionHdrLayout.

Previously, writeDefaultLayout and writeCtxSplitLayout passed magic
integer indices to writeOneSection to specify the position of each
section in SectionHdrLayout.

This patch introduces findUnwrittenEntry to dynamically look up the
matching unwritten section entry in SectionHdrLayout and determine its
ordinal among sections of the same type.  This allows
writeDefaultLayout and writeCtxSplitLayout to iterate over declarative
arrays of sections without magic indices, and allows removing the
index-based addSectionFlag overload.

Assisted-by: Antigravity
DeltaFile
+34-43llvm/lib/ProfileData/SampleProfWriter.cpp
+21-20llvm/include/llvm/ProfileData/SampleProfWriter.h
+55-632 files

LLVM/project 0a110d7llvm/include/llvm/ProfileData SampleProf.h, llvm/lib/ProfileData SampleProfWriter.cpp SampleProf.cpp

[ProfileData] Remove SampleSorter (NFC) (#215941)

This patch removes SampleSorter in favor of direct iteration over
BodySamples and CallsiteSamples.

Originally, BodySamples and CallsiteSamples used DenseMap.  Because
DenseMap does not guarantee iteration order, SampleSorter was
introduced to sort samples by LineLocation on demand when printing or
writing text profiles.

In December 2015, commit 10cf124bb920 switched BodySamples and
CallsiteSamples from DenseMap to std::map to reduce memory usage, but
SampleSorter was retained.  Since std::map is already ordered by
LineLocation, SampleSorter is redundant.

Assisted-by: Antigravity
DeltaFile
+45-0llvm/test/tools/llvm-profdata/sample-profile-sort.test
+0-23llvm/include/llvm/ProfileData/SampleProf.h
+13-0llvm/test/tools/llvm-profdata/Inputs/sample-profile-sort.proftext
+3-9llvm/lib/ProfileData/SampleProf.cpp
+2-9llvm/lib/ProfileData/SampleProfWriter.cpp
+63-415 files

NetBSD/src 0piloFOsys/uvm uvm_map.c

   sysctl vm.proc.*: Use p_reflock, not p_lock.

   - Avoid holding p_lock across copyout; this risks deadlock or panic
     if memory is exhausted and the uvm fault handler during copyout
     tries to deliver SIGKILL, which requires p_lock.

   - Avoid holding p_lock across vnode_to_path: this risks deadlock or
     panic if the file system, such as nfs, tries to check for pending
     signals, which requires p_lock.

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.432+18-4sys/uvm/uvm_map.c
+18-41 files