summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/linux64_amd64.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-06-10 12:43:10 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-10 12:51:43 -0700
commit8d426b73818cf07aeee3db88478a00b80ad9aafe (patch)
tree6f2d3effdce92e16ab46f2e624279cd60fe97654 /pkg/sentry/strace/linux64_amd64.go
parent450692e03fe651d75d017c7e2faf4cba10e26f0b (diff)
Parse mmap protection and flags in strace
PiperOrigin-RevId: 378712518
Diffstat (limited to 'pkg/sentry/strace/linux64_amd64.go')
-rw-r--r--pkg/sentry/strace/linux64_amd64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/strace/linux64_amd64.go b/pkg/sentry/strace/linux64_amd64.go
index d66befe81..6ce1bb592 100644
--- a/pkg/sentry/strace/linux64_amd64.go
+++ b/pkg/sentry/strace/linux64_amd64.go
@@ -33,7 +33,7 @@ var linuxAMD64 = SyscallMap{
6: makeSyscallInfo("lstat", Path, Stat),
7: makeSyscallInfo("poll", PollFDs, Hex, Hex),
8: makeSyscallInfo("lseek", Hex, Hex, Hex),
- 9: makeSyscallInfo("mmap", Hex, Hex, Hex, Hex, FD, Hex),
+ 9: makeSyscallInfo("mmap", Hex, Hex, MmapProt, MmapFlags, FD, Hex),
10: makeSyscallInfo("mprotect", Hex, Hex, Hex),
11: makeSyscallInfo("munmap", Hex, Hex),
12: makeSyscallInfo("brk", Hex),