lkml.org 
[lkml]   [1998]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: kill -9 <pid of X>
[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

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans