mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* WRT SIGURG incorrectly delivered to process
@ 2002-05-08 20:39 David Weinehall
  0 siblings, 0 replies; only message in thread
From: David Weinehall @ 2002-05-08 20:39 UTC (permalink / raw)
  To: Linux-Kernel Mailing List
  Cc: Linus Torvalds, marcello, cyeoh, anton, paulus, davidm, Alan Cox

On, or about, April 18, Christopher Yeoh fixed a problem in the
v2.4-kernel where SIGURG got terminated incorrectly, in violation to
SuSv3. I intend to merge this fix into v2.0 as well, unless someone has
any objections.

However, I noticed that kernel/signal.c also contains similar code that
does not contain SIGURG (mangled whitespace):

(on line 1112 or thereabouts)

  if (k->sa.sa_handler == SIG_IGN
                    || (k->sa.sa_handler == SIG_DFL
                        && (sig == SIGCONT ||
                            sig == SIGCHLD ||
                            sig == SIGWINCH))) {
                        spin_lock_irq(&current->sigmask_lock);
                        if (rm_sig_from_queue(sig, current))
                                recalc_sigpending(current);
                        spin_unlock_irq(&current->sigmask_lock);
                }


Is this intentionally left this way, or did it get missed out by
mistake?!


Regards: David Weinehall
  _                                                                 _
 // David Weinehall <tao@acc.umu.se> /> Northern lights wander      \\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-08 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-08 20:39 WRT SIGURG incorrectly delivered to process David Weinehall

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®