gvisor/pkg/sentry/fsimpl/host
Dean Deng 693b6bdda9 Correctly distinguish between seekable and non-seekable host fds.
Check whether an fd is seekable by calling the seek syscall and
examining the return value, instead of checking the file type,
which is inaccurate.

PiperOrigin-RevId: 305361593
2020-04-07 16:17:40 -07:00
..
BUILD Whitelist utimensat(2). 2020-03-19 23:30:21 -07:00
host.go Correctly distinguish between seekable and non-seekable host fds. 2020-04-07 16:17:40 -07:00
ioctl_unsafe.go Port imported TTY fds to vfs2. 2020-03-18 19:12:10 -07:00
tty.go Port imported TTY fds to vfs2. 2020-03-18 19:12:10 -07:00
util.go Whitelist utimensat(2). 2020-03-19 23:30:21 -07:00
util_unsafe.go Whitelist utimensat(2). 2020-03-19 23:30:21 -07:00