summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2021-08-30 15:32:22 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-30 15:35:02 -0700
commitdfbcb8903ae8bd0d1ff984889f1b5cf1e041865e (patch)
treef38c3de45bb102e17971f428fed0099ac69b6a2c /test/syscalls/linux/BUILD
parenta247e227b1f629392d0a9132dc490a6ef9ee2519 (diff)
[syserr] Fix SIGBUS on syserr.FromError
Fix syzcaller panic SIGBUS on error handling. Done by adding an interface, errors.GuestError, which errors can implement in order to be compared against each other. PiperOrigin-RevId: 393867554
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 01ee432cb..b06b3d233 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -3293,9 +3293,12 @@ cc_library(
],
deps = [
":unix_domain_socket_test_util",
+ "//test/util:file_descriptor",
+ "//test/util:memory_util",
"//test/util:socket_util",
"@com_google_absl//absl/strings",
gtest,
+ "//test/util:temp_path",
"//test/util:test_util",
"//test/util:thread_util",
],