Re: [patch] fat/msdos/vfat crud removal

From: Eric W. Biederman (
Date: Mon Jun 10 2002 - 08:51:22 EST

Thunder from the hill <> writes:

> Hi,
> On Sun, 9 Jun 2002, David Woodhouse wrote:
> > Er, no. If you randomly reassign errno values, the world breaks.
> > Don't even contemplate it.
> I meant adding. Not just errno, even PF_..., etc.
> > To that end, we should put '#ifndef __KERNEL__ #error' into all kernel
> > headers, and C libraries should maintain a _separate_ set of headers which
> > contain only the ABI definitions and are suitable for userspace. I believe
> > dietlibc already does this, and recent Red Hat distributions contain a
> > 'glibc-kernheaders' package with a slightly-sanitised version of kernel
> > headers, which should become more sanitised over time.
> I wouldn't call dietlibc an HighEnd open end API.

All linux libc's do this. glibc, dietlibc, and uclibc.

Beyond this if you really object you can come up with a set of header
that just describe the kernel/user space ABI, and build them so either
the kernel or user space can use them. And then this ABI-headers
package can be used to hold the common definitions.

Until someone builds a kernel-abi-headers package everyone will do it
by copying the appropriate headers periodically.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:17 EST