diff options
author | Michael Pratt <mpratt@google.com> | 2019-06-05 18:39:30 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-06-05 18:40:37 -0700 |
commit | 57772db2e7351511de422baeecf807785709ee5d (patch) | |
tree | 6a20895b96b580dbfe76a9d8eeda67da71f58808 /test/syscalls/linux/socket_blocking.cc | |
parent | a12848ffebcc2e123f55d8ac805c5248d03a9055 (diff) |
Shutdown host sockets on internal shutdown
This is required to make the shutdown visible to peers outside the
sandbox.
The readClosed / writeClosed fields were dropped, as they were
preventing a shutdown socket from reading the remainder of queued bytes.
The host syscalls will return the appropriate errors for shutdown.
The control message tests have been split out of socket_unix.cc to make
the (few) remaining tests accessible to testing inherited host UDS,
which don't support sending control messages.
Updates #273
PiperOrigin-RevId: 251763060
Diffstat (limited to 'test/syscalls/linux/socket_blocking.cc')
0 files changed, 0 insertions, 0 deletions