From 9f1189130ed8c9172700a76fd5796b7319fbb8b9 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 17 Jul 2019 11:47:59 -0700 Subject: Add AF_UNIX, SOCK_RAW sockets, which exist for some reason. tcpdump creates these. PiperOrigin-RevId: 258611829 --- test/syscalls/linux/socket_unix_dgram_local.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/syscalls/linux/socket_unix_dgram_local.cc b/test/syscalls/linux/socket_unix_dgram_local.cc index 8c5a473bd..9134fcdf7 100644 --- a/test/syscalls/linux/socket_unix_dgram_local.cc +++ b/test/syscalls/linux/socket_unix_dgram_local.cc @@ -28,15 +28,15 @@ std::vector GetSocketPairs() { return VecCat(VecCat( ApplyVec( UnixDomainSocketPair, - AllBitwiseCombinations(List{SOCK_DGRAM}, + AllBitwiseCombinations(List{SOCK_DGRAM, SOCK_RAW}, List{0, SOCK_NONBLOCK})), ApplyVec( FilesystemBoundUnixDomainSocketPair, - AllBitwiseCombinations(List{SOCK_DGRAM}, + AllBitwiseCombinations(List{SOCK_DGRAM, SOCK_RAW}, List{0, SOCK_NONBLOCK})), ApplyVec( AbstractBoundUnixDomainSocketPair, - AllBitwiseCombinations(List{SOCK_DGRAM}, + AllBitwiseCombinations(List{SOCK_DGRAM, SOCK_RAW}, List{0, SOCK_NONBLOCK})))); } -- cgit v1.2.3