FreeBSD/src aa02908tools/test/stress2/misc msdos24.sh msdos22.sh

tools/test/stress2/misc: Add msdosfs tests (currently failing)

Test msdos22.sh creates 1000 files with long random names consisting
of only ASCII characters. The mount is performed without -L option,
therefore no use of iconv to convert between character sets.

Test msdos23.sh mixes some non-ASCII characters into the file names.
The file system is therefore mounted with -L C.UTF-8 to include tests
of the conversions between UTF-8 and UTF-16.

Test msdos24.sh adds emojis to the names to test the (not yet
committed) support of UTF-16 surrogate pairs in filenames.

All 3 tests succeed with a small number of files (e.g., 10), but fail
most of the time when testing with 1000 files.

The tests have been added to all.exclude since they are expected to
fail. They shall be enabled as regression tests, when the msdosfs code
has been fixed.
DeltaFile
+80-0tools/test/stress2/misc/msdos24.sh
+79-0tools/test/stress2/misc/msdos22.sh
+79-0tools/test/stress2/misc/msdos23.sh
+3-0tools/test/stress2/misc/all.exclude
+241-04 files

LLVM/project 0ad051allvm/lib/Target/AMDGPU AMDGPUMIRFormatter.cpp, llvm/test/CodeGen/AMDGPU expert_scheduling_gfx12.mir waitcnt-preexisting.mir

[AMDGPU][MIRFormatter] S_WAIT_LOADCNT_DSCNT human-readable mask (#200059)

This patch implements a printer and parser for the S_WAIT_LOADCNT_DSCNT
mask. It prints the mask in a human-readable format, showing the counter
values like: `Loadcnt_<NUM>_Dscnt_<NUM>`.

The format matches the printing style of S_WAITCNT_DEPCTR. For example:
```
  S_WAIT_LOADCNT_DSCNT .Loadcnt_0_Dsccnt_0
  S_WAIT_LOADCNT_DSCNT .Dsccnt_2
  S_WAIT_LOADCNT_DSCNT .AllOff
```
Counters at their maximum value (meaning "don't wait") are omitted. When
all counters are at max, `.AllOff` is printed.
DeltaFile
+143-0llvm/test/CodeGen/MIR/AMDGPU/s_wait_loadcnt_dscnt-errors.mir
+91-0llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.cpp
+90-0llvm/test/CodeGen/MIR/AMDGPU/s_wait_loadcnt_dscnt.mir
+29-29llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+20-20llvm/test/CodeGen/AMDGPU/waitcnt-preexisting.mir
+9-9llvm/test/CodeGen/AMDGPU/waitcnt-gfx1250.mir
+382-5814 files not shown
+426-9520 files

LLVM/project 398573ellvm/utils/lit/lit Test.py

[lit] Make MetricValue a proper abstract base class (#200187)

Currently, `MetricValue` signals abstract methods by raising
`RuntimeError("abstract method")` at runtime. This means a subclass that
forgets to implement `format()` or `todata()` is only caught when the
method is actually called.

This change makes `MetricValue` inherit from `abc.ABC` and decorates
`format` and `todata` with `@abc.abstractmethod`. All three existing
subclasses (`IntMetricValue`, `RealMetricValue`, `JSONMetricValue`)
already implement both methods. No change in behavior.

Signed-off-by: Prasoon Kumar <prasoonkumar054 at gmail.com>
DeltaFile
+4-3llvm/utils/lit/lit/Test.py
+4-31 files

LLVM/project bf8e8c2llvm/tools/llubi/lib Context.cpp Value.h

[llubi] Map tags into provenances (#200236)

This patch adjusts https://github.com/llvm/llvm-project/pull/185977 to
generate tags for provenances (i.e., pointer components excluding
addresses), instead of memory objects. This allows us to distinguish
between `read_provenance` and `provenance`. See the original comment in
https://github.com/llvm/llvm-project/pull/185977#discussion_r3310861793.

Currently, tags are only generated for those pointer components
associated with a known memory object. We may need some special tags for
`capture(address)`-only pointers and the result of inttoptr (wildcard
provenance) in the future.
DeltaFile
+26-27llvm/tools/llubi/lib/Context.cpp
+44-7llvm/tools/llubi/lib/Value.h
+9-19llvm/tools/llubi/lib/Context.h
+8-2llvm/tools/llubi/lib/Value.cpp
+87-554 files

LLVM/project 7dcce4clldb/source/Plugins/Process/Windows/Common DebuggerThread.cpp

[lldb][windows] fix scope_exit warning (#200439)

Using the constructor rather than `make_scope_exit` is preferred.
DeltaFile
+1-1lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
+1-11 files

LLVM/project a8a988bclang/test/CIR/CodeGen thunks.cpp vtt.cpp, clang/test/CIR/CodeGenCXX vtable-linkage.cpp

[CIR]Fix CIR Test failures after unnamed_addr removed from vtables (#200435)

See #200108 and #197855 for the cause. We weren't generating this
anywhere in our code, so it is only OGCG check lines that got changed.
DeltaFile
+5-5clang/test/CIR/CodeGen/thunks.cpp
+4-4clang/test/CIR/CodeGen/vtt.cpp
+3-3clang/test/CIR/CodeGen/multi-vtable.cpp
+2-2clang/test/CIR/CodeGen/virtual-function-calls.cpp
+2-2clang/test/CIR/CodeGen/vtable-linkage-explicit-instantiation.cpp
+2-2clang/test/CIR/CodeGenCXX/vtable-linkage.cpp
+18-182 files not shown
+20-208 files

LLVM/project ec29928llvm/lib/CodeGen LiveRegMatrix.cpp

[RegAlloc][LiveRegMatrix] Added validity check between VRM and LRM.

Check that every VRM-assigned vreg with a non-empty live interval
must have its segments in the Matrix for its assigned physical reg.

Assisted-by: Cursor/Claude Opus
DeltaFile
+45-1llvm/lib/CodeGen/LiveRegMatrix.cpp
+45-11 files

FreeBSD/src f6911b9sys/sys signal.h

sys: Renumber MTE SEGV codes

Some third party software expects these to not conflict. As the MTE
support isn't fully in the tree, and these values aren't in a release
we can renumber them without any backwards compatibility issues.

Sponsored by:   Arm Ltd
DeltaFile
+2-2sys/sys/signal.h
+2-21 files

FreeBSD/src 1a5ab1dsys/kern kern_time.c

Revert "kern_time: Honor the precise option when counting diff"

This will not work because this kernel version does not support a
precise option. We handle the clock uniformly in all cases.

This reverts commit 3886f1b488e47eba98e1523f85cb570694e97385.
DeltaFile
+1-3sys/kern/kern_time.c
+1-31 files

LLVM/project d043ec8lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

[lldb] Avoid trie prefix recompuation (NFC) (#200026)

Avoid O(depth) string concatenations for every symbol in the Mach-O
exports trie.

This change uses a string to track the current trie prefix, instead of a
vector of substrings. Instead of pushing and popping on the vector, the
string is appended and truncated.

Assisted-by: claude
DeltaFile
+11-16lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+11-161 files

LLVM/project c4346f2llvm/include/llvm/Transforms/Utils AssignGUID.h, llvm/lib/CodeGen GlobalMerge.cpp

Ignore `!guid` metadata when merging globals or constants (#200323)

Follow up from PR #184065. Since globals or constants would now have
their GUID pre-calculated and affixed with metadata, we need to tolerate
its presence when merging. To that effect, we rename (and change
accordingly) `GlobalObject::hasMetadataOtherThanDebugLoc` to
`...AndGuid`.

In the case of Constants, they are merged into one of them, which then
keeps its guid, while the rest are erased. In the case of
GlobalVariables, a new one is created, and we will give it its own guid.
DeltaFile
+38-0llvm/test/Transforms/GlobalMerge/guid.ll
+12-8llvm/lib/CodeGen/GlobalMerge.cpp
+10-1llvm/lib/Transforms/Utils/AssignGUID.cpp
+4-4llvm/lib/Transforms/IPO/ConstantMerge.cpp
+7-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+2-2llvm/lib/IR/Globals.cpp
+73-152 files not shown
+75-168 files

FreeBSD/ports f60e436accessibility/darkman Makefile distinfo

accessibility/darkman: Update 2.0.1 => 2.3.1, adopt port

Port changes:
* Move to seperate pkg-plist.
* Add EXAMPLES option for a collection of few shell scripts.
* Remove unneeded MANPAGES_DEPENDS since it's native now.
* Remove extinct patchings from post-patch.
* Silence mkdir(1) calls.
* Also install darkman.conf.5 and darkman.desktop files.

Changelog:
https://gitlab.com/WhyNotHugo/darkman/-/blob/v2.3.1/CHANGELOG.md?ref_type=tags

PR:             295547
Reported by:    Pierre-Alain TORET <pierre-alain+freebsd at toret.fr>
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2

(cherry picked from commit f6760103998a1c6f266d5d91721b2bb6987c049b)
DeltaFile
+25-36accessibility/darkman/Makefile
+9-15accessibility/darkman/distinfo
+18-0accessibility/darkman/pkg-plist
+52-513 files

FreeBSD/ports f676010accessibility/darkman Makefile distinfo

accessibility/darkman: Update 2.0.1 => 2.3.1, adopt port

Port changes:
* Move to seperate pkg-plist.
* Add EXAMPLES option for a collection of few shell scripts.
* Remove unneeded MANPAGES_DEPENDS since it's native now.
* Remove extinct patchings from post-patch.
* Silence mkdir(1) calls.
* Also install darkman.conf.5 and darkman.desktop files.

Changelog:
https://gitlab.com/WhyNotHugo/darkman/-/blob/v2.3.1/CHANGELOG.md?ref_type=tags

PR:             295547
Reported by:    Pierre-Alain TORET <pierre-alain+freebsd at toret.fr>
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2
DeltaFile
+25-36accessibility/darkman/Makefile
+9-15accessibility/darkman/distinfo
+18-0accessibility/darkman/pkg-plist
+52-513 files

LLVM/project 6c9542cllvm/lib/CodeGen/AsmPrinter DwarfDebug.h DwarfDebug.cpp, llvm/lib/Target/NVPTX NVPTXDwarfDebug.cpp NVPTXDwarfDebug.h

Add NVPTX DW_AT_LLVM_language_dialect emission. (#200003)

This PR makes use of the recently introduced DW_AT_LLVM_language_dialect
attribute. Currently, no other targets emit this compile unit DWARF
attribute ; however, this PR changes that. NVPTX can optionally emit a
dialect based on the type of input being compiled (e.g., from a Tile
frontend or traditional CUDA (SIMT) frontend).

- DwarfDebug: add finishTargetUnitAttributes virtual hook so backends
can finalize per-CU attributes.
- NVPTX: override the hook to emit DW_AT_LLVM_language_dialect
(DW_FORM_data1) for the simt and tile dialects, suppressing emission and
warning (per-CU deduplicated) for unknown values.

(Co-developed via LLM)
DeltaFile
+75-0llvm/test/DebugInfo/NVPTX/language-dialect.ll
+15-0llvm/lib/Target/NVPTX/NVPTXDwarfDebug.cpp
+4-0llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+3-0llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+2-0llvm/lib/Target/NVPTX/NVPTXDwarfDebug.h
+99-05 files

FreeNAS/freenas ce3ccccsrc/middlewared/middlewared/pytest/unit/utils test_cpu_temperatures.py test_cpu_info_impl.py, src/middlewared/middlewared/utils sensors.py cpu.py

Merge branch 'master' of https://github.com/truenas/middleware into NAS-135885
DeltaFile
+733-206src/middlewared/middlewared/pytest/unit/utils/test_cpu_temperatures.py
+0-481src/middlewared/middlewared/utils/sensors.py
+347-0src/middlewared/middlewared/utils/cpu/hwmon.py
+329-0src/middlewared/middlewared/pytest/unit/utils/test_cpu_info_impl.py
+0-232src/middlewared/middlewared/utils/cpu.py
+231-0src/middlewared/middlewared/utils/cpu/temperatures.py
+1,640-91916 files not shown
+2,310-1,04322 files

FreeBSD/ports bcd76c5news/newsx Makefile distinfo

news/newsx: Fix CVE-2008-3252

Security:       CVE-2008-3252
DeltaFile
+4-1news/newsx/Makefile
+3-0news/newsx/distinfo
+7-12 files

FreeBSD/src 8514990tests/sys/mac/do consistency.sh Makefile

MAC/do: Add consistency tests

Test that:
1. Concurrent changes to different parameters on the same jail are
   independent/atomic.
2. Inheritance works.
3. Relaxing only parent jail rules does not leak to a subjail thanks to
   sequential consistency.
4. Sysctl knobs and jail parameters stay consistent.

Some of these tests may be extended in the future with several layers of
jails (there is only a single subjail currently).

Reviewed by:    bapt
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+211-0tests/sys/mac/do/consistency.sh
+1-1tests/sys/mac/do/Makefile
+212-12 files

FreeBSD/src a95ff5etests/sys/mac/do common.sh

MAC/do: Tests: Add support for exec paths, jail parameters, subjails

And also allow configuration of the mdo(1) executable path.

This commit only contains new or modified infrastructure.  No functional
change intended at this point.

Reviewed by:    bapt
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+110-9tests/sys/mac/do/common.sh
+110-91 files

FreeBSD/src 33daea3tests/sys/mac/do invalid_configs.sh valid_configs.sh

MAC/do: Tests: Quote the source directory

In a standard test suite installation, this is not necessary, but be
bullet-proof to custom ones, however improbable.

Reviewed by:    bapt
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+1-1tests/sys/mac/do/invalid_configs.sh
+1-1tests/sys/mac/do/valid_configs.sh
+2-22 files

FreeBSD/src 6159187tests/sys/mac/do common.sh Makefile

MAC/do: Tests: Declare required programs closer to use

Reviewed by:    bapt
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+2-0tests/sys/mac/do/common.sh
+0-1tests/sys/mac/do/Makefile
+2-12 files

FreeBSD/src b0c948ftests/sys/mac/do invalid_configs.sh valid_configs.sh

MAC/do: Tests: Fix copyrights

No comma needed after a single year.  Add SPDX.

Reviewed by:    bapt
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+3-1tests/sys/mac/do/invalid_configs.sh
+3-1tests/sys/mac/do/valid_configs.sh
+2-1tests/sys/mac/do/common.sh
+8-33 files

FreeBSD/src 79a987atests/sys/mac/do invalid_configs.sh valid_configs.sh

MAC/do: Tests: Remove shebang lines

They are automatically added by <bsd.test.mk>.

Reviewed by:    bapt
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+0-2tests/sys/mac/do/invalid_configs.sh
+0-2tests/sys/mac/do/valid_configs.sh
+0-42 files

FreeBSD/src 3981865share/man/man4 mac_do.4

mac_do.4: Document executable paths, default jail values and consistency

While here, fix the bug of mentioning 'enable' as a possible value for
the 'mac.do' jail parameter whereas it is 'new' instead.

Reviewed by:    bapt
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+143-46share/man/man4/mac_do.4
+143-461 files

LLVM/project 99b5ebdllvm/test/Transforms/InstCombine sub-xor.ll

[InstCombine] Replace undef with poison in a test (#199757)

This is intended as part of the effort to deprecate undef. The
additional wrap-flags are due to the fact that the add can no longer
overflow with poison, but could overflow with undef.

Alive2 proof: https://alive2.llvm.org/ce/z/qiRYcQ
DeltaFile
+5-5llvm/test/Transforms/InstCombine/sub-xor.ll
+5-51 files

FreeBSD/src fcb0018sys/security/mac_do mac_do.c

MAC/do: Update copyright

Update years for the Foundation.

While here, remove the initial '/*-' which has been useless for a long
time.

While here, add a missing space on bapt@'s copyright line (approved by
him).

Reviewed by:    bapt
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+3-3sys/security/mac_do/mac_do.c
+3-31 files

LLVM/project dc40fccllvm/lib/Target/WebAssembly WebAssemblyLateEHPrepare.cpp, llvm/test/CodeGen/WebAssembly exception.ll

[WebAssembly] Avoid crash in LateEHPrepare with empty cleanup pads (#200322)

WebAssemblyLateEHPrepare::addCatchRefsAndThrowRefs was using
Catch->getIterator()->getNextNode() to find the insertion position
after the CATCH (or CATCH_ALL) instruction in an EH pad.
If the CATCH/CATCH_ALL instruction is the last instruction in the basic
block, getNextNode() returns nullptr, which causees a crash when passed
to BuildMI. This patch fixes it by using std::next(Catch->getIterator())
which returns MBB.end() if the catch is the last instruction, and the
overload of BuildMI that takes an iterator correctly handles BB.end().

Fixes #197077

Assisted-By: Gemini
DeltaFile
+27-0llvm/test/CodeGen/WebAssembly/exception.ll
+2-1llvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
+29-12 files

FreeBSD/src 1fa1e3fsys/security/mac_do mac_do.c

MAC/do: Do not skip blanks when parsing executable paths

The kind of tolerance we apply to parsing rules, whose format we have
defined, cannot be applied to paths since blank characters are allowed
there.

There is still the limitation that no escape character is currently
supported, and so it is not possible to configure a path having a ':'
character.

Reviewed by:    bapt
Fixes:          9818224174c4 ("MAC/do: Executable paths feature (GSoC 2025's final state)")
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/38
DeltaFile
+1-1sys/security/mac_do/mac_do.c
+1-11 files

FreeBSD/src 4c98f7asys/security/mac_do mac_do.c

MAC/do: Serialize installing/modifying some jail's configuration

See the immediately preceding commit for explanations on what this is
fixing.

When setting 'mac.do' to 'inherit' on a jail with 'mac.do.rules' and
'mac.do.exec_paths' also specified in the same call, ensure that the
check that these passed parameters are the same as those to be inherited
is atomic with respect to enabling the inheritance (i.e., removing the
jail's 'struct conf' object).  (See previous commit "MAC/do: Fix the
recent logic to set jail parameters, make it more tolerant" as for why
this check exists.)

Because we currently only modify a single configuration object per
transaction, we introduce the parse_and_commit_conf() wrapper around
parse_and_set_conf() to remove duplicated code that would ensue from
calling the latter directly, namely, releasing the 'mac_do_rwl' lock and
freeing the old configuration object (if any).


    [9 lines not shown]
DeltaFile
+76-23sys/security/mac_do/mac_do.c
+76-231 files

FreeNAS/freenas 2c6478dsrc/middlewared/middlewared/pytest/unit datastore_harness.py test_get_or_insert.py, src/middlewared/middlewared/pytest/unit/plugins conftest.py test_datastore.py

improper use of conftest.py
DeltaFile
+51-0src/middlewared/middlewared/pytest/unit/datastore_harness.py
+0-51src/middlewared/middlewared/pytest/unit/plugins/conftest.py
+1-1src/middlewared/middlewared/pytest/unit/plugins/test_datastore.py
+1-1src/middlewared/middlewared/pytest/unit/plugins/test_crud_query_extend_order_by.py
+1-1src/middlewared/middlewared/pytest/unit/plugins/test_interface_link_address.py
+1-1src/middlewared/middlewared/pytest/unit/test_get_or_insert.py
+55-556 files

FreeBSD/src 0db7f11sys/security/mac_do mac_do.c

MAC/do: Support for atomically modifying configurations

As mentioned in previous commits "MAC/do: parse_and_set_conf(): Require
the model configuration" and "MAC/do: Sequential consistency for
configuration retrieval", the introduction of the "executable path"
feature, more fundamentally, the fact that there is now more than one
per-jail parameter and that parameters can be independently modified or
copied, causes an atomicity problem in case of concurrent accesses to of
a jail's applicable configuration.

Partially modifying a configuration is indeed akin to
a read-modify-write operation, where the read is either to the current
or an inherited configuration.  More precisely, once pointed to by
a jail, a configuration object is immutable, and changing the jail's
configuration means making the jail point to another configuration
object.  To change a jail's configuration, a new configuration object is
thus built, and if only some parameters have been explicitly specified,
those that have not been are set by copying the corresponding values
from an existing configuration object (in case of partial modification

    [34 lines not shown]
DeltaFile
+49-15sys/security/mac_do/mac_do.c
+49-151 files