diff options
Diffstat (limited to 'sysutils/xenkernel41/patches/patch-CVE-2013-1917-1')
-rw-r--r-- | sysutils/xenkernel41/patches/patch-CVE-2013-1917-1 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sysutils/xenkernel41/patches/patch-CVE-2013-1917-1 b/sysutils/xenkernel41/patches/patch-CVE-2013-1917-1 deleted file mode 100644 index d0de992c7d4..00000000000 --- a/sysutils/xenkernel41/patches/patch-CVE-2013-1917-1 +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-CVE-2013-1917-1,v 1.1 2013/04/19 14:02:45 bouyer Exp $ - -http://lists.xen.org/archives/html/xen-announce/2013-04/msg00005.html - ---- xen/arch/x86/acpi/suspend.c.orig -+++ xen/arch/x86/acpi/suspend.c -@@ -81,8 +81,12 @@ void restore_rest_processor_state(void) - } - - #else /* !defined(CONFIG_X86_64) */ -- if ( supervisor_mode_kernel && cpu_has_sep ) -- wrmsr(MSR_IA32_SYSENTER_ESP, &this_cpu(init_tss).esp1, 0); -+ if ( cpu_has_sep ) -+ { -+ wrmsr(MSR_IA32_SYSENTER_CS, 0, 0); -+ if ( supervisor_mode_kernel ) -+ wrmsr(MSR_IA32_SYSENTER_ESP, &this_cpu(init_tss).esp1, 0); -+ } - #endif - - /* Maybe load the debug registers. */ |