libgeom: Fix segfault in 32-on-64 case
We were using strtoul() to parse object identifiers, which are kernel
pointers. This works fine as long as the kernel and userland match,
but in a 32-bit libgeom on a 64-bit kernel this will return ULONG_MAX
for all objects, resulting in memory corruption when we later pick the
wrong object while resolving consumer-producer references.
MFC after: 1 week
PR: 292127
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54452
libgeom: Improve type safety of xml2tree code
When resolving references, assert that the type of the object we find
is what we expect. This will help prevent memory corruption if two
objects of different types somehow end up with the same identifier.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54454
linuxkpi: Correct kstrtobool
Implement the exact same logic as in Linux:
* Accept 'e', 't', 'y', '1', "on" for true.
* Accept 'd', 'f', 'n', '0', "of" for false.
* Disregard any characters beyond that.
* Check that the string is not null, but don't check the result pointer.
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: bz, emaste
Differential Revision: https://reviews.freebsd.org/D54451
(math/R) pick the changes on patches/patch-configure.ac (2025/01/18 by brook)
----------------------------
revision 1.10
date: 2025-01-18 07:12:09 +0900; author: brook; state: Exp; lines: +4 -4; commitid: QwOyqo5qFRiL7TFF;
math/R: fix rpath flag in Makeconf
The R package installs a Makefile fragment, Makeconf, which includes
all the variable definitions required for R packages to compile
external programs. The variable LIBR0, defined by the configure
script, is inserted into Makeconf and contains the linker directory
search and rpath arguments. However, this variable passes the rpath
directory to the linker with -Wl,-R, which fails on Darwin. Instead,
use ${COMPILER_RPATH_FLAG}, which is set correctly for each platform.
While here, make the paths for -rpath and -L the same.
----------------------------
[clang-doc] Serialize type info for function parameters
Only the type name of function parameters were serialized, which was
left over from the old Mustache generator. Without the type info, the
fully qualified name of templated parameters wouldn't serialized.
devel/task: update to 3.46.4
v3.46.4 - 2025-12-24
* Fixed regressions in completion script for Fish.
v3.46.3 - 2025-12-19
* Fixed regression in completion script for zsh.
v3.46.2 - 2025-12-18
* Fixed a regression on previous release that affected variables passed
via command line.
v3.46.1 - 2025-12-18
Features
[57 lines not shown]
[clang][Tooling] Insert global module fragment during header insertion (#173724)
This patch makes `HeaderIncludes` to also insert a global module
fragment declaration (`module;`) when inserting a header when all of the
following conditions are met:
- The source file is a module unit;
- No tokens excluding comments and whitespaces exist before the module
declaration.
This patch detects the conditions by checking whether the first
declaration in the source file is a module declaration.
terraform-provider-vultr: update to 2.28.0
Enhancements
* data source/bare_metal_server: Add snapshot_id field
* resource/bare_metal_server: Add snapshot_id field
* data source/instance: Add snapshot_id field
* data source/instances: Add snapshot_id field
* resource/instance: Add snapshot_id & image_id fields
* data source/database: Add ca_certificate field
* resource/database: Add ca_certificate field
* resource/kubernetes: Migrate node pool labels and taints
* data source/kubernetes: Migrate node pool labels and taints
* resource/kubernetes_node_pool: Migrate node pool labels and taints
* data source/kubernetes_node_pool: Migrate node pool labels and taints
* resource/user: Add service_user field
* data source/user: Add service_user field
Dependencies
[15 lines not shown]
kubectl: update to 1.35.0
Changes by Kind
API Change
* Changed kuberc configuration schema. Two new optional fields added to
* kuberc configuration, credPluginPolicy and credPluginAllowlist. This is
* documented in KEP-3104 and documentation is added to the website by
* kubernetes/website#52877 [SIG API Machinery, Architecture, Auth, CLI,
Instrumentation and Testing]
* Enabled kubectl get -o kyaml by default. To disable it, set
KUBECTL_KYAML=false.
* Enabled in-place resizing of pod-level resources.
* Added Resources in PodStatus to capture resources set in the pod-level
cgroup.
* Added AllocatedResources in PodStatus to capture resources requested in
the PodSpec. [SIG API Machinery, Apps, Architecture, Auth, CLI,
Instrumentation, Node, Scheduling and Testing]
[123 lines not shown]
[clang-doc] Serialize an `Anonymous` JSON field for enums and records
Serializing an `Anonymous` field allows them to be excluded from the
HTML sidebar. Before, there would be several empty spaces in the sidebar
for anonymous enums. This patch also allows the same for anonymous
records, but since they're a GNU extension we don't handle them
explicitly yet.