[x86] De-type getMinimalPhysRegClass uses (NFC) (#198332)
Pulled out of #197495 which is de-typing this API. There's very few uses
of this API with a type across the whole codebase and only three in x86
related to callee-saves where an RC can instead be chosen directly.
textproc/markless: New port: Terminal markdown viewer and editor
Markless is a terminal markdown viewer and editor with image support.
It focuses on fast navigation and clear rendering for lengthy
documents.
Features include:
- Markdown rendering with syntax highlighting
- Image support in terminal
- Mermaid diagram rendering
- LaTeX math rendering via Typst
- CSV table rendering
- File watching for live updates
WWW: https://github.com/jvanderberg/markless
[AMDGPU] De-type getMinimalPhysRegClass uses (NFC) (#198301)
Pulled out of #197495 which is de-typing this API. There's very few uses
of this API with a type across the whole codebase and only two in AMDPU.
No test fallout when dropping the type from these calls, so I'm assuming
they're not necessary.
firewall: fold legacu DHCPv6 rules a bit more
track6 can test on its own and in this case the presence of the
plugin is also required for automatic configuration mode to work.
[libc] Migrate socket syscall wrappers to syscall_checked (#198241)
Also update the file headers while I'm at it. Move includes into a
single block so that clang-format can enforce a consistent ordering. Fix
a couple of discrepancies in the cmake file.
Assisted by Gemini.
[alpha.webkit.UncountedCallArgsChecker] Check arguments of function pointers (#188162)
This PR fixes a hole in WebKit's static analysis that we weren't
checking the soundness of argumnets to a function call via a (member)
function pointer.
[alpha.webkit.UncountedCallArgsChecker] Emit a warning for a WeakPtr argument. (#184563)
This PR fixes a bug in UncountedCallArgsChecker that it would not emit a
warning when a function is called with a WeakPtr local variable as an
argument.
We normally don't generate a warning for a local variable passed to a
function argument in UncountedCallArgsChecker as the variable may have a
guardian in an outer scope but only UncountedLocalVarsChecker is capable
of locating one. So rather than generating a warning in
UncountedCallArgsChecker directly, we rely on UncountedLocalVarsChecker
to generate a warning for the local variable.
This all falls apart in the case of a WeakPtr local variable because a
WeakPtr is explicitly allowed as a local variable by
UncountedLocalVarsChecker.
So, this PR fixes the bug by detecting this exact scenario (a WeakPtr
local variable used as a function argument), and generate a warning
[7 lines not shown]
net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors
These are the last two uses of the wk_rxmic / wk_txmic macros.
Everything should be using the accessor methods at ths point.
Reviewed by: bz
Differential Revision: https://reviews.freebsd.org/D54790
iwx: clean up / document noise floor and RSSI fetching
* Document what iwx_rxmq_get_signal_strength() is doing in a comment,
noting what the firmware returns and what math is being done on it
to turn it into a dBm value.
* Document what iwx_get_noise() is supposed to do, that we can't just
go do math with log numbers like we're doing, but also that we're
seeing zeros in this firmware (AX210), which may mean we're decoding
using the wrong structs.
* Swizzle around the RSSI calculation as a function, add min/max RSSI
values, and calculate RSSI against the noise floor.
* And handle the lowest noise floor value - it can't be -127dBm as
that will throw things off. Cap it at -100dBm which is a little
lower than the thermal noise floor at 20MHz (-98dBm), but it matches
IWX_MIN_DBM.
Differential Revision: https://reviews.freebsd.org/D53780
[RISCV] Add assembler and disassembler support for Xqccmt extension (#197673)
Xqccmt is Qualcomm's vendor extension providing compressed (16-bit) jump
table instructions, equivalent to (and mutually exclusive with) the
standard Zcmt extension.
Two instructions are added:
- qc.cm.jt (index 0-31): jump via table, no link register written
- qc.cm.jalt (index 32-255): jump via table with link; bit 0 of the jump
table entry selects the link register at runtime: 0 = ra (x1), 1 = t0
(x5)
The encoding is identical to cm.jt/cm.jalt from Zcmt. Xqccmt and Zcmt
are mutually exclusive and cannot be combined. Xqccmt is also
incompatible with Zcd (overlapping encoding space).
Spec: https://github.com/riscv/riscv-unified-db/pull/1788
openal-soft: updated to 1.25.2
openal-soft-1.25.2:
Fixed the library version string for builds made without Git repo info.
Fixed an STL hardening assertion in the reverb effect.
Fixed a potential crash for builds made with older PipeWire headers.
Fixed capturing mono from a stereo or greater WASAPI input device.
Fixed building on macOS without std::format.
Fixed height encoding for TSME output.
Fixed the Super Stereo decoder's stereo separation with TSME output.
Implemented 3D processing for the Distortion, Chorus, Flanger, Pitch
[14 lines not shown]
relayd: add support for the MKCALENDAR HTTP method
relayd is missing this method from the WebDAV/CalDAV extensions. This causes
issues when using relayd as a reverse proxy in front of CalDAV servers like
Nextcloud.
OK kirill@
lang/micropython: upgrade to 1.28.0
- Add mbedtls and micropython-lib submodules via GH_TUPLE
- Use POSIX semaphores for mp_thread_mutex_t to fix cross-thread unlock
on FreeBSD (PTHREAD_MUTEX_ERRORCHECK rejects non-owner unlock with EPERM)
- Remove -Werror from mpy-cross and unix port Makefiles
- Fix select_poll_fd test: FreeBSD poll(2) checks kern.maxfilesperproc
(not RLIMIT_NOFILE), so print SKIP instead of assert False when 6000
fds do not trigger EINVAL
- Update ffi test patches for FreeBSD libc.so.7
- Compile ffi_lib.so in pre-test for ffi_int_* tests
[lldb][bytecode] Add GetParent and Clone selectors (#197312)
`GetParent` and `Clone` are needed to implement a `std::optional<T>`
data formatter for libc++.
Add sambat(4), a battery monitor for the SAM060B EC, like found on the
Samsung Galaxy Book4 Edge.
Thanks to Maxim Storetvedt for pointing us to the reversed engineering
specs.
Initial feedback and input from kettenis@.
ok deraadt@