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
Unknown Object (File)
Sat, Jan 24, 9:25 PM
Unknown Object (File)
Sat, Jan 24, 6:16 AM
Unknown Object (File)
Fri, Jan 23, 9:16 AM
Unknown Object (File)
Fri, Jan 23, 5:18 AM
Unknown Object (File)
Fri, Jan 16, 12:35 AM
Unknown Object (File)
Wed, Jan 14, 6:26 AM
Unknown Object (File)
Tue, Jan 6, 1:23 PM
Unknown Object (File)
Mon, Jan 5, 12:03 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