Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2001 07:41:28 +0100
From:      Mathieu Arnold <arn_mat@club-internet.fr>
To:        nimrodm@email.com
Cc:        questions@freebsd.org
Subject:   Re: kill -9 -1
Message-ID:  <3C242B18.C6E39EC5@club-internet.fr>
References:  <20011221205649.A899@localhost.bsd.net.il>

next in thread | previous in thread | raw e-mail | index | archive | help

Nimrod Mesika wrote:
> 
> After reading some information about a recent Linux debate
> considering the behavior of kill with pid of -1, I decided to test
> the behavior of FreeBSD (the issue is whether -1 will kill the
> calling process or not).
> 
> So I typed at the bash prompt (as a normal user, not root):
> 
> $kill -9 -1
> 
> And my system died. XFree was dead but instead of going back to text
> mode (as if it was killed) the system was left in an unstable
> condition. I couldn't log-in again (at least not from the console).
> The screen went black and nothing worked - I couldn't switch virtual
> consoles, etc.
> 
> Ctrl-Alt-Del did not work. I had to push the big red button...
> 
> Can anyone confirm/explain this phenomena? (this is on a fairly
> recent -stable).

on a CURRENT (I have no stable) :

mat@beorn ~$ kill -9 -1
su: kill: (1) - Operation not permitted
mat@beorn ~$ 

it doesn't seem to do what it should either

-- 
Mathieu Arnold

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C242B18.C6E39EC5>