diff options
author | Nayana Bidari <nybidari@google.com> | 2020-09-15 13:39:47 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-15 13:43:50 -0700 |
commit | 7f89a26e18edfe4335eaab965fb7a03eaebb2682 (patch) | |
tree | 8410c7967fff59c0660a5453cb021e678e56417a /pkg/sentry/fsimpl/proc | |
parent | 0d790cbaea5cd40ceabdf8f59978efff1a0626f1 (diff) |
Release FDTable lock before dropping the fds.
This is needed for SO_LINGER, where close() is blocked for linger timeout and
we are holding the FDTable lock for the entire timeout which will not allow
us to create/delete other fds. We have to release the locks and then drop the
fds.
PiperOrigin-RevId: 331844185
Diffstat (limited to 'pkg/sentry/fsimpl/proc')
0 files changed, 0 insertions, 0 deletions