diff options
author | Paul Brook <paul@codesourcery.com> | 2010-06-16 13:03:51 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-06-16 13:03:51 +0100 |
commit | 9e0b74a43f5ab94acdc5b450747b8f6c184e0062 (patch) | |
tree | 6caa015d762b74c2a37e8620a35c9a069797e362 /linux-user/syscall_defs.h | |
parent | 0e1c9c54afb9ce6be2339923ced025a0d2a541ea (diff) | |
download | qemu-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/syscall_defs.h')
-rw-r--r-- | linux-user/syscall_defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 681021ca0e..46cb05ea9f 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -946,6 +946,12 @@ struct target_winsize { #include "termbits.h" +#if defined(TARGET_MIPS) +#define TARGET_PROT_SEM 0x10 +#else +#define TARGET_PROT_SEM 0x08 +#endif + /* Common */ #define TARGET_MAP_SHARED 0x01 /* Share changes */ #define TARGET_MAP_PRIVATE 0x02 /* Changes are private */ |