summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-10-03 13:35:24 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-03 13:38:30 -0700
commitdb218fdfcf16b664c990f02c94ed89ac2c1ad314 (patch)
tree6b405bcbffed9131714e8b2fe8dd23c3ed5ed6fc /test/syscalls/linux/BUILD
parent0bf8e90719e96f7d6f4f510889a298e80374bde2 (diff)
Don't report partialResult errors from sendfile
The input file descriptor is always a regular file, so sendfile can't lose any data if it will not be able to write them to the output file descriptor. Reported-by: syzbot+22d22330a35fa1c02155@syzkaller.appspotmail.com PiperOrigin-RevId: 272730357
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index b555bd7aa..b9fee9ee9 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -1905,6 +1905,7 @@ cc_binary(
srcs = ["sendfile.cc"],
linkstatic = 1,
deps = [
+ "//test/util:eventfd_util",
"//test/util:file_descriptor",
"//test/util:temp_path",
"//test/util:test_main",