aboutsummaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-09-10 16:41:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-10-01 16:16:52 +0300
commit8561c9244ddf1122dfe7ccac9b23f506062f1499 (patch)
tree80ad18ab7472e7cdc9bab615093c29cd92067cdb /hw/i386
parent9fac18f03a9040b67ec38e14d3e1ed34db9c7e06 (diff)
downloadqemu-8561c9244ddf1122dfe7ccac9b23f506062f1499.zip
qemu-8561c9244ddf1122dfe7ccac9b23f506062f1499.tar.gz
qemu-8561c9244ddf1122dfe7ccac9b23f506062f1499.tar.bz2
exec: allocate PROT_NONE pages on top of RAM
This inserts a read and write protected page between RAM and QEMU memory, for file-backend RAM. This makes it harder to exploit QEMU bugs resulting from buffer overflows in devices using variants of cpu_physical_memory_map, dma_memory_map etc. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions