summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/linux64.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-07-20 12:58:59 -0700
committerShentubot <shentubot@google.com>2018-07-20 12:59:41 -0700
commit5f134b3c0a08c0e170aa50ad3342df59832b4356 (patch)
tree57f4cbe0eefb4c620a713d4765a284e5a7f690fd /pkg/sentry/strace/linux64.go
parentf62d6dd4537b155f462d69aefb6414785791fcba (diff)
Format getcwd path
PiperOrigin-RevId: 205440332 Change-Id: I2a838f363e079164c83da88e1b0b8769844fe79b
Diffstat (limited to 'pkg/sentry/strace/linux64.go')
-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 90ea8c36f..85e1e1f83 100644
--- a/pkg/sentry/strace/linux64.go
+++ b/pkg/sentry/strace/linux64.go
@@ -96,7 +96,7 @@ var linuxAMD64 = SyscallMap{
76: makeSyscallInfo("truncate", Path, Hex),
77: makeSyscallInfo("ftruncate", Hex, Hex),
78: makeSyscallInfo("getdents", Hex, Hex, Hex),
- 79: makeSyscallInfo("getcwd", Hex, Hex),
+ 79: makeSyscallInfo("getcwd", PostPath, Hex),
80: makeSyscallInfo("chdir", Path),
81: makeSyscallInfo("fchdir", Hex),
82: makeSyscallInfo("rename", Path, Path),