public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andries Brouwer <aeb@veritas.com>
To: Christoph Rohland <cr@sap.com>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org, Dave Gilbert <gilbertd@treblig.org>
Subject: Re: [Patch] shmmin behaviour back to 2.2 behaviour
Date: Thu, 28 Dec 2000 14:34:29 +0100	[thread overview]
Message-ID: <20001228143429.A1402@veritas.com> (raw)
In-Reply-To: <m3d7eeb1pa.fsf@linux.local> <Pine.LNX.4.21.0012271316020.11471-100000@freak.distro.conectiva> <20001227215703.A1302@veritas.com> <m3wvck99wx.fsf@linux.local>
In-Reply-To: <m3wvck99wx.fsf@linux.local>; from cr@sap.com on Thu, Dec 28, 2000 at 01:01:53PM +0100

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).

Good.

> So should we go for SUSv2?

No.
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.

Andries
-
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/

  reply	other threads:[~2000-12-28 14:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-27 10:32 [Patch] shmmin behaviour back to 2.2 behaviour Christoph Rohland
2000-12-27 11:58 ` Dave Gilbert
2000-12-27 15:37   ` Christoph Rohland
2000-12-27 15:16 ` Marcelo Tosatti
2000-12-27 17:54   ` Christoph Rohland
2000-12-27 20:57   ` Andries Brouwer
2000-12-28 12:01     ` Christoph Rohland
2000-12-28 13:34       ` Andries Brouwer [this message]
2000-12-28 15:49         ` Alan Cox
2000-12-28 22:13           ` Christoph Rohland
2000-12-28 22:19             ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001228143429.A1402@veritas.com \
    --to=aeb@veritas.com \
    --cc=cr@sap.com \
    --cc=gilbertd@treblig.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox