WRT SIGURG incorrectly delivered to process

From: David Weinehall (tao@acc.umu.se)
Date: Wed May 08 2002 - 15:39:28 EST


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 </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:10 EST