From owner-freebsd-questions Fri Dec 21 22:41:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bilbo.in.mat.cc (bilbo.in.mat.cc [212.43.217.121]) by hub.freebsd.org (Postfix) with ESMTP id 3BF5837B417 for ; Fri, 21 Dec 2001 22:41:38 -0800 (PST) Received: from bilbo.org (localhost [127.0.0.1]) by bilbo.in.mat.cc (Postfix) with ESMTP id C85EF71055; Sat, 22 Dec 2001 07:41:33 +0100 (CET) Received: from club-internet.fr (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id 4156D71055; Sat, 22 Dec 2001 07:41:29 +0100 (CET) Message-ID: <3C242B18.C6E39EC5@club-internet.fr> Date: Sat, 22 Dec 2001 07:41:28 +0100 From: Mathieu Arnold Organization: http://www.absolight.fr/ X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: nimrodm@email.com Cc: questions@freebsd.org Subject: Re: kill -9 -1 References: <20011221205649.A899@localhost.bsd.net.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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