git: 2dc5e14396cf - stable/15 - GENERIC: enable extended error strings on all archs

From: Siva Mahadevan <siva_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 15:18:33 UTC
The branch stable/15 has been updated by siva:

URL: https://cgit.FreeBSD.org/src/commit/?id=2dc5e14396cf2cce43af34a42dd219bf2b8d1048

commit 2dc5e14396cf2cce43af34a42dd219bf2b8d1048
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2025-07-15 16:45:24 +0000
Commit:     Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-06-26 15:16:43 +0000

    GENERIC: enable extended error strings on all archs
    
    This follows commit 3296fda0c309c873ae37a0a4e25ded3ae04b421c.
    
    PR:             289236
    Reviewed by:    kib
    MFC after:      3 days
    
    (cherry picked from commit f38cbefef8090f3363e5685c5a3b30ffbf1d3ad0)
---
 sys/amd64/conf/GENERIC   | 2 +-
 sys/arm/conf/std.armv7   | 1 +
 sys/arm64/conf/std.arm64 | 2 +-
 sys/i386/conf/GENERIC    | 1 +
 sys/powerpc/conf/GENERIC | 1 +
 sys/riscv/conf/GENERIC   | 1 +
 6 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 6f1b4993a849..d775b20653f6 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -27,7 +27,7 @@ options 	SCHED_ULE		# ULE scheduler
 options 	SCHED_4BSD		# Original 4.xBSD scheduler
 options 	NUMA			# Non-Uniform Memory Architecture support
 options 	PREEMPTION		# Enable kernel thread preemption
-options 	EXTERR_STRINGS
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
diff --git a/sys/arm/conf/std.armv7 b/sys/arm/conf/std.armv7
index 15d8304ae5f1..5c4281f3892d 100644
--- a/sys/arm/conf/std.armv7
+++ b/sys/arm/conf/std.armv7
@@ -3,6 +3,7 @@
 
 options 	HZ=1000
 options 	PREEMPTION		# Enable kernel thread preemption
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
diff --git a/sys/arm64/conf/std.arm64 b/sys/arm64/conf/std.arm64
index 2a1221d1b1d0..f9a7d9a2f7f4 100644
--- a/sys/arm64/conf/std.arm64
+++ b/sys/arm64/conf/std.arm64
@@ -7,7 +7,7 @@ makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
 options 	SCHED_ULE		# ULE scheduler
 options 	NUMA			# Non-Uniform Memory Architecture support
 options 	PREEMPTION		# Enable kernel thread preemption
-options 	EXTERR_STRINGS
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index dec49b37eecf..4ca900d0e434 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -29,6 +29,7 @@ makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
 
 options 	SCHED_ULE		# ULE scheduler
 options 	PREEMPTION		# Enable kernel thread preemption
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
diff --git a/sys/powerpc/conf/GENERIC b/sys/powerpc/conf/GENERIC
index 8720a2c27447..73a0e081b532 100644
--- a/sys/powerpc/conf/GENERIC
+++ b/sys/powerpc/conf/GENERIC
@@ -34,6 +34,7 @@ options 	PSERIES			# PAPR-compliant systems
 options 	FDT
 options 	SCHED_ULE		# ULE scheduler
 options 	PREEMPTION		# Enable kernel thread preemption
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index ee529feb49ab..9eb61862d504 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -25,6 +25,7 @@ makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
 
 options 	SCHED_ULE		# ULE scheduler
 options 	PREEMPTION		# Enable kernel thread preemption
+options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
 options 	VIMAGE			# Subsystem virtualization, e.g. VNET
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols