summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/gofer/inode.go
diff options
context:
space:
mode:
authorBrian Geffon <bgeffon@google.com>2018-11-27 17:47:16 -0800
committerShentubot <shentubot@google.com>2018-11-27 17:48:05 -0800
commit5bd02b224fd0eb81fc028644137a24d0bbf7dab5 (patch)
tree995116d6614fe807f081832291f784dff4de2913 /pkg/sentry/fs/gofer/inode.go
parent9e0f13237793897c805f75af163006049b37e784 (diff)
Save shutdown flags first.
With rpcinet if shutdown flags are not saved before making the rpc a race is possible where blocked threads are woken up before the flags have been persisted. This would mean that threads can block indefinitely in a recvmsg after a shutdown(SHUT_RD) has happened. PiperOrigin-RevId: 223089783 Change-Id: If595e7add12aece54bcdf668ab64c570910d061a
Diffstat (limited to 'pkg/sentry/fs/gofer/inode.go')
0 files changed, 0 insertions, 0 deletions