Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

David Woodhouse
2004-12-01T00:47:58Z

On Tue, 2004-11-30 at 16:10 -0800, Linus Torvalds wrote:
> I'll draw it at "somebody might validly use it", because the fact is, I
> can't test it.
>
> Which is why I want patches to this to be OBVIOUSLY CORRECT, dammit! How
> hard is that to understand?

The concept isn't at all hard to understand. But no patch is 'obviously
correct' if you want to protect against the _slightest_ possibility that
people might be abusing something you're taking away.

Some people might define __KERNEL__ on purpose when compiling something
in userspace, to get something that would otherwise be hidden from them.
Would you consider that sacrosanct too?

--
dwmw2