Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19aX7E-0008Lt-7V for qemu-devel@nongnu.org; Thu, 10 Jul 2003 04:49:24 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19aX6f-0007K7-EE for qemu-devel@nongnu.org; Thu, 10 Jul 2003 04:48:49 -0400 Received: from dp.samba.org ([66.70.73.150] helo=lists.samba.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19aX6C-0006v1-Sn for qemu-devel@nongnu.org; Thu, 10 Jul 2003 04:48:20 -0400 From: Rusty Russell Subject: Re: [Qemu-devel] CONFIG_QEMU patch In-reply-to: Your message of "Wed, 09 Jul 2003 23:03:57 MST." <20030709.230357.91335242.davem@redhat.com> Date: Thu, 10 Jul 2003 18:29:45 +1000 Sender: rusty@bach.samba.org Message-Id: <20030710084820.8A4132C0A4@lists.samba.org> Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Miller" Cc: qemu-devel@nongnu.org In message <20030709.230357.91335242.davem@redhat.com> you write: > From: Rusty Russell > Date: Thu, 10 Jul 2003 15:46:24 +1000 > > and also avoids a user access trap in > copy_mount_options() which OOPSes under QEMU. > > Is this a bug in this kernel code or a QEMU issue? QEMU, definitely. copy_mount_options() is the only place where the copy_from_user regularly fails. That's mainly because it's bad code, but it's a useful canary for exactly this readson. Cheers, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.