From: Valdis.Kletnieks@vt.edu
To: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Halesh S <halesh.s@india.com>, linux-kernel@vger.kernel.org
Subject: Re: parent process behaviour to signal after vfork()
Date: Thu, 30 Oct 2008 01:38:30 -0400 [thread overview]
Message-ID: <53383.1225345110@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Wed, 29 Oct 2008 08:17:36 CDT." <517f3f820810290617m49b5deccu5d639cd0d3c94592@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
On Wed, 29 Oct 2008 08:17:36 CDT, Michael Kerrisk said:
> diff --git a/man2/vfork.2 b/man2/vfork.2
> index 55044ad..8a7ed50 100644
> --- a/man2/vfork.2
> +++ b/man2/vfork.2
> @@ -94,7 +94,10 @@ but may call
> .PP
> Signal handlers are inherited, but not shared.
> Signals to the parent
> -arrive after the child releases the parent's memory.
> +arrive after the child releases the parent's memory (i.e., after the child calls
> +.BR _exit (2)
> +or
> +.BR execve (2)).
OK, I'll bite - when is the parent's memory released if the child doesn't
depart by calling _exit() or execve(), but manages to get killed by an
unhandled signal or the OOM killer or similar?
(That's the generic problem with adding itemized lists to an explanation - it's
rarely clear if the list is an exhaustive list, or a non-complete list of
examples. Note how often we have flame wars regarding which EQUUX should be
returned in a corner case that hinge on whether Posix says "Only FOO, BAR,
and BAZ can be returned" or "FOO, BAR, BAZ are among the errors that can be
returned")
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
next prev parent reply other threads:[~2008-10-30 5:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 6:43 Halesh S
2008-10-28 8:24 ` Halesh S
2008-10-29 13:17 ` Michael Kerrisk
2008-10-30 5:38 ` Valdis.Kletnieks [this message]
2008-10-30 13:24 ` Michael Kerrisk
2008-10-30 13:26 ` Michael Kerrisk
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=53383.1225345110@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=halesh.s@india.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mtk.manpages@gmail.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
all inboxes | Powered by JetHome®