blob: 31f3f2509e0dde96c89aea75ac6467c9b389243f (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Driver: Check for PROT_EXEC on translation, gracefully handle SIGBUS
Currently we'll happily translate pages without PROT_EXEC or not mapped at all.
We need to only permit code to run in guest mapped pages, and only ones with PROT_EXEC, or appropriately generate SIGSEGVs for the guest.
We also need to gracefully handle SIGBUSes during translation, eg from PROT_EXEC mappings that are out of range.
We also need FLTs for those.
|