diff options
author | Ian Gudger <igudger@google.com> | 2019-03-21 13:18:00 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-21 13:19:11 -0700 |
commit | ba828233b9e934992ac024232e5018ce9971f334 (patch) | |
tree | 935ae24edc19af05f2ff3505beb60251c69666b6 /pkg/sentry/fs/tty | |
parent | ba937d74f9a69893cde8c7e8cb9c2d1cdadb2b70 (diff) |
Clear msghdr flags on successful recvmsg.
.net sets these flags to -1 and then uses their result, especting it to be
zero.
Does not set actual flags (e.g. MSG_TRUNC), but setting to zero is more correct
than what we did before.
PiperOrigin-RevId: 239657951
Change-Id: I89c5f84bc9b94a2cd8ff84e8ecfea09e01142030
Diffstat (limited to 'pkg/sentry/fs/tty')
0 files changed, 0 insertions, 0 deletions