From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFeYC-0004WQ-7Y for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:49:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFeYB-0004UR-3f for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:49:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFeYA-0004UO-TV for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:49:02 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HFeYA-0005d2-Cl for qemu-devel@nongnu.org; Fri, 09 Feb 2007 17:49:02 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Two quick requests. Date: Fri, 9 Feb 2007 22:48:51 +0000 References: <200702091719.16429.rob@landley.net> <200702092227.09299.paul@codesourcery.com> <20070209223359.GU29333@erizo.shearer.org> In-Reply-To: <20070209223359.GU29333@erizo.shearer.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702092248.52614.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Dan Shearer On Friday 09 February 2007 22:33, Dan Shearer wrote: > On Fri, Feb 09, 2007 at 10:27:08PM +0000, Paul Brook wrote: > > On Friday 09 February 2007 22:19, Rob Landley wrote: > > > 1) When you accidentally run qemu as root, could it NOT try to go into > > > a full-screen display by default resulting in a corrupted display you > > > can't break out of and have to power cycle the machine? > > > > This is a feature of your SDL libraries. They're probably trying to use > > console framebuffer output. Complain to whoever supplied your SDL > > libraries. > > True but I think Rob wants to prevent the "accidentally" bit because > that isn't the only bad thing you can do with QEMU as root by accident. > The user's intention can be (more or less) detected with a parameter > like "-force-run-as-root". Since once of QEMU's main points is to avoid > the need for root access I think that's reasonable. I've very little sympathy (read: none) for people who "accidentally" break things by running them as root. Paul