diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-02-10 12:21:32 (GMT) |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 15:36:11 (GMT) |
commit | 1871c6020d7308afb99127bba51f04548e7ca84e (patch) | |
tree | 64871be680574ed53104923456dc0b184db3cf69 /fs/openpromfs | |
parent | a0044755679f3e761b8b95995e5f2db2b7efd0f6 (diff) | |
download | linux-1871c6020d7308afb99127bba51f04548e7ca84e.tar.xz |
KVM: x86 emulator: fix memory access during x86 emulation
Currently when x86 emulator needs to access memory, page walk is done with
broadest permission possible, so if emulated instruction was executed
by userspace process it can still access kernel memory. Fix that by
providing correct memory access to page walker during emulation.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions