Re: kill -9 <pid of X>

Nix (nix-kernel@esperi.demon.co.uk)
Fri, 14 Aug 1998 22:28:19 +0100 (BST)


[Cc: stripped down]
MOLNAR Ingo writes:
> the kernel assumes on some places that a process _always_ has a parent. So
> it can always blindly dereference p->p_pptr.

But init's parent is PID 0, which doesn't exist.

Do these places never apply to init? (I'd understand what you say if
init's parent was itself, but that's not how it's defined...)

-- 
`I'm telling you that the kernel is stable not because it's a kernel, but
 because I refuse to listen to arguments like this.' - Linus Torvalds on
                                                       linux-kernel

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html