Re: kernel headers & userland

Eric W. Biederman (ebiederm@xmission.com)
06 Aug 2001 04:56:49 -0600


Abraham vd Merwe <abraham@2d3d.co.za> writes:

> Hi!
>
> Apparently Linus told Felix von Leitner (the author of dietlibc - a small,
> no nonsense glibc replacement C library) a while ago _not_ to include any
> linux kernel headers in userland (i.e. the C library headers in this case).
>
> This imho is obviously wrong since there are definitely a need for including
> kernel headers on a linux platform.

??? Necessity no. Are there practical benefits yes.

The policy of the kernel developers in general is that if your apps
includes kernel headers and it breaks, it is a kernel problem.

As for ioctl it is a giant mess that needs to be taken out and shot.

And yes there are places where even the mighty glibc is in the wrong.

Eric
-
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/