diff options
author | Tamir Duberstein <tamird@google.com> | 2020-08-31 13:08:49 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-31 13:10:56 -0700 |
commit | 9d0d82088a5bd385ceb63cb2f864e054638c69e1 (patch) | |
tree | 2930cc32bae81cd85831551bf2a4f2012b64609b /test/syscalls/linux/packet_socket_raw.cc | |
parent | 911cecaa34f15d9591fa060d943c35791adca855 (diff) |
Remove __fuchsia__ defines
These mostly guard linux-only headers; check for linux instead.
PiperOrigin-RevId: 329362762
Diffstat (limited to 'test/syscalls/linux/packet_socket_raw.cc')
-rw-r--r-- | test/syscalls/linux/packet_socket_raw.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/syscalls/linux/packet_socket_raw.cc b/test/syscalls/linux/packet_socket_raw.cc index a11a03415..f3c1d6bc9 100644 --- a/test/syscalls/linux/packet_socket_raw.cc +++ b/test/syscalls/linux/packet_socket_raw.cc @@ -14,9 +14,7 @@ #include <arpa/inet.h> #include <linux/capability.h> -#ifndef __fuchsia__ #include <linux/filter.h> -#endif // __fuchsia__ #include <linux/if_arp.h> #include <linux/if_packet.h> #include <net/ethernet.h> @@ -618,8 +616,6 @@ TEST_P(RawPacketTest, GetSocketErrorBind) { } } -#ifndef __fuchsia__ - TEST_P(RawPacketTest, SetSocketDetachFilterNoInstalledFilter) { // TODO(gvisor.dev/2746): Support SO_ATTACH_FILTER/SO_DETACH_FILTER. // @@ -647,8 +643,6 @@ TEST_P(RawPacketTest, GetSocketDetachFilter) { SyscallFailsWithErrno(ENOPROTOOPT)); } -#endif // __fuchsia__ - INSTANTIATE_TEST_SUITE_P(AllInetTests, RawPacketTest, ::testing::Values(ETH_P_IP, ETH_P_ALL)); |