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
F168112807: D50719.id156636.diff
Wed, Aug 26, 10:59 AM
Unknown Object (File)
Wed, Aug 26, 7:18 AM
Unknown Object (File)
Tue, Aug 25, 9:35 PM
Unknown Object (File)
Mon, Aug 24, 8:29 PM
Unknown Object (File)
Mon, Aug 24, 7:39 PM
Unknown Object (File)
Sun, Aug 23, 9:48 PM
Unknown Object (File)
Sat, Aug 22, 12:12 PM
Unknown Object (File)
Sat, Aug 22, 11:43 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