On Wed, 20 Jun 2007, Oleg Nesterov wrote: > > Also, suppose that some thread does > > for (;;) > signal(SIGSEGV, SIG_IGN); > > Now we have the same situation. do_sigaction() can steal SIGSEGV from > another thread. Actually, that shouldn't be possible. See "force_sig_info()". It does not allow blocking or ignoring forced signals. We will reset such a signal handler to SIG_DFL, and unlock it. So if you get a SIGSEGV while SIGSEGV's are blocked or ignored, the kernel *will* kill you. No questions asked. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Fix signalfd interaction with thread-private signals
- From: Oleg Nesterov <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- References:
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Nicholas Miell <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Davide Libenzi <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Nicholas Miell <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Davide Libenzi <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Benjamin Herrenschmidt <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- From: Linus Torvalds <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- From: Oleg Nesterov <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- From: Benjamin Herrenschmidt <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- From: Oleg Nesterov <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- From: Benjamin Herrenschmidt <[email protected]>
- Re: Fix signalfd interaction with thread-private signals
- From: Oleg Nesterov <[email protected]>
- Re: And now for something _totally_ different: Linux v2.6.22-rc5
- Prev by Date: Re: [BUG] long freezes on thinkpad t60
- Next by Date: Re: [RFC PATCH 4/4] Directory listing support for union mounted directories.
- Previous by thread: Re: Fix signalfd interaction with thread-private signals
- Next by thread: Re: Fix signalfd interaction with thread-private signals
- Index(es):