diff options
author | Dean Deng <deandeng@google.com> | 2020-04-07 16:16:31 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-07 16:17:40 -0700 |
commit | 693b6bdda9206a5910c552a3997b2df5480d6947 (patch) | |
tree | dc14bb5ecb3f1e7190fac8f7dbfd82aae1036826 /benchmarks/workloads/redis/Dockerfile | |
parent | fc72eb3595a7c4e2fa83caa39a9bb4171875c208 (diff) |
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
Diffstat (limited to 'benchmarks/workloads/redis/Dockerfile')
0 files changed, 0 insertions, 0 deletions