pkgsrc/sysutils/xenkernel33/patches/patch-SA45835
2011-09-10 18:35:51 +00:00

13 lines
531 B
Text

$NetBSD: patch-SA45835,v 1.1 2011/09/10 18:35:51 bouyer Exp $
--- xen/include/asm-x86/x86_64/uaccess.h.orig 2011-09-10 20:10:52.000000000 +0200
+++ xen/include/asm-x86/x86_64/uaccess.h 2011-09-10 20:11:28.000000000 +0200
@@ -19,7 +19,7 @@
* non-canonical address (and thus fault) before ever reaching VIRT_START.
*/
#define __addr_ok(addr) \
- (((unsigned long)(addr) < (1UL<<48)) || \
+ (((unsigned long)(addr) < (1UL<<47)) || \
((unsigned long)(addr) >= HYPERVISOR_VIRT_END))
#define access_ok(addr, size) \