summaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-06-16 13:03:51 +0100
committerPaul Brook <paul@codesourcery.com>2010-06-16 13:03:51 +0100
commit9e0b74a43f5ab94acdc5b450747b8f6c184e0062 (patch)
tree6caa015d762b74c2a37e8620a35c9a069797e362 /linux-user/strace.c
parent0e1c9c54afb9ce6be2339923ced025a0d2a541ea (diff)
downloadqemu-9e0b74a43f5ab94acdc5b450747b8f6c184e0062.tar.gz
qemu-9e0b74a43f5ab94acdc5b450747b8f6c184e0062.tar.bz2
qemu-9e0b74a43f5ab94acdc5b450747b8f6c184e0062.zip
Strace mprotect flags.
Teach strace code about linux specific mprotect flags. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index d77053b303..bf9a0d9391 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -385,6 +385,9 @@ UNUSED static struct flags mmap_prot_flags[] = {
FLAG_GENERIC(PROT_EXEC),
FLAG_GENERIC(PROT_READ),
FLAG_GENERIC(PROT_WRITE),
+ FLAG_TARGET(PROT_SEM),
+ FLAG_GENERIC(PROT_GROWSDOWN),
+ FLAG_GENERIC(PROT_GROWSUP),
FLAG_END,
};