summaryrefslogtreecommitdiffhomepage
path: root/pkg/usermem/usermem_test.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-05-08 11:34:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-08 11:35:41 -0700
commit21b71395a6aa2eafbc4c59222574d56c2db2e23b (patch)
tree39298c15bf0366caeb75fd348f646800d16fac6e /pkg/usermem/usermem_test.go
parent5d7d5ed7d6ffd8d420f042a22b22e0527e78d441 (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/usermem/usermem_test.go')
0 files changed, 0 insertions, 0 deletions