public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Chris Wright <chrisw@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>,
	Ulrich Drepper <drepper@redhat.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: mq_open() and close_on_exec?
Date: Wed, 14 Apr 2004 06:47:41 +0200	[thread overview]
Message-ID: <407CC26D.6070307@colorfullife.com> (raw)
In-Reply-To: <20040413174005.Q22989@build.pdx.osdl.net>

Chris Wright wrote:

>SUSv3 doesn't seem to specify one way or the other.  I don't have the
>POSIX specs, and the old docs I have suggest that mq_open() creates an
>object which is to be closed upon exec.  Anyone have a clue if this is
>actually required?  Patch below sets this as default (if indeed it's
>valid/required).
>  
>
Did you test what other unices do? I think the patch is correct - at 
least solaris implements message queues in user space, and then an exec 
should close everything.

--
    Manfred


  reply	other threads:[~2004-04-14  4:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14  0:40 mq_open() and close_on_exec? Chris Wright
2004-04-14  4:47 ` Manfred Spraul [this message]
2004-04-14 16:49   ` Chris Wright
2004-04-14  6:12 ` Jakub Jelinek
2004-04-14 16:53   ` Chris Wright

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=407CC26D.6070307@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=akpm@osdl.org \
    --cc=chrisw@osdl.org \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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