Page MenuHomeFreeBSD

exterr: split category into multiple sources
AcceptedPublic

Authored by brooks on Tue, Jul 14, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 1, 6:53 AM
Unknown Object (File)
Fri, Jul 31, 3:04 PM
Unknown Object (File)
Fri, Jul 31, 12:13 AM
Unknown Object (File)
Wed, Jul 29, 1:42 AM
Unknown Object (File)
Tue, Jul 28, 8:54 AM
Unknown Object (File)
Mon, Jul 27, 4:13 AM
Unknown Object (File)
Sat, Jul 25, 8:21 PM
Unknown Object (File)
Sat, Jul 25, 7:44 PM
Subscribers

Details

Reviewers
kib
mckusick
Summary

The static, global index into an array of strings is simple, cheap,
and works for the base kernel, but is unworkable for (potentially
third-party) kernel modules or for arbitrary userspace code. Swipe a
couple of the top bits of category to indicate a source with all-zeros
being the current model (EXTERR_CAT_SRC_KERN_STATIC). Add two
additional sources EXTERR_CAT_SRC_KERN_DYNAMIC and EXTERR_CAT_SRC_USER
with stub implementations.

Sponsored by: Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74956
Build 71839: arc lint + arc unit