Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

Mariusz Mazur
2004-12-01T10:55:02Z

On środa 01 grudzień 2004 06:23, Sam Ravnborg wrote:
> > Linked, copied, mount --binded, whatever. Just not under the
> > name /usr/include/user, but something more meaningfull.
>
> Whats wrong with
> /lib/modules/`uname -r`/source/include/user
> /lib/modules/`uname -r`/source/include/$arch

Those are supposed to be userland-only headers that don't just change - they
are gradually expanded. I don't see a point in having `uname -r` in there.

And another thing - distribution vendors will *hate* anyone, that encourages
app developers to add an include path based on which kernel is being
currently run. People, that have their headers tied to their kernels are a
*minority*.

(though iirc eg. netfilter is a mess, so there might be bigger reasons to
ignore my arguments; not that I won't hate you if you do, and I'll have to
patch everything, just to get it compiled)

--
In the year eighty five ten
God is gonna shake his mighty head
He'll either say,
"I'm pleased where man has been"
Or tear it down, and start again