[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] xen: relax signature check



Jeremy Fitzhardinge <jeremy@xxxxxxxx> 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 ...


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.