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

H. Peter Anvin
2002-06-09T18:50:06Z

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>