[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] linux: prevent non-Xen modules from loading in Xen kernel
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1200673092 0 # Node ID 1207f7f198c31595b34dca379b397e9c396856a8 # Parent 577f5e925da38574bd5ec04e7629ac88616a490e linux: prevent non-Xen modules from loading in Xen kernel Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- include/linux/vermagic.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletion(-) diff -r 577f5e925da3 -r 1207f7f198c3 include/linux/vermagic.h --- a/include/linux/vermagic.h Fri Jan 18 16:14:16 2008 +0000 +++ b/include/linux/vermagic.h Fri Jan 18 16:18:12 2008 +0000 @@ -17,6 +17,11 @@ #else #define MODULE_VERMAGIC_MODULE_UNLOAD "" #endif +#ifdef CONFIG_XEN +#define MODULE_VERMAGIC_XEN "Xen " +#else +#define MODULE_VERMAGIC_XEN +#endif #ifndef MODULE_ARCH_VERMAGIC #define MODULE_ARCH_VERMAGIC "" #endif @@ -24,5 +29,6 @@ #define VERMAGIC_STRING \ UTS_RELEASE " " \ MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \ - MODULE_VERMAGIC_MODULE_UNLOAD MODULE_ARCH_VERMAGIC \ + MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_XEN \ + MODULE_ARCH_VERMAGIC \ "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |