lkml.org 
[lkml]   [1998]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kill -9 <pid of X>
On Wed, 12 Aug 1998, Kenneth Albanowski wrote:
> May I therefore ask (as devil's advocate, please realize) why the kernel
> prevents init from receiving unwanted signals? Surely there is no reason
> root shouldn't be able to SIGKILL init, as you "could have killed the
> machine in easier ways", and we seem to be talking about the same level of
> mistake (accidentally killing the wrong process).

I guess you're talking about process 1? On most systems it's `init' :-)

That's the first process. All other processes are children of process 1. If you
kill process 1, the machine has nothing more to do. Hence it makes sense not
being able to kill #1.

Greetings,

Geert

--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


-
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    [W:0.129 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site