Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753407AbXLKPw1 (ORCPT ); Tue, 11 Dec 2007 10:52:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751007AbXLKPwU (ORCPT ); Tue, 11 Dec 2007 10:52:20 -0500 Received: from moutng.kundenserver.de ([212.227.126.183]:57538 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbXLKPwT (ORCPT ); Tue, 11 Dec 2007 10:52:19 -0500 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: [PATCH] xen: relax signature check To: Jeremy Fitzhardinge , Linus Torvalds , Andrew Morton , Linux Kernel Mailing List , Xen-devel Reply-To: 7eggert@gmx.de Date: Tue, 11 Dec 2007 16:52:01 +0100 References: <9yY38-5oa-11@gated-at.bofh.it> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de X-Provags-ID: V01U2FsdGVkX1/q6RTTM8pxJ0ota5kFVPQDVkOj8OcCmr0SI6j duE4Wflrnw0OfL4Wls0FLCAh9Az6EpAJAKhYJStm34QTYPpRwK +8eXUDnkME54sQWKfdkZw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 641 Lines: 11 Jeremy Fitzhardinge wrote: > Some versions of Xen 3.x set their magic number to "xen-3.[12]", so > relax the test to match them. > - BUG_ON(memcmp(xen_start_info->magic, "xen-3.0", 7) != 0); > + BUG_ON(memcmp(xen_start_info->magic, "xen-3", 5) != 0); Not BUG_ON(memcmp(xen_start_info->magic, "xen-3.", 6) != 0); ? I don't thin Xen version 32 will be compatible ... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/