diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-06-10 19:55:33 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-10 19:55:33 +0000 |
commit | 203df401b853b9916b4a1cdec702f096fb5ed828 (patch) | |
tree | a9b8ce9a6f8b983fbd610e54bc6b6c1a761b5e99 /pkg/sentry/strace/strace.go | |
parent | 767289c84bbfc7bb98655924661d4ce850bb3070 (diff) | |
parent | 8d426b73818cf07aeee3db88478a00b80ad9aafe (diff) |
Merge release-20210601.0-41-g8d426b738 (automated)
Diffstat (limited to 'pkg/sentry/strace/strace.go')
-rw-r--r-- | pkg/sentry/strace/strace.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/strace/strace.go b/pkg/sentry/strace/strace.go index ec5d5f846..af7088847 100644 --- a/pkg/sentry/strace/strace.go +++ b/pkg/sentry/strace/strace.go @@ -489,6 +489,10 @@ func (i *SyscallInfo) pre(t *kernel.Task, args arch.SyscallArguments, maximumBlo output = append(output, epollEvents(t, args[arg].Pointer(), 0 /* numEvents */, uint64(maximumBlobSize))) case SelectFDSet: output = append(output, fdSet(t, int(args[0].Int()), args[arg].Pointer())) + case MmapProt: + output = append(output, ProtectionFlagSet.Parse(uint64(args[arg].Uint()))) + case MmapFlags: + output = append(output, MmapFlagSet.Parse(uint64(args[arg].Uint()))) case Oct: output = append(output, "0o"+strconv.FormatUint(args[arg].Uint64(), 8)) case Hex: |