Re: [PATCH net-next] stddef: don't include compiler_types.h in the uAPI header
From: Jakub Kicinski <kuba@kernel.org> Date: 2025-08-26 13:47:56
On Mon, 25 Aug 2025 19:54:44 -0700 Kees Cook wrote:
quoted
Not sure this is the most fortunate approach, personally I'd rather wrap
our empty user-space-facing defines under ifndef __KERNEL__. I think
it'd be better from "include what you need" perspective. Perhaps stddef
pulling in compiler annotations is expected, dunno...
I'm trying to leave the door open for userspace to start using these, if
they defined them too.