All of lore.kernel.org
 help / color / mirror / Atom feed
* SIGSYS annoyance
@ 2016-06-04  5:16 Andy Lutomirski
  2016-06-06 16:03 ` Kees Cook
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Lutomirski @ 2016-06-04  5:16 UTC (permalink / raw)
  To: Kees Cook, linux-kernel

https://bugzilla.mozilla.org/show_bug.cgi?id=1176099

Should SIGSYS be delivered to the handler even if blocked?  What, if
anything, does POSIX say?  All I can find is in pthread_sigmask(3p):

If any of the SIGFPE, SIGILL, SIGSEGV, or SIGBUS signals are generated
while they are blocked, the result is undefined, unless the signal was
generated by the action of another process, or by one of the functions
kill(), pthread_kill(), raise(), or sigqueue().

It would be easy enough to change our behavior so that we deliver the
signal even if it's blocked or to at least add a flag so that users
can request that behavior.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-10  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-04  5:16 SIGSYS annoyance Andy Lutomirski
2016-06-06 16:03 ` Kees Cook
2016-06-09 17:21   ` Andy Lutomirski
2016-06-10  9:08     ` Mikael Pettersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.