Re: [RFC] Add kernel<->userspace ABI stability documentation

From: Arjan van de Ven
Date: Wed Mar 01 2006 - 02:26:14 EST


On Tue, 2006-02-28 at 16:23 -0800, Greg KH wrote:
> On Tue, Feb 28, 2006 at 02:39:29PM +0300, Nikita Danilov wrote:
> > Greg KH writes:
> >
> > [...]
> >
> > > +
> > > + stable/
> > > + This directory documents the interfaces that have determined to
> > > + be stable. Userspace programs are free to use these interfaces
> > > + with no restrictions, and backward compatibility for them will
> > > + be guaranteed for at least 2 years. Most simple interfaces
> > > + (like syscalls) are expected to never change and always be
> > > + available.
> >
> > What about separating "stable" ("guaranteed for at least 2 years") and
> > "standard" (core unix interface is not going to change ever)?
>
> Why? Would that mean that the POSIX-like syscalls would only be in
> "standard"? What else would you think would be in that category?

that sounds wrong. If you want posix behavior, use glibc. Not the kernel
directly. It's that simple. The kernel tends to follow posix mostly, to
allow glibc to do this job without too much hoops, but it's glibc that
provides the final posix API to the application. And it should be that
way.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/