mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Yoav Zach <yoav_zach@yahoo.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, yoav.zach@intel.com
Subject: Re: force_sig_info
Date: Fri, 3 Sep 2004 11:12:00 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0409031109100.26393@ppc970.osdl.org> (raw)
In-Reply-To: <20040903135835.96953.qmail@web50610.mail.yahoo.com>



On Fri, 3 Sep 2004, Yoav Zach wrote:
>
> The behavior of force_sig_info has changed in kernel 2.6 in
> a way that affects very badly our product - in case the user
> blocks a signal that must be delivered, the disposition of
> the signal is changed to SIG_DFL.

This is very much by design, and it showed real bugs in programs. You 
can't block a signal and expect the kernel to still honor the signal 
handler you had installed. If you blocked it, you're saying "I'm not ready 
to take this signal". And that means that the kernel should refuse to 
deliver it to you.

Why are you blocking signals that you want to get? Sounds like a bug in 
your program.

		Linus

  reply	other threads:[~2004-09-03 18:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 13:58 force_sig_info Yoav Zach
2004-09-03 18:12 ` Linus Torvalds [this message]
2004-09-05  6:44 force_sig_info Zach, Yoav
2004-09-05 13:35 ` force_sig_info 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=Pine.LNX.4.58.0409031109100.26393@ppc970.osdl.org \
    --to=torvalds@osdl.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yoav.zach@intel.com \
    --cc=yoav_zach@yahoo.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®