lkml.org 
[lkml]   [1999]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ptrace() and kernel tasks
Date
From

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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:1.209 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site