From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzWsf-0002DJ-Ja for qemu-devel@nongnu.org; Wed, 07 Apr 2010 11:09:25 -0400 Received: from [140.186.70.92] (port=38107 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzWsR-0001xt-S0 for qemu-devel@nongnu.org; Wed, 07 Apr 2010 11:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzWs6-0002YZ-MN for qemu-devel@nongnu.org; Wed, 07 Apr 2010 11:08:51 -0400 Received: from qw-out-1920.google.com ([74.125.92.146]:62657) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzWs6-0002YR-Ik for qemu-devel@nongnu.org; Wed, 07 Apr 2010 11:08:50 -0400 Received: by qw-out-1920.google.com with SMTP id 5so362938qwc.4 for ; Wed, 07 Apr 2010 08:08:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20100407115753.GB12452@lst.de> References: <20100407115753.GB12452@lst.de> Date: Wed, 7 Apr 2010 16:02:53 +0100 Message-ID: Subject: Re: [Qemu-devel] [PATCH] block: reject O_RDWR open for read-only images From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: qemu-devel@nongnu.org On Wed, Apr 7, 2010 at 12:57 PM, Christoph Hellwig wrote: > Various obscure image format drivers do not allow write access. > Instead of silently falling back to read-only access reject attempts > to open these images for write access. Does block/curl.c need this too? Stefan