diff options
author | Andrei Vagin <avagin@google.com> | 2020-11-02 14:40:24 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-02 14:42:03 -0800 |
commit | 9efaf675187a2f22bb24492eb5b040e2ff8196a9 (patch) | |
tree | 4e862646e0820ce4c6c238f38c2b5e793f7536d9 /pkg/sentry/syscalls/linux/sys_rusage.go | |
parent | ed4f8573435763f08971374243934d3dcf65c06a (diff) |
Clean up the code of setupTimeWaitClose
The active_closefd has to be shutdown only for write,
otherwise the second poll will always return immediately.
The second poll should not be called from a separate thread.
PiperOrigin-RevId: 340319071
Diffstat (limited to 'pkg/sentry/syscalls/linux/sys_rusage.go')
0 files changed, 0 insertions, 0 deletions