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)
Tue, Sep 15, 5:47 PM
Unknown Object (File)
Mon, Sep 14, 8:29 PM
Unknown Object (File)
Mon, Sep 14, 3:41 PM
Unknown Object (File)
Sat, Sep 12, 7:09 AM
Unknown Object (File)
Sat, Sep 12, 6:17 AM
Unknown Object (File)
Tue, Sep 8, 4:14 AM
Unknown Object (File)
Fri, Sep 4, 6:29 PM
Unknown Object (File)
Fri, Sep 4, 5:47 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