lkml.org 
[lkml]   [2004]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Splitting kernel headers and deprecating __KERNEL__
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.209 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site