From: Jakub Jelinek <jakub@redhat.com>
To: Chris Wright <chrisw@osdl.org>
Cc: Manfred Spraul <manfred@colorfullife.com>,
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 02:12:55 -0400 [thread overview]
Message-ID: <20040414061255.GA31589@devserv.devel.redhat.com> (raw)
In-Reply-To: <20040413174005.Q22989@build.pdx.osdl.net>
On Tue, Apr 13, 2004 at 05:40:05PM -0700, 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).
I think it is valid and required:
http://www.opengroup.org/onlinepubs/007904975/functions/exec.html
^[MSG] [Option Start] All open message queue descriptors in the calling process shall be closed, as described in
mq_close() . [Option End]
I'll add a new test for this into glibc testsuite.
Jakub
next prev parent reply other threads:[~2004-04-14 6:13 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
2004-04-14 16:49 ` Chris Wright
2004-04-14 6:12 ` Jakub Jelinek [this message]
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=20040414061255.GA31589@devserv.devel.redhat.com \
--to=jakub@redhat.com \
--cc=akpm@osdl.org \
--cc=chrisw@osdl.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.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