summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-07-25 11:05:59 -0700
committerShentubot <shentubot@google.com>2018-07-25 11:07:19 -0700
commit7cd9405b9cc112ebe352af0e5f13b7b57628001b (patch)
treed39b1673e7fa17ce2cfc5fad8b1899cbdc62dd12
parent1129b35c92034d04ed22cf69e270ed9c034069d7 (diff)
Format openat flags
PiperOrigin-RevId: 206021774 Change-Id: I447b6c751c28a8d8d4d78468b756b6ad8c61e169
-rw-r--r--pkg/sentry/strace/linux64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/strace/linux64.go b/pkg/sentry/strace/linux64.go
index 85e1e1f83..7a1eb581d 100644
--- a/pkg/sentry/strace/linux64.go
+++ b/pkg/sentry/strace/linux64.go
@@ -274,7 +274,7 @@ var linuxAMD64 = SyscallMap{
254: makeSyscallInfo("inotify_add_watch", Hex, Hex, Hex),
255: makeSyscallInfo("inotify_rm_watch", Hex, Hex),
256: makeSyscallInfo("migrate_pages", Hex, Hex, Hex, Hex),
- 257: makeSyscallInfo("openat", Hex, Path, Hex, Mode),
+ 257: makeSyscallInfo("openat", Hex, Path, OpenFlags, Mode),
258: makeSyscallInfo("mkdirat", Hex, Path, Hex),
259: makeSyscallInfo("mknodat", Hex, Path, Mode, Hex),
260: makeSyscallInfo("fchownat", Hex, Path, Hex, Hex, Hex),