diff options
| author | Michael S. Tsirkin | 2015-09-10 15:41:17 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-10-01 15:16:52 +0200 |
| commit | 9fac18f03a9040b67ec38e14d3e1ed34db9c7e06 (patch) | |
| tree | 0a2b3aef43106edfbf64a788d07d69874ff64bda /exec.c | |
| parent | oslib: rework anonimous RAM allocation (diff) | |
| download | qemu-9fac18f03a9040b67ec38e14d3e1ed34db9c7e06.tar.gz qemu-9fac18f03a9040b67ec38e14d3e1ed34db9c7e06.tar.xz qemu-9fac18f03a9040b67ec38e14d3e1ed34db9c7e06.zip | |
oslib: allocate PROT_NONE pages on top of RAM
This inserts a read and write protected page between RAM and QEMU
memory. 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 'exec.c')
0 files changed, 0 insertions, 0 deletions
