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

From: H. Peter Anvin (hpa@zytor.com)
Date: Sun Jun 09 2002 - 13:49:47 EST


Followup to: <m18z5owd9f.fsf@frodo.biederman.org>
By author: ebiederm@xmission.com (Eric W. Biederman)
In newsgroup: linux.dev.kernel
>
> Dave Jones <davej@suse.de> writes:
>
> > On Sun, Jun 09, 2002 at 03:09:44AM -0400, Albert D. Cahalan wrote:
> >
> > > There has been talk of removing __KERNEL__ usage from
> > > some of the header files.
> >
> > Where? If anything we need to increase __KERNEL__ usage in headers.
> > We export far too much crap which makes no sense to userspace.
>
> So we should just remove __KERNEL__ altogether. And say with 2.5.x
> nothing is exported. Which pretty much has been the official policy
> since user space started using glibc.
>
> #include <linux/*>
> and
> #include <asm/*>
> are no longer supported.
>

In theory, perhaps. There is plenty that just really can't be done
that way, especially stuff which deals with ioctls and their
structures.

It makes more sense to constrain what is exported to a minimum, but
actually have it be usable.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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/



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