Russell King wrote:
>
> With all recent kernels, init exiting causes the last of these to trigger:
>
> NORET_TYPE void do_exit(long code)
> {
> struct task_struct *tsk = current;
>
> if (in_interrupt())
> panic("Aiee, killing interrupt handler!");
> if (!tsk->pid)
> panic("Attempted to kill the idle task!");
> if (tsk->pid == 1)
> panic("Attempted to kill init!");
Why actually panic because of an attempt to kill init?
Of course a message should be printed, but after that
couldn't do_exit enter a loop where it just handles
signals and zombies?
-- Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:razor-report@daimi.au.dk - 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 : Sat Mar 23 2002 - 22:00:17 EST