diff options
author | Michael Pratt <mpratt@google.com> | 2018-07-20 12:58:59 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-20 12:59:41 -0700 |
commit | 5f134b3c0a08c0e170aa50ad3342df59832b4356 (patch) | |
tree | 57f4cbe0eefb4c620a713d4765a284e5a7f690fd /pkg/sentry/strace/strace.go | |
parent | f62d6dd4537b155f462d69aefb6414785791fcba (diff) |
Format getcwd path
PiperOrigin-RevId: 205440332
Change-Id: I2a838f363e079164c83da88e1b0b8769844fe79b
Diffstat (limited to 'pkg/sentry/strace/strace.go')
-rw-r--r-- | pkg/sentry/strace/strace.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/strace/strace.go b/pkg/sentry/strace/strace.go index 4cd16d2f8..03b4a350a 100644 --- a/pkg/sentry/strace/strace.go +++ b/pkg/sentry/strace/strace.go @@ -346,6 +346,8 @@ func (i *SyscallInfo) post(t *kernel.Task, args arch.SyscallArguments, rval uint output[arg] = msghdr(t, args[arg].Pointer(), false /* content */, uint64(maximumBlobSize)) case RecvMsgHdr: output[arg] = msghdr(t, args[arg].Pointer(), true /* content */, uint64(maximumBlobSize)) + case PostPath: + output[arg] = path(t, args[arg].Pointer()) case PipeFDs: output[arg] = fdpair(t, args[arg].Pointer()) case Uname: |