Page MenuHomeFreeBSD

libprocstat: Drop all _KERNEL defines outside of zfs_defs.c
ClosedPublic

Authored by jrtc27 on Jun 6 2025, 2:14 PM.
Tags
None
Referenced Files
F169236020: D50719.id156636.diff
Tue, Sep 1, 12:15 AM
F169103164: D50719.id.diff
Mon, Aug 31, 10:24 AM
Unknown Object (File)
Mon, Aug 31, 12:52 AM
Unknown Object (File)
Sat, Aug 29, 10:24 PM
Unknown Object (File)
Sat, Aug 29, 12:42 AM
Unknown Object (File)
Fri, Aug 28, 8:52 PM
Unknown Object (File)
Fri, Aug 28, 1:36 PM
Unknown Object (File)
Thu, Aug 27, 10:40 PM
Subscribers
None

Details

Summary

Defining _KERNEL is a historical hack that can often break due to the
environment not actually being that of a kernel build. Now that we have
other targeted macros we can define instead that don't have far-reaching
implications like _KERNEL we can drop this.

Diff Detail

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