From owner-cvs-all Sun Jan 26 14:14:44 2003 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 ED82237B401; Sun, 26 Jan 2003 14:14:43 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2196E43F13; Sun, 26 Jan 2003 14:14:43 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id h0QMEfbs078224 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 26 Jan 2003 17:14:42 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id h0QMEfiV078221; Sun, 26 Jan 2003 17:14:41 -0500 (EST) (envelope-from wollman) Date: Sun, 26 Jan 2003 17:14:41 -0500 (EST) From: Garrett Wollman Message-Id: <200301262214.h0QMEfiV078221@khavrinen.lcs.mit.edu> To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/disklabel disklabel.c In-Reply-To: <200301262155.h0QLthcN022706@repoman.freebsd.org> References: <200301262155.h0QLthcN022706@repoman.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctls > to fiddle the disk we can get away with it. Uh, if the ioctls actually succeed in fiddling the disk, that's a serious security problem. Probably there should be a separate .ctl node for these sorts of operations. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message