lkml.org 
[lkml]   [1998]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: kill -9 <pid of X>
Date
In article <Pine.HPP.3.91.980811192452.22974F-100000@gaia.ecs.csus.edu>,
Jon M. Taylor <taylorj@ecs.csus.edu> wrote:
>>
>> That's not the kernel's job.
>
> Whose job is it then? X's? X cannot do the job properly because
>it can be killed and leave the hardware in an unknown state.

Jon, why do you continue to maintain this, when you have been told that
you're wrong?

The X server can avoid even kill -9 from a normal user. As it stands,
it doesn't do that, and I personally think it's a bug in X. But it's
not a kernel problem - X could make sure (by doing a "setuid(0)" to
renounce all use privileges) that nobody can kill it but root.

(And by the time you have a root that sends it a signal, you have a root
that could have killed the machine in easier ways, so don't even bother
claiming that it makes any difference).

So "that's not the kernel's job" is correct.

As long as you continue to claim this stupid "oh, the X server can't do
this, because.." when it's very obvious that the X server _can_ do it,
you aren't very believeable.

Linus

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