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)
Mon, Nov 10, 3:26 AM
Unknown Object (File)
Oct 27 2025, 5:02 AM
Unknown Object (File)
Oct 21 2025, 3:09 AM
Unknown Object (File)
Oct 19 2025, 8:37 PM
Unknown Object (File)
Oct 17 2025, 9:20 PM
Unknown Object (File)
Sep 15 2025, 7:32 PM
Unknown Object (File)
Sep 15 2025, 12:21 PM
Unknown Object (File)
Sep 15 2025, 7:36 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