Re: modutils: FATAL: Error running install...

From: Mikael Pettersson (mikpe@user.it.uu.se)
Date: Tue Feb 25 2003 - 08:24:25 EST


Rusty Russell writes:
> In message <20030224172734.C29439@deep-space-9.dsnet> you write:
> > ===== kernel/kmod.c 1.24 vs edited =====
> > --- 1.24/kernel/kmod.c Mon Feb 24 04:18:09 2003
> > +++ edited/kernel/kmod.c Mon Feb 24 17:19:39 2003
> > @@ -154,6 +154,7 @@
> >
> > /* Unblock all signals. */
> > flush_signals(current);
> > + current->sighand->action[SIGCHLD-1].sa.sa_handler = SIG_DFL;
> > spin_lock_irq(&current->sighand->siglock);
> > flush_signal_handlers(current);
> > sigemptyset(&current->blocked);
>
> Is there really no cleaner way that this?

Linus cleaned it up in 2.5.63 -- he added a flag to flush_signal_handlers().
-
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 : Fri Feb 28 2003 - 22:00:27 EST