x86: remove sys/mount.h from genassym.c
The header is not needed, and causes some issues with build because it
requires vnode_if.h generated due to transient dependency from vnode.h.
While there, remove unneeded explicit sys/cdefs.h and sys/param.h usage.
Reported and tested by: thierry
Fixes: 1d5e4020e36e ("vnode: add VIRF_KNOTE flag")
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
devel/uv: fix build on armv7
Disabling LTO makes the build scrape just below the address space limit
on 32 bit platforms.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
(cherry picked from commit f5fd3711e1dabd027d6a6f7a07c52cf99be756c8)
devel/uv: fix build on armv7
Disabling LTO makes the build scrape just below the address space limit
on 32 bit platforms.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
rtnetlink: Check for allocation failure in nlattr_get_multipath()
Check for alloction failure on `npt_alloc()` for RTA_MULTIPATH
attributes in `nlattr_get_multipath()`.
Reported by: Joshua Rogers of AISLE Research Team
Reviewed by: markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D56954
(cherry picked from commit 188631e43a1a5d2985156141c2e244a925670683)
lang/rust: fix build on armv7
This grabs an upstream commit integrated into rust 1.95 and backports it
to rust 1.94 for 2026Q2. The commit reduces the number of TLS keys used
in the fallback TLS implementation, just so ensuring we can build the
rust toolchain without running out.
A more comprehensive fix will be committed for the main branch in the
coming days.
PR: 294545
Obtained from: https://github.com/rust-lang/rust/pull/151382
Approved by: mikael (rust)
rtnetlink: Align RTA_MULTIPATH length validation in nlattr_get
Fix length validation of RTA_MULTIPATH attributes in
nlattr_get_multipath() by making sure the user request is align.
PR: 295102
Reported by: Robert Morris <rtm at lcs.mit.edu>
Reviewed by: markj
Fixes: 7e5bf68495cc ("netlink: add netlink support")
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D56963
(cherry picked from commit 4329663a861ef74796b79b6b0872cfe10d31c591)
sysutils/firstboot-pkg-upgrade: 1.1 -> 1.2
If a list of repositories has been specified, only run 'pkg update'
on those repositories; in particular, avoiding downloading the entire
FreeBSD-ports repository when we're not going to be using it allows
FreeBSD/EC2 instances (and presumably those other clouds too) to
launch roughly 5 seconds faster.
Reviewed by: ziaee
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D57033
(cherry picked from commit ac4933ff6f18f126fbf9bc72f1ab9451c9355f29)
sysutils/firstboot-pkg-upgrade: 1.1 -> 1.2
If a list of repositories has been specified, only run 'pkg update'
on those repositories; in particular, avoiding downloading the entire
FreeBSD-ports repository when we're not going to be using it allows
FreeBSD/EC2 instances (and presumably those other clouds too) to
launch roughly 5 seconds faster.
Reviewed by: ziaee
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D57033