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)
Fri, Jan 16, 12:35 AM
Unknown Object (File)
Wed, Jan 14, 6:26 AM
Unknown Object (File)
Tue, Jan 6, 1:23 PM
Unknown Object (File)
Mon, Jan 5, 12:03 AM
Unknown Object (File)
Fri, Dec 19, 4:44 PM
Unknown Object (File)
Dec 10 2025, 9:07 AM
Unknown Object (File)
Nov 10 2025, 3:26 AM
Unknown Object (File)
Oct 27 2025, 5:02 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