From owner-cvs-all@FreeBSD.ORG Mon Aug 7 02:25:14 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAE616A4DA; Mon, 7 Aug 2006 02:25:14 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC2C743D53; Mon, 7 Aug 2006 02:25:13 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k772P9E7011314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Aug 2006 11:55:10 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: cvs-all@freebsd.org Date: Mon, 7 Aug 2006 11:55:10 +0930 User-Agent: KMail/1.9.3 References: <200608021305.k72D5c9R055142@repoman.freebsd.org> <86oduxx2a5.fsf@xps.des.no> In-Reply-To: <86oduxx2a5.fsf@xps.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2041606.t7dSf7tQnx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608071155.12122.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= , src-committers@freebsd.org, Bruce M Simpson , cvs-src@freebsd.org Subject: Re: cvs commit: src/sbin/reboot reboot.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 02:25:14 -0000 --nextPart2041606.t7dSf7tQnx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 07 August 2006 01:52, Dag-Erling Sm=F8rgrav wrote: > Bruce M Simpson writes: > > Log: > > Block a variety of signals which may afffect reboot(8), before killing > > init(8), to avoid losing a race to them and dying before being able > > to call reboot(2). > > Wouldn't it be more logical to have init(8) perform the reboot(2) call > upon receiving a signal from reboot(8)? You wouldn't be able to reboot the system in single user mode then would yo= u? (Unless you are local and your keymap allows ctrl-alt-del to work anyway) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2041606.t7dSf7tQnx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD4DBQBE1qSI5ZPcIHs/zowRAiQBAJURVXzEgIi2jAngsJrR8wmD2m0jAJ4/IYPA O+Vb2oc73Up4TI4ZHN/0yg== =S6DF -----END PGP SIGNATURE----- --nextPart2041606.t7dSf7tQnx--