diff options
author | Dean Deng <deandeng@google.com> | 2020-06-23 19:22:45 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-23 19:24:43 -0700 |
commit | 2189e0a660e8355167bee4939fffeb57f0312b5d (patch) | |
tree | bc292e7e270d44c1e45f4444e4e8d834eba86a4a /pkg/sentry/fs/tty | |
parent | 2141013dcef04de0591e36462ea997be1b6374d7 (diff) |
Clean up hostfs TODOs.
This CL does a handful of things:
- Support O_DSYNC, O_SYNC
- Support O_APPEND and document an unavoidable race condition
- Ignore O_DIRECT; we probably don't want to allow applications to set O_DIRECT
on the host fd itself.
- Leave a TODO for supporting O_NONBLOCK, which is a simple fix once RWF_NOWAIT
is supported.
- Get rid of caching TODO; force_page_cache is not configurable for host fs in
vfs1 or vfs2 after whitelist fs was removed.
- For the remaining TODOs, link to more specific bugs.
Fixes #1672.
PiperOrigin-RevId: 317985269
Diffstat (limited to 'pkg/sentry/fs/tty')
0 files changed, 0 insertions, 0 deletions