Re: [PATCH] 2.4 and 2.5: remove Alt-Sysrq-L

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 20 Mar 2002 00:22:37 +0000 (GMT)


> - panic("Attempted to kill init!");
> + if (tsk->pid == 1) {
> + printk(KERN_EMERG "Attempted to kill init!\n");
> + flush_child_loop(tsk);
> + }

This can occur in IRQ path - your code won't handle that. Otherwise it
seems to have potential
-
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/