[lkml]   [2000]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Patch] shmmin behaviour back to 2.2 behaviour
On Thu, Dec 28, 2000 at 01:01:53PM +0100, Christoph Rohland wrote:

> > My first reaction is that this patch is broken, since
> > one usually specifies size 0 in shmget to get an existing
> > bit of shared memory

> That's still covered: The check is moved out of shmget into the create
> function. So you cannot create segments of size 0 but you can get
> existing segments by giving a size 0.

Good. (The patch fragment gave the impression that 0 would be illegal.)

> We don't match this exactly since we allow arbitrary sizes smaller
> than segment size for existing segments (0 included).


> So should we go for SUSv2?

I regard shm* as obsolete. New programs will probably not use it.
So, the less we change the better. Moreover, the SUSv2 text is broken.

One of these years the present Austin drafts will turn into the
new POSIX standard. That would be a good moment to look again.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.044 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site