diff options
author | Paul Brook | 2010-06-16 14:03:51 +0200 |
---|---|---|
committer | Paul Brook | 2010-06-16 14:03:51 +0200 |
commit | 97374d38583028b33074c69caf296d94cb1b9d5b (patch) | |
tree | 20dd2e75e0b7dcf623a084e19e3f5e39a9161f31 /hw/pc_piix.c | |
parent | Strace mprotect flags. (diff) | |
download | qemu-97374d38583028b33074c69caf296d94cb1b9d5b.tar.gz qemu-97374d38583028b33074c69caf296d94cb1b9d5b.tar.xz qemu-97374d38583028b33074c69caf296d94cb1b9d5b.zip |
Usermode exec-stack fix
When loading a shared library that requires an executable stack,
glibc uses the mprotext PROT_GROWSDOWN flag to achieve this.
We don't support PROT_GROWSDOWN.
Add a special case to handle changing the stack permissions in this way.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/pc_piix.c')
0 files changed, 0 insertions, 0 deletions