git: f38cbefef809 - main - GENERIC: enable extended error strings on all archs

From: Siva Mahadevan <siva_at_FreeBSD.org>
Date: Tue, 16 Jun 2026 15:02:04 UTC
The branch main has been updated by siva:

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

commit f38cbefef8090f3363e5685c5a3b30ffbf1d3ad0
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2025-07-15 16:45:24 +0000
Commit:     Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-06-16 15:01:32 +0000

    GENERIC: enable extended error strings on all archs
    
    This follows commit 3296fda0c309c873ae37a0a4e25ded3ae04b421c.
    
    PR:             289236
    Reviewed by:    kib
    MFC after:      3 days
---
 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 1376011de4ee..f9cef6c71d67 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 4ef60c331212..1f8e93fe53f3 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 8069703626c9..5f02a0291721 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 595683883686..5f1e81b46129 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 f0aacb49f6e1..155a8c4eeeb5 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 cce2787ed5d7..ec248bd38813 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