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
F168742949: D50719.id156636.diff
Sat, Aug 29, 10:24 PM
Unknown Object (File)
Sat, Aug 29, 12:42 AM
Unknown Object (File)
Fri, Aug 28, 8:52 PM
Unknown Object (File)
Fri, Aug 28, 1:36 PM
Unknown Object (File)
Thu, Aug 27, 10:40 PM
Unknown Object (File)
Wed, Aug 26, 10:59 AM
Unknown Object (File)
Wed, Aug 26, 7:18 AM
Unknown Object (File)
Tue, Aug 25, 9:35 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