search for: is_canonical_address

Displaying 3 results from an estimated 3 matches for "is_canonical_address".

2013 Oct 10
10
[PATCH 0/4] x86: XSA-67 follow-up
1: correct LDT checks 2: add address validity check to guest_map_l1e() 3: use {rd,wr}{fs,gs}base when available 4: check for canonical address before doing page walks Signed-off-by: Jan Beulich <jbeulich@suse.com>
2007 Aug 08
2
[PATCH] x86-64: syscall/sysenter support for 32-bit apps
...SER_CS32); + break; + default: + BUG(); + } /* Common SYSCALL parameters. */ wrmsr(MSR_STAR, 0, (FLAT_RING3_CS32<<16) | __HYPERVISOR_CS); @@ -355,6 +370,9 @@ static long register_guest_callback(stru long ret = 0; struct vcpu *v = current; + if ( !is_canonical_address(reg->address) ) + return -EINVAL; + switch ( reg->type ) { case CALLBACKTYPE_event: @@ -372,6 +390,14 @@ static long register_guest_callback(stru break; case CALLBACKTYPE_syscall: + /* See arch_set_info_guest() for why this is being done. */ +...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh Rathor at Oracle. The entirety of the design and development was done by him; I have only reworked, reorganized, and simplified things in a way that I think makes more sense. The vast majority of the credit for this effort therefore goes to him. This version is labelled v13 because it is based on his most recent series, v11.