From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 19 07:55:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC0816A403 for ; Tue, 19 Sep 2006 07:55:52 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail24.syd.optusnet.com.au (mail24.syd.optusnet.com.au [211.29.133.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 086BA43D46 for ; Tue, 19 Sep 2006 07:55:51 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail24.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k8J7toOK032706 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 19 Sep 2006 17:55:50 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k8J7tocT001043 for ; Tue, 19 Sep 2006 17:55:50 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k8J7tonP001042 for freebsd-hackers@freebsd.org; Tue, 19 Sep 2006 17:55:50 +1000 (EST) (envelope-from peter) Date: Tue, 19 Sep 2006 17:55:50 +1000 From: Peter Jeremy To: freebsd-hackers@freebsd.org Message-ID: <20060919075550.GB720@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.12-2006-07-14 Subject: Delivering SIGKILL to init X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 07:55:52 -0000 --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Prompted by some discussion elsewhere, I've been trying to send SIGKILL to init. If I ktrace kill(1), I can see "kill(1,9)" which returns 0 but the signal is never delivered. If I sent (eg) SIGXCPU then init dies and the kernel panics (as expected). I've looked through sys/kern/kern_* and can't see anywhere that special cases the delivery of SIGKILL to init. Can anyone please explain why SIGKILL doesn't kill init (at least on -stable). --=20 Peter Jeremy --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFD6KG/opHv/APuIcRAvBCAJ40ObuxklNZn5sFdzfxnjY3SkUmjgCeNZiJ szexJpQszDVVHhtCQ+TC2jg= =37qi -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--