tests/libc/long_double: fix sparc64, skip unknown platforms
On sparc64, the sparc branch was previously taken.
Skip further platforms as the existing platforms already show enough
differences to warrant invoking undefined behavior.
tests/t_printf: add debug aid
On vax, the snprintf_float test can crash with SIGILL. To be able to
replay the random numbers, print the seed, to be independent from the
atf-run.log file, as that would involve additional guesswork.
Fix two EXECness issues
- when creating a WX mapping via pmap_enter mark the page as EXEC
- when pmap_protect adds X then ensure that pmap_page_syncicache is called
for the page.
fix sun2 build with MKDEBUG=yes, and MKLINT=yes:
- libgcc_eh_g.a, libgcc_s_g.a need to be marked as pic only builds
- llibipsec.ln libipsec_g.a need to be marked as ipsec only builds
- libnpf_g.a needs to be marked as npf only build
Re-factor the virt68k mm_md_physacc() into mm_md_physacc_regular(),
which is a common implementation that uses phys_seg_list[] to verify
the offset is in regular physical memory.
Add a mm_md_physacc() alias to mm_md_physacc_regular(), which makes it
the standard implementation for m68k platforms. If a platform wishes
to provide additional access beyond what phys_seg_list[] describes
(hp300 and x68k fall into this category), they merely need to provide
a mm_md_physacc() that adds their own filtering in addition to what
mm_md_physacc_regular() provides.
Remove several copies of mm_md_physacc() which were obviously just blind
copies of the hp300 version and incorrect for the platforms that copied
it (the hp300 has an oddball memory layout).
Import xz-5.8.3 (previous was 5.2.4)
5.8.3 (2026-03-31)
* liblzma:
- Fix a buffer overflow in lzma_index_append(): If
lzma_index_decoder() was used to decode an Index that
contained no Records, the resulting lzma_index was left in
a state where where a subsequent lzma_index_append() would
allocate too little memory, and a buffer overflow would occur.
The lzma_index functions are rarely used by applications
directly. In the few applications that do use these functions,
the combination of function calls required to trigger this bug
are unlikely to exist, because there typically is no reason to
append Records to a decoded lzma_index. Thus, it's likely that
this bug cannot be triggered in any real-world application.
[37 lines not shown]