From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Gregory Giguashvili <Gregory.Giguashvili@PDGM.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Change signal mask after vfork/clone system call
Date: Thu, 4 Nov 2010 16:28:28 +0000 [thread overview]
Message-ID: <20101104162828.7862a49d@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <DAF636D3923A51488784A1F985996EE804207065@exil1.paradigmgeo.net>
> Now, I could unmask signals for the thread calling vfork, but it seems not a signal-safe solution to me because signals may arrive to this thread until I reestablish the mask. pthread_atfork call comes to rescue to address such issues for fork, but there seems to be nothing for vfork call.
Oh you are wrapping buggy apps ?
vfork
exec a tiny app which fixes the signals and execs the proper app
or fix the apps being run...
next prev parent reply other threads:[~2010-11-04 16:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 7:53 Gregory Giguashvili
2010-10-20 7:56 ` Gregory Giguashvili
2010-11-04 6:08 ` Gregory Giguashvili
2010-11-04 9:48 ` Alan Cox
2010-11-04 15:37 ` Gregory Giguashvili
2010-11-04 15:45 ` Alan Cox
2010-11-04 16:20 ` Gregory Giguashvili
2010-11-04 16:28 ` Alan Cox [this message]
2010-11-04 16:43 ` Gregory Giguashvili
2010-11-05 7:32 ` Gregory Giguashvili
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=20101104162828.7862a49d@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=Gregory.Giguashvili@PDGM.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
all inboxes | Powered by JetHome®