Re: ptrace() and kernel tasks

David Woodhouse (David.Woodhouse@mvhi.com)
Tue, 11 May 1999 19:44:03 +0100


zack@rabi.columbia.edu said:
> It might be sensible to do this for init as well; then the special
> case for pid=1 can be removed from sys_ptrace(). OTOH, you might want
> the core dump if init crashed.

If init dies, the kernel dies immediately, and doesn't even give you the
opportunity to sync the disks. So a core dump wouldn't actually flushed to disk
anyway.

I consider this behaviour to be a bug, but others think otherwise.

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
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.tux.org/lkml/