diff options
Diffstat (limited to 'sysutils/xenkernel41/patches/patch-CVE-2013-1918_10')
-rw-r--r-- | sysutils/xenkernel41/patches/patch-CVE-2013-1918_10 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sysutils/xenkernel41/patches/patch-CVE-2013-1918_10 b/sysutils/xenkernel41/patches/patch-CVE-2013-1918_10 deleted file mode 100644 index 19b55bf7a0f..00000000000 --- a/sysutils/xenkernel41/patches/patch-CVE-2013-1918_10 +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-CVE-2013-1918_10,v 1.1 2013/05/03 16:48:37 drochner Exp $ - ---- xen/arch/x86/traps.c.orig 2013-04-23 16:44:20.000000000 +0000 -+++ xen/arch/x86/traps.c -@@ -2317,8 +2317,15 @@ static int emulate_privileged_op(struct - rc = new_guest_cr3(gmfn_to_mfn(v->domain, compat_cr3_to_pfn(*reg))); - #endif - domain_unlock(v->domain); -- if ( rc == 0 ) /* not okay */ -+ switch ( rc ) -+ { -+ case 0: -+ break; -+ case -EAGAIN: /* retry after preemption */ -+ goto skip; -+ default: /* not okay */ - goto fail; -+ } - break; - - case 4: /* Write CR4 */ |