HomeFreeBSD

hw.bus.info: rework handler

Description

hw.bus.info: rework handler

hw.bus.info was added in r68522 as a node, but there was never anything
connected "behind" it. Its only purpose is to return a struct u_businfo.
The only in-base consumer are devinfo(3)/devinfo(8).
Rewrite the handler as SYSCTL_PROC and mark it as MPSAFE and read-only
as there never was a writable path.

Reviewed by: kib
Approved by: kib (mentor)
Sponsored by: Mysterious Code Ltd.
Differential Revision: https://reviews.freebsd.org/D25321

Details

Provenance
kaktusAuthored on
Reviewer
kib
Differential Revision
D25321: hw.bus.info: rework handler
Parents
rS362342: Fix execution of linux binary from multithreaded non-Linux process.
Branches
Unknown
Tags
Unknown