bsdinstall: do pkgbase installations with the "script" command
"bsdinstall script" will now do a pkgbase installation by default. The
system components to install can be specified in the COMPONENTS
variable, and have the same names as those used in the interactive
installer. bsdinstall will still do a legacy distset installation if
DISTRIBUTIONS is defined in the installerconfig file.
PR: 290375
Sponsored by: ConnectWise
Reviewed by: ziaee, ivy, jduran
Differential Revision: https://reviews.freebsd.org/D56717
(cherry picked from commit dc14ae4217a0babb1240f813b642edc2d7b955a6)
[Instrumentor] Add support for modules and globals
We can emit callbacks when a module is loaded/unloaded and before
globals are initialized. Both happens in newly introduced constructors
and destructors.
[NFC][IR] Use `isa<ConstantPointerNull>` instead of `isNullValue` for pointer null checks (#197512)
This PR replaces `isNullValue()` with `isa<ConstantPointerNull>()` in
core IR files where the check is semantically testing for a null pointer
rather than a generic zero value. This makes the intent explicit and
prepares for future non-zero null pointer support.
[Instrumentor] Add a global function regexp to limit the instrumentation (#196234)
Only functions that match the "function_regex" will be instrumented, or
if they have the instrumentation attribute.
devel/cproto: Update 4.7y => 4.8
Changelog:
2026/05/12 (4.8)
- modify --with-trace option to separate it from doalloc(), which is now
a configure option --enable-doalloc
- add __int128 and other gcc extensions to keywords (Debian #1121161)
- improve configure script checks, reducing warnings
- update config.guess, config.sub
https://invisible-island.net/cproto/CHANGES.html#index-t20260512
Also drops files/patch-system.h, which is obsoleted by AC_PROG_CPP
in upstream's configure.in. autoconf now detects "cc -E" on FreeBSD
at configure-time and writes it into config.h, which is semantically
better than the hardcoded /usr/bin/cpp the downstream patch provided.
PR: 295264
Sponsored by: UNIS Labs
[MemoryBuiltins][NFC] Allow users to retrieve detailed (de)allocation info
There are some helpers to inspect a value or call but not all
information about the (de)allocation are made available outside of
MemoryBuiltins.cpp. The two new functions allow users a more in-depth
view of (de)allocations through a single API.
[MemoryBuiltins][NFC] Allow users to retrieve detailed (de)allocation info
There are some helpers to inspect a value or call but not all
information about the (de)allocation are made available outside of
MemoryBuiltins.cpp. The two new functions allow users a more in-depth
view of (de)allocations through a single API.
config: Expose VERSION_MAJOR and VERSION_MINOR
This simplifies base system package upgrades enormously for the
bulk of users, who have not configured custom repositories:
pkg -o VERSION_MINOR=1 upgrade -r FreeBSD-base
Allows a user to go from 15.0-RELEASE to 15.1.
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fixes from Paolo Bonzini:
"arm64:
- Add the pKVM side of the workaround for ARM's erratum 4193714,
provided that the EL3 firmware does its part of the job. KVM will
refuse to initialise otherwise
- Correctly handle 52bit VAs for guest EL2 stage-1 translations when
running under NV with E2H==0
- Correctly deal with permission faults in guest_memfd memslots
- Fix the steal-time selftest after the infrastructure was reworked
- Make sure the host cannot pass a non-sensical clock update to the
EL2 tracing infrastructure
[72 lines not shown]
[Bazel] Pull in common incompatibility flags from BCR testing (#197326)
This change brings in flags which disable legacy behavior to discourage
incompatibilities being introduced for future versions of Bazel.
[SSAF] Remove UnsafeBufferUsageTest.h (#195201)
The idea is that we do not want to have test-only functionality in any
interface.
We have lit tests
(clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-serialization.test)
covering the removed unit test.
---------
Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
Co-authored-by: Jan Korous <jkorous at apple.com>
[Instrumentor] Add a property filter for static properties
The user can define static filters in the json to limit instrumentation
to opportunities that match the static expression, e.g., is_volatile==1.
The matcher logic is pretty basic for now. Integer comparisons, string
equalities and startswith are supported.
The commit was prepared with Claude (AI) and proofread/tested by me.
[DirectX] Verify root signature version before parsing metadata (#196667)
This patch modifies the logic when parsing root signature metadata so
the version is validated before parsing it.
Fix: https://github.com/llvm/llvm-project/issues/196652
[libc] Build with -Wshadow (#197516)
This relands #196519. It now only enables the warning for
clang 22 and newer, since older versions had false positives.