Skip to contentSkip to conversation

WRT SIGURG incorrectly delivered to process

DISCUSSION David Weinehall 1 participant 1 message May 8, 2002

lore
Share & tools
lore
#0 lore raw

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 <[email protected]> /> Northern lights wander \\

//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </