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)
Sep 15 2025, 7:32 PM
Unknown Object (File)
Sep 15 2025, 12:21 PM
Unknown Object (File)
Sep 15 2025, 7:36 AM
Unknown Object (File)
Sep 14 2025, 11:15 PM
Unknown Object (File)
Sep 14 2025, 6:16 AM
Unknown Object (File)
Sep 13 2025, 7:36 AM
Unknown Object (File)
Sep 10 2025, 9:20 AM
Unknown Object (File)
Sep 9 2025, 2:20 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 Not Applicable
Unit
Tests Not Applicable