[PATCH] apm daemonize

Stephen Rothwell (sfr@canb.auug.org.au)
Wed, 12 Feb 2003 14:59:30 +1100


Hi Linus,

Since daemonize now blocks all signals, this should be trivially
correct.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.60-200302121204/arch/i386/kernel/apm.c 2.5.60-200302121204-apm.1/arch/i386/kernel/apm.c --- 2.5.60-200302121204/arch/i386/kernel/apm.c 2003-02-12 14:11:04.000000000 +1100 +++ 2.5.60-200302121204-apm.1/arch/i386/kernel/apm.c 2003-02-12 14:57:15.000000000 +1100 @@ -1745,7 +1745,6 @@ daemonize("kapmd"); current->flags |= PF_IOTHREAD; - sigfillset(&current->blocked); #ifdef CONFIG_SMP /* 2002/08/01 - WT - 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/