diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-07 22:03:58 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-07 22:03:58 +0000 |
commit | f254cdfc3df2b43550d3f2abac64cc06d13e3451 (patch) | |
tree | 4728b48fa1e0d62fb8b56167310b8b8f416a7dc2 /pkg/sentry/strace/linux64_amd64.go | |
parent | 4f85d0d86c25cd6d5d42a8c679bac40c242a8c37 (diff) | |
parent | e1587a28876f8aac689a2cd1b7630f1637655b58 (diff) |
Merge release-20200127.0-98-ge1587a2 (automated)
Diffstat (limited to 'pkg/sentry/strace/linux64_amd64.go')
-rwxr-xr-x | pkg/sentry/strace/linux64_amd64.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/strace/linux64_amd64.go b/pkg/sentry/strace/linux64_amd64.go index 85ec66fd3..a4de545e9 100755 --- a/pkg/sentry/strace/linux64_amd64.go +++ b/pkg/sentry/strace/linux64_amd64.go @@ -78,8 +78,8 @@ var linuxAMD64 = SyscallMap{ 51: makeSyscallInfo("getsockname", FD, PostSockAddr, SockLen), 52: makeSyscallInfo("getpeername", FD, PostSockAddr, SockLen), 53: makeSyscallInfo("socketpair", SockFamily, SockType, SockProtocol, Hex), - 54: makeSyscallInfo("setsockopt", FD, Hex, Hex, Hex, Hex), - 55: makeSyscallInfo("getsockopt", FD, Hex, Hex, Hex, Hex), + 54: makeSyscallInfo("setsockopt", FD, SockOptLevel, SockOptName, SetSockOptVal, Hex /* length by value, not a pointer */), + 55: makeSyscallInfo("getsockopt", FD, SockOptLevel, SockOptName, GetSockOptVal, SockLen), 56: makeSyscallInfo("clone", CloneFlags, Hex, Hex, Hex, Hex), 57: makeSyscallInfo("fork"), 58: makeSyscallInfo("vfork"), |