Strace mprotect flags.

Teach strace code about linux specific mprotect flags.

Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook 2010-06-16 13:03:51 +01:00
parent 0e1c9c54af
commit 9e0b74a43f
2 changed files with 9 additions and 0 deletions

View file

@ -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,
};