Page MenuHomeFreeBSD

exterr: split category into multiple sources
AcceptedPublic

Authored by brooks on Tue, Jul 14, 8:08 PM.
Tags
None
Referenced Files
F163640430: D58236.id182293.diff
Sat, Jul 25, 2:32 AM
F163621502: D58236.id182293.diff
Fri, Jul 24, 10:36 PM
F163591831: D58236.diff
Fri, Jul 24, 7:09 PM
Unknown Object (File)
Tue, Jul 21, 8:04 AM
Unknown Object (File)
Tue, Jul 21, 2:44 AM
Unknown Object (File)
Tue, Jul 21, 12:30 AM
Unknown Object (File)
Sun, Jul 19, 5:14 PM
Unknown Object (File)
Sun, Jul 19, 6:31 AM
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