diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-08-18 21:55:16 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-18 22:02:23 -0700 |
commit | 35dc7fe7e78faab35b55eaa6f82360cc8b23f3b3 (patch) | |
tree | 0a9f7d8dae70e5f3e3f67fdb745787988d04ace9 /pkg/sentry/vfs/lock.go | |
parent | e5f05d9bf4cfad75c295abfe2f994688a8863102 (diff) |
[vfs] Allow offsets for special files other than regular files.
Some character and block devices can be seekable. So allow their FD to maintain
file offset.
PiperOrigin-RevId: 327370684
Diffstat (limited to 'pkg/sentry/vfs/lock.go')
0 files changed, 0 insertions, 0 deletions