Read End from queue, Shutdown(SHUT_WR) socket

When an END marker comes through the queue, shutdown the sockets write
end in the ShmToSocket worker thread.

Also switches the Write to a Send with MSG_NOSIGNAL since ShmToSocket
can now potentially write into a closed socket causing a SIGPIPE.

BUG: 72654144
Change-Id: I74a3d9ffbf81ebea84279ba8e55ebd1ad266df6b
3 files changed
tree: 71d4b3e0ff8ce9487c6e9f33d681d39069f5e063
  1. common/
  2. guest/
  3. host/
  4. tools/
  5. Android.bp
  6. Android.mk
  7. OWNERS