Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

From: Sam Ravnborg
Date: Sat Nov 27 2004 - 15:39:59 EST


On Thu, Nov 25, 2004 at 04:54:33PM +0000, Matthew Wilcox wrote:
> > (5) For userspace use (such as for glibc), the appropriate include/user*/
> > directories should be selected and installed in /usr/include/ or wherever,
> > and symlinks made. For example, on i386 arch boxes, you might find:
> >
> > SOURCE INSTALLED AS
> > ====================== ============
> > include/user/ /usr/include/user/
> > include/user-i386/ /usr/include/user-i386/
> > /usr/include/linux -> user
> > /usr/include/asm -> user-i386
>
> This proposal doesn't address the asm-generic problem directly. Can I
> presume that you intend to also create linux/include/user-generic, install
> it as /usr/include/user-generic and create an asm-generic symlink that
> points to user-generic? A good problem file to be dealt with would
> be asm/errno.h

Do not allow asm-generic to be used direct by userspace.
The example with errno.h is handled by user-i386/errno.h which includes
asm-generic/errno.h.

Would that do the trick - yes?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/