diff options
author | Dean Deng <deandeng@google.com> | 2019-12-10 13:04:32 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-10 13:06:01 -0800 |
commit | 39386d78bb9636e52d6a0487d5fa7bff6beab64e (patch) | |
tree | f62a3eeb87f0de69f28448673af2b40d95c28a38 /pkg/sentry/strace/syscalls.go | |
parent | 769e1cdcbe539ca2347ad5ccd2706ae17777aed9 (diff) |
Format fd_set parameters in select(2)/pselect(2) for strace.
I1202 14:55:06.835076 7991 x:0] [ 1] select_test E
select(0xa, 0x7fc6ce924c28 [0 1], null, null, 0x7fc6ce924c08 {sec=0 usec=0})
I1202 14:55:06.835102 7991 x:0] [ 1] select_test X
select(0xa, 0x7fc6ce924c28 [0 1], null, null, 0x7fc6ce924c08 {sec=0 usec=0})
PiperOrigin-RevId: 284831805
Diffstat (limited to 'pkg/sentry/strace/syscalls.go')
-rw-r--r-- | pkg/sentry/strace/syscalls.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/strace/syscalls.go b/pkg/sentry/strace/syscalls.go index 3c389d375..e5d486c4e 100644 --- a/pkg/sentry/strace/syscalls.go +++ b/pkg/sentry/strace/syscalls.go @@ -206,6 +206,10 @@ const ( // PollFDs is an array of struct pollfd. The number of entries in the // array is in the next argument. PollFDs + + // SelectFDSet is an fd_set argument in select(2)/pselect(2). The number of + // fds represented must be the first argument. + SelectFDSet ) // defaultFormat is the syscall argument format to use if the actual format is |