Re: Recent changes to sysctl.h breaks glibc

Eric W. Biederman (ebiederm@xmission.com)
20 May 2003 23:58:05 -0600


"H. Peter Anvin" <hpa@zytor.com> writes:

> Martin Schlemmer wrote:
> > The only issue that we might have, is that <linux/abi/*> will once
> > again break many things. Sure, if we have to fix them once to get
> > this fixed for good, why not.
> > On the other hand, why not leave it at <linux/*.h> and <asm/*.h>
> > as the location of the ABI, and then move all kernel only
> > related stuff to <kernel/*.h> (or whatever, just the concept which
> > count ...) which can then include whatever it needs form the other
> > places (linux/asm)?
> >
>
> Because then there will be a push to be backward compatible, and the current
> structure is hideously poor for this purpose.

In fact all but the most kernel dependent programs should still
not be using these headers directly.

Given that glibc plays interesting tricks with dev_t and friends.
Only an application that knows what it is doing should bypass
glibcs abstraction layer.

Mostly these headers will be there for glibc to include, and rexport
in sys/*

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/