diff options
author | Dean Deng <deandeng@google.com> | 2020-06-19 10:18:35 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-19 10:19:46 -0700 |
commit | a609fff9d1516a095341c2016ec36f952550a46f (patch) | |
tree | 0c4bb0ec88d60d34414434a51ae3c2572de89582 /test | |
parent | f40d023ad6f8c19898ca105842a88961b3c2994c (diff) |
Fix vfs2 handling of preadv2/pwritev2 flags.
Check for unsupported flags, and silently support RWF_HIPRI by doing nothing.
From pkg/abi/linux/file.go: "gVisor does not implement the RWF_HIPRI feature,
but the flag is accepted as a valid flag argument for preadv2/pwritev2."
Updates #2923.
PiperOrigin-RevId: 317330631
Diffstat (limited to 'test')
-rw-r--r-- | test/syscalls/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index 131f09ab4..9555dc308 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -463,6 +463,7 @@ syscall_test( syscall_test( add_overlay = True, test = "//test/syscalls/linux:preadv2_test", + vfs2 = "True", ) syscall_test( |