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)
Thu, Jun 11, 3:38 PM
Unknown Object (File)
Sun, May 31, 10:01 PM
Unknown Object (File)
May 11 2026, 9:54 PM
Unknown Object (File)
Apr 27 2026, 11:43 AM
Unknown Object (File)
Apr 21 2026, 2:34 AM
Unknown Object (File)
Apr 20 2026, 7:04 AM
Unknown Object (File)
Apr 15 2026, 9:46 PM
Unknown Object (File)
Apr 7 2026, 2:07 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 Not Applicable
Unit
Tests Not Applicable