From: Michael Kerrisk <mtk.manpages@googlemail.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>,
lkml <linux-kernel@vger.kernel.org>,
Subrata Modak <subrata@linux.vnet.ibm.com>,
geoff@gclare.org.uk, Christoph Hellwig <hch@lst.de>
Subject: Re: Revised signalfd man-page
Date: Mon, 15 Oct 2007 08:54:25 +0200 [thread overview]
Message-ID: <47130EA1.6000300@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0709271000420.763@alien.or.mcafeemobile.com>
Hi Davide,
There were two questions that you overlooked in my earlier draft of the
signalfd man page. I've revised one of the questions slightly. Could you
look at these please:
.SS execve(2) semantics
[TO BE COMPLETED]
.\" FIXME
.\" Davide, what are the intended semantics after an execve()?
.\" I would hope that the descriptor remains available, and can
.\" be used to read any queued signals. This is analogous with
.\" traditional behavior, where blocked signals that are pending
.\" prior to an execve() remain pending after the execve().
.\"
.\" Below, was my original question, based on how things
.\" worked at one point, but perhaps they have changed by now:
.\"===
.\" As far as I can work out, after an execve() the file descriptor
.\" is still available, but reads from it always return 0, even if:
.\"
.\" a) there were signals pending before the execve().
.\" However, sigpending() shows the signal as pending,
.\" and the signal can be accepted using sigwaitinfo().
.\"
.\" b) we generate the signal after the exec.
.\"
.\" Is this intended behavior (the "orphaned sighand" condition
.\" described above?)? Is it a bug?
.\"===
.\"
.SS Thread semantics
[TO BE COMPLETED]
.\" FIXME Davide, a signal can be directed to the process as
.\" a whole, or to a particular thread. What are the intended
.\" semantics for signalfd()? If a thread calls signalfd(),
.\" does the resulting file descriptor return just those
.\" signals directed to [the thread and the process as a whole],
.\" or will it also receive signals that are targeted at
.\" other threads in the process?
Cheers,
Michael
--
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7
Want to help with man page maintenance? Grab the latest tarball at
http://www.kernel.org/pub/linux/docs/manpages/
read the HOWTOHELP file and grep the source files for 'FIXME'.
next prev parent reply other threads:[~2007-10-15 6:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-27 12:19 Revised signalfd man-page Michael Kerrisk
2007-09-27 12:40 ` Heikki Orsila
2007-09-27 12:44 ` Michael Kerrisk
2007-09-27 17:05 ` Davide Libenzi
2007-09-27 17:19 ` Michael Kerrisk
2007-10-15 6:54 ` Michael Kerrisk [this message]
2007-10-15 18:14 ` Davide Libenzi
2007-10-17 6:16 ` Michael Kerrisk
2007-10-17 22:52 ` Davide Libenzi
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=47130EA1.6000300@gmail.com \
--to=mtk.manpages@googlemail.com \
--cc=davidel@xmailserver.org \
--cc=geoff@gclare.org.uk \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mtk-manpages@gmx.net \
--cc=subrata@linux.vnet.ibm.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