HomeFreeBSD

exterror: Add EXTERROR_VERBOSE env variable to control verbosity

Description

exterror: Add EXTERROR_VERBOSE env variable to control verbosity

If the variable is set and the process is not suid, __uexterr_format(),
used by err(3), prints errno/category/source line/pX always, not only
when there is no kernel message provided.

Requested by: mckusick
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380

Details

Provenance
kibAuthored on Dec 28 2025, 12:23 AM
Reviewer
emaste
Differential Revision
D54380: exterror: support %d in error messages
Parents
rG8bff95f3ce03: exterror: add support for the format specifiers in the extended error msg
Branches
Unknown
Tags
Unknown