Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 19 Mar 2002 19:07:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 19 Mar 2002 19:07:36 -0500 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:19 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Tue, 19 Mar 2002 19:07:26 -0500 Subject: Re: [PATCH] 2.4 and 2.5: remove Alt-Sysrq-L To: kasperd@daimi.au.dk (Kasper Dupont) Date: Wed, 20 Mar 2002 00:22:37 +0000 (GMT) Cc: rmk@arm.linux.org.uk (Russell King), linux-kernel@vger.kernel.org (Linux-Kernel) In-Reply-To: <3C97ADD8.71408946@daimi.au.dk> from "Kasper Dupont" at Mar 19, 2002 10:30:00 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > - 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/