[libc] Ignore `-Wliteral-range` in FP tests that deliberately use out-of-range literals (#237261)
Some checks in `sprintf_test.cpp` use `long double` literals that are
out of the type's usual range of 64-bit long double on purpose to test
that they are parsed to "inf" and the likes.
C23 §5.2.5.3.3 ¶19 and §F.2.2 ¶1 state that if infinity is supported
then the range of representable values is extended to cover all real
numbers with the same sign of that infinity. The need for a diagnostic
message is less clear however. The standard requires a diagnostic if the
constant falls outside the range, but in this case it doesn't because
the range is extended.
In any case, clang does emit a diagnostic warning, which gets in the way
of builds that treat warnings as errors.
This patch silences the warnings in these cases. The ultimate goal is to
re-enable `-Werror` in 32-bit builds.
NAS-145149 / 27.1.0 / Properly calculate new spare partition size (by themylogin) (#20186)
Partitions created by older releases can be larger than the default
partition. We need to pass the new spare size explicitly; otherwise, it
would silently follow the new rule and might be too small to be useful.
Original PR: https://github.com/truenas/middleware/pull/20164
Co-authored-by: themylogin <themylogin at gmail.com>
Keep the TrueSearch index on a data pool and replace mock tests
The boot pool cannot hold an encrypted dataset. The installer makes it
with compatibility=grub2, which leaves the encryption feature disabled.
So the system dataset spec has the TrueSearch index dataset only on a
data pool. TrueSearch does not run while the system dataset is on the
boot pool. There, unavailable_reasons gives only that reason.
The tables of the query filters are read-only mappings.
The unit tests used stand-ins for middleware. Now tests/unit keeps only
the tests of pure functions. The api2 tests use the system:
- The pwenc-encrypted dataset: its setup, the rekey of a configuration
upload, the pool unlock and the system dataset setup.
- The query refuses bad paths and paths that no index holds.
- The status while both daemons are stopped.
- A daemon that runs alone restarts with the other.
- Time Machine and home shares are not indexed.
dashboard: seperate widget init from start
This allows the save button to render immediately after restoring
the default dashboard without having to wait on the heavier
start routines
shader-slang: update to 2026.22
=== Breaking changes ===
- Mark synthesized constructors and witness wrappers artificial
- Fix HLSL loop variable declaration order
- Make the CUDA Gather offset overloads a capability error
- Restore nonmutating defaults for HLSL methods
=== All changes for this release ===
- Refresh agentic tests against current compiler and docs
- slang-test: check the exit code of diag= and .expected tests
- Skip loose portable ray-tracing module install in monolithic builds
- Mark synthesized constructors and witness wrappers artificial
- Remove ForceUnroll from the vector and matrix map macros
- Legalize resource selections across independent bindings
- Fix uniformity pass non-uniform parameter detection
- render-test: accept indented and /// TEST_INPUT directives
- WGSL: emit (u32(0) - x) for unsigned scalar negation
- CI: rename the static unit test jobs and run them in release
[31 lines not shown]
uipc_syscalls.c: add kern_ and user_ implementations
Rename accept1 and sendit to user_accept and user_sendit.
Effort: CHERI upstreaming
Sponsored by: Innovate UK
Pull Request: https://github.com/freebsd/freebsd-src/pull/2284
chromium: update to 157.0.8103.50
* 157.0.8103.50
This update includes 9 security fixes. Please see the Chrome Security Page for more information.
[N/A][550525698] High CVE-2026-125345: Uninitialized resource in WebGL. Reported by Google on 2026-08-21
[N/A][561996724] High CVE-2026-125347: Incorrect authorization in FileSystem. Reported by Google on 2026-09-15
[N/A][561998123] High CVE-2026-125343: Buffer overflow in Compositing. Reported by Google on 2026-09-15
[N/A][563358700] High CVE-2026-125348: Out of bounds write in GPU. Reported by Google on 2026-09-18
[N/A][568893995] High CVE-2026-125344: Type confusion in V8. Reported by Google on 2026-10-02
[TBD][572578603] High CVE-2026-125346: Use after free in XML. Reported by Arni Hardarson (Neonix Security) on 2026-10-12
[N/A][582442907] High CVE-2026-125350: Use after free in XML. Reported by anonymous on 2026-11-06
[N/A][536663516] Medium CVE-2026-125349: Uninitialized resource in GPU. Reported by Google on 2026-07-20
[TBD][566384898] Medium CVE-2026-125342: Uninitialized resource in GPU. Reported by Vo Duc Thang (ugvxb) on 2026-09-26
Google is aware that an exploit for CVE-2026-125350 exists in the wild.
[AMDGPU] IGLP: introduce instruction cache and fix static variables (#237774)
Replace global / class-level static variables with a small cache that is
directly attached to the iglp pseudo instruction.
This has been suggested in
https://github.com/llvm/llvm-project/pull/137549#discussion_r3076970527
and the following comment in that thread.
Note that this patch is intended to be NFC and doesn't fix broader
issues with the analysis re-use.
Some tests have been stolen from
https://github.com/llvm/llvm-project/pull/232728.
Claude assisted with this patch.
[AArch64] Load CC-widened vector stack arguments as their value type (#237946)
A CC-widened vector argument (<N x i1>, odd Lane counts like <3 x i32>)
passed on the stack was loaded as its bitconverted LocVT instead of the
CC value type, producing a part of the wrong type for getCopyFromParts –
a crash or silently wrong values, on either end for <3 x float>. Load
the value type instead; the memory image is the same either way.
Fixes #237850
[CHR] Don't attempt to fixup selects we can't handle (#236454)
CHR attempts to merge selects with integer and vector typed condition
without type verification, which triggers assertion in some LTO + PGO
builds.
Import libfprint2-1.94.100
libfprint is an open source software library designed to make it easy for
application developers to add support for consumer fingerprint readers to
their software.
This is a rewrite and continuation of security/libfprint (which we keep for
sysutils/login_fingerprint).
Both are installable alongside each other.
ok robert@