thunderbolt: Change len from int to size_t in router_prepare_{read,write}()
Suggested by: ngie
Reviewed by: ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59668
thunderbolt: Factor out router_prepare_cmd()
Common code between router_prepare_read() & router_prepare_write().
Eventually will be used by other commands (e.g. hotplugging) aswell.
Reviewed by: ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59668
thunderbolt: Support writing to router config space
Reviewed by: adrian, ngie
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49452
databases/mysql84-{client,server}: Fix MySQL Router plugin loading
MySQL Router fails to start when the configuration contains an
[http_server] section, as generated by mysqlsh:
Error: Loading plugin for config-section '[http_server]' failed:
libmysqlrouter_http_server.so.1: No space available for static
Thread Local Storage
Upstream compiles with -ftls-model=initial-exec, so router libraries
loaded through dlopen(3) have to be placed in the static TLS block.
libmysqlrouter_http_server.so.1 needs 272 bytes and libmysqlharness.so.1
another 32, while rtld reserves 128 bytes for objects loaded later.
The five rest_* plugins depend on http_server and fail along with it.
PR: 298483
Reported by: marko.cupac at mimar.rs
Sponsored by: Netzkommune GmbH
rangelock: Enable rl_q_owner tracking under INVARIANT_SUPPORT
This fixes the build for kernels with INVARIANT_SUPPORT but without
INVARIANTS.
Fixes: 2e376cca379b ("rangelock: Reimplement _rangelock_cookie_assert()")
comms/py-pynitrokey: Update nethsm dependency version range
security/py-nethsm has been updated to 3.0.0.
PR: 298490
Approved by: osa, vvd (Mentors, implicit)
security/py-nethsm: Update 2.1.2 => 3.0.0
While here, remove extra space before backslash in RUN_DEPENDS field.
Changelog:
- Breaking change: Return FullClusterJoinData instead of ClusterJoinData
from add_cluster_member (requires NetHSM v5)
https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v3.0.0
PR: 298489
Approved by: osa, vvd (Mentors, implicit)
dtrace/tests: compile D sources at runtime on test target
Previously, we would precompile D test dependencies using the
host's dtrace, which unconditionally outputs ELF files in the
host's format. This breaks the cross-compile build with errors
like the following:
dtrace: failed to link script: incorrect ELF machine type for
object file: tst.usdt.pieo
--- usdt.o ---
*** Failed target: usdt.o
This patch moves compilation to runtime for all C-based testcases
that have a dependent D source file.
Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59030
[2 lines not shown]
lib/googletest: also use -O0 for internal tests with GCC
This fixes the build with gcc 16's aggressive inlining.
Reviewed by: ngie
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59538
(cherry picked from commit 243bdaff75853606ce477807e87e4fbcc1decfb1)
tests/fusefs: fix the build with gcc 16
Reviewed by: asomers
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 0e3dae1ca8fc371eb5c451032adc5e0813b00db6)