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
F153290697: D50719.id157138.diff
Mon, Apr 20, 7:04 AM
Unknown Object (File)
Wed, Apr 15, 9:46 PM
Unknown Object (File)
Tue, Apr 7, 2:07 AM
Unknown Object (File)
Mon, Apr 6, 4:05 PM
Unknown Object (File)
Sun, Apr 5, 9:13 AM
Unknown Object (File)
Sun, Apr 5, 6:30 AM
Unknown Object (File)
Sat, Apr 4, 10:09 AM
Unknown Object (File)
Tue, Mar 31, 10:49 AM
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