lkml.org 
[lkml]   [2005]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ppc32: removed usage of <asm/segment.h>
On Wed, Aug 17, 2005 at 10:56:24AM +0200, Miklos Szeredi wrote:
> > On Wed, Aug 17, 2005 at 12:43:37AM -0500, Kumar Gala wrote:
> > > >I concur, in fact we should really kill that thing off entirely.
> > >
> > > I'm all for killing it off entirely but got some feedback that on
> > > i386 segment.h can be included by userspace programs.
> >
> > No kernel headers can be included by userland anymore.
>
> I know nothing about <asm/segment.h> but this generic statement is
> simply not true.
>
> There are perfectly valid uses of kernel headers from userspace. For
> example if a program uses the netlink interface, it should include
> <linux/netlink.h>. It's the interface definition after all.
>
> Glibc headers also include <linux/*> and <asm/*> in quite few places.

But these files in /usr/include/ aren't provided by the kernel anymore.

-
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-08-17 11:11    [W:0.122 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site