diff options
author | Alexander Graf <[email protected]> | 2014-04-29 12:17:26 +0200 |
---|---|---|
committer | Alexander Graf <[email protected]> | 2014-04-29 12:36:09 +0200 |
commit | b18db0b80867931f4e3a844400a3c22a4fd2ff57 (patch) | |
tree | 0bc2511f1c513a919904016a0665949107f36c40 /net/unix/af_unix.c | |
parent | ab78475c76bd8c54375d8a778200c59314973d30 (diff) |
KVM guest: Make pv trampoline code executable
Our PV guest patching code assembles chunks of instructions on the fly when it
encounters more complicated instructions to hijack. These instructions need
to live in a section that we don't mark as non-executable, as otherwise we
fault when jumping there.
Right now we put it into the .bss section where it automatically gets marked
as non-executable. Add a check to the NX setting function to ensure that we
leave these particular pages executable.
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions