lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: modutils: FATAL: Error running install...
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.037 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site