Re: [Patch] shmmin behaviour back to 2.2 behaviour

From: Christoph Rohland (cr@sap.com)
Date: Wed Dec 27 2000 - 12:54:03 EST


Marcelo Tosatti <marcelo@conectiva.com.br> writes:

> On 27 Dec 2000, Christoph Rohland wrote:
> > The following patchlet bring the handling of shmget with size zero
> > back to the 2.2 behaviour. There seem to be programs out, which
> > (erroneously) rely on this.
>
> Just curiosity: do you know if any specification (POSIX?) defines this
> behaviour?

I don't think so. IMNSHO it is not legal to call shmget with size <
SHMMIN. But there are programs which do that successfully on Linux
2.2. And I learnt not to break them without reason.

Greetings
                Christoph

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



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:10 EST