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, May 11, 9:54 PM
Unknown Object (File)
Mon, Apr 27, 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
Unknown Object (File)
Apr 6 2026, 4:05 PM
Unknown Object (File)
Apr 5 2026, 9:13 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