From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W369l-0001JQ-Cg for qemu-devel@nongnu.org; Tue, 14 Jan 2014 10:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W369c-0007yT-W0 for qemu-devel@nongnu.org; Tue, 14 Jan 2014 10:43:57 -0500 Received: from mail-qe0-x235.google.com ([2607:f8b0:400d:c02::235]:58313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W369c-0007yP-OE for qemu-devel@nongnu.org; Tue, 14 Jan 2014 10:43:48 -0500 Received: by mail-qe0-f53.google.com with SMTP id t7so8601287qeb.26 for ; Tue, 14 Jan 2014 07:43:48 -0800 (PST) Sender: Richard Henderson Message-ID: <52D55B2F.7060907@twiddle.net> Date: Tue, 14 Jan 2014 07:43:43 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1389632394-10130-1-git-send-email-pbonzini@redhat.com> <1389632394-10130-7-git-send-email-pbonzini@redhat.com> <52D4658E.10203@twiddle.net> <20140114030658.GB9212@T430.nay.redhat.com> <52D54DFE.9090605@twiddle.net> <52D5558D.2010208@redhat.com> <52D55834.5030802@redhat.com> In-Reply-To: <52D55834.5030802@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v15 6/9] module: implement module loading List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Maydell Cc: Fam Zheng , Michael Tokarev , QEMU Developers , Alex Bligh , Miroslav Rezanina , =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= On 01/14/2014 07:31 AM, Paolo Bonzini wrote: > Il 14/01/2014 16:25, Peter Maydell ha scritto: >> I definitely think we want at least a basic molly-guard on >> "module not compiled for this qemu"; we need not attempt >> to make it impervious to somebody who's determined to get >> around it, because that's impossible. Something like the >> git hash / file hash rth proposes seems reasonable. > > What about the SHA1 of configure? That doesn't change enough to be worthwhile. r~