From: Andreas Schwab <schwab@suse.de>
To: Zan Lynx <zlynx@acm.org>
Cc: chris@scary.beasts.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: sigaction, fork, malloc, and futex
Date: Wed, 05 May 2004 01:16:36 +0200 [thread overview]
Message-ID: <jed65jn5pn.fsf@sykes.suse.de> (raw)
In-Reply-To: <1083711395.29189.10.camel@localhost.localdomain> (Zan Lynx's message of "Tue, 04 May 2004 16:56:36 -0600")
Zan Lynx <zlynx@acm.org> writes:
> I am not sure it is really a problem though. I don't think you should
> be allowed to fork inside a signal handler. That seems very wrong.
fork is marked async-signal-safe, provided that all atfork handlers are
async-signal-safe.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2004-05-04 23:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 20:15 sigaction, fork, malloc, and futex Steve Beaty
2004-05-04 22:30 ` chris
2004-05-04 22:56 ` Zan Lynx
2004-05-04 23:16 ` Andreas Schwab [this message]
2004-05-06 21:37 ` Steve Beaty
2004-05-06 22:22 ` Zan Lynx
2004-05-06 21:36 ` Steve Beaty
2004-05-04 23:37 ` Richard B. Johnson
2004-05-06 21:41 ` Steve Beaty
2004-05-05 0:38 ` Edgar Toernig
2004-05-06 21:47 ` Steve Beaty
[not found] <1SeIE-Dy-17@gated-at.bofh.it>
[not found] ` <1ShG9-2Yt-11@gated-at.bofh.it>
2004-05-04 23:57 ` Pascal Schmidt
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=jed65jn5pn.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=chris@scary.beasts.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zlynx@acm.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