diff options
author | Jamie Liu <jamieliu@google.com> | 2020-05-08 11:34:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-08 11:35:41 -0700 |
commit | 21b71395a6aa2eafbc4c59222574d56c2db2e23b (patch) | |
tree | 39298c15bf0366caeb75fd348f646800d16fac6e /pkg/sentry/limits/BUILD | |
parent | 5d7d5ed7d6ffd8d420f042a22b22e0527e78d441 (diff) |
Pass flags to fsimpl/host.inode.open().
This has two effects: It makes flags passed to open("/proc/[pid]/fd/[hostfd]")
effective, and it prevents imported pipes/sockets/character devices from being
opened with O_NONBLOCK unconditionally (because the underlying host FD was set
to non-blocking in ImportFD()).
PiperOrigin-RevId: 310596062
Diffstat (limited to 'pkg/sentry/limits/BUILD')
0 files changed, 0 insertions, 0 deletions