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)
Sun, Mar 8, 3:37 AM
Unknown Object (File)
Fri, Mar 6, 12:01 PM
Unknown Object (File)
Fri, Feb 27, 5:02 PM
Unknown Object (File)
Jan 31 2026, 10:24 AM
Unknown Object (File)
Jan 24 2026, 9:25 PM
Unknown Object (File)
Jan 24 2026, 6:16 AM
Unknown Object (File)
Jan 23 2026, 9:16 AM
Unknown Object (File)
Jan 23 2026, 5:18 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