Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xen
23800-x86_64-guest-addr-range.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 23800-x86_64-guest-addr-range.patch of Package xen
# HG changeset patch # User Keir Fraser <keir@xen.org> # Date 1314800089 -3600 # Node ID 72edc40e2942a3cf0ee8e0d3a330d2e5c2bdfb53 # Parent ac9aa65050e9abc8f1c12c8603acf3b99e22cddc x86-64: Fix off-by-one error in __addr_ok() macro Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Keir Fraser <keir@xen.org> Index: xen-4.1.2-testing/xen/include/asm-x86/x86_64/uaccess.h =================================================================== --- xen-4.1.2-testing.orig/xen/include/asm-x86/x86_64/uaccess.h +++ xen-4.1.2-testing/xen/include/asm-x86/x86_64/uaccess.h @@ -21,7 +21,7 @@ void free_compat_arg_xlat(struct vcpu *v * 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) \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor