Jay Zhuang
17867c88f7
Include <netinet/tcp.h> for TCP enums in proc_net tests
...
These are currently duplicated in ip_socket_test_util, so tests including
both netinet/tcp.h and ip_socket_test_util won't compile.
PiperOrigin-RevId: 284623958
2019-12-09 13:37:32 -08:00
Haibo
e0c84f284c
test/syscall: Remove duplicated gtest/gtest.h.
...
Signed-off-by: Haibo Xu <haibo.xu@arm.com>
Change-Id: I05a7ec69b98b88931ba4a8adb3e8a7b822006001
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/1023 from xiaobo55x:syscall_test d44a8b1f827ed4081997af96cd58ba7449e0a9e1
PiperOrigin-RevId: 276740442
2019-10-25 12:40:36 -07:00
gVisor bot
cde7711837
Merge pull request #865 from tanjianfeng:fix-829
...
PiperOrigin-RevId: 272522508
2019-10-02 14:51:04 -07:00
Jianfeng Tan
329b6653ff
Implement /proc/net/tcp6
...
Fixes : #829
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
2019-09-20 17:20:08 +00:00
Rahat Mahmood
863e11ac4d
Implement /proc/net/udp.
...
PiperOrigin-RevId: 266229756
2019-08-29 14:30:41 -07:00
Andrei Vagin
5fd63d1c7f
tests: retry connect if it fails with EINTR
...
test/syscalls/linux/proc_net_tcp.cc:252: Failure
Value of: connect(client->get(), &addr, addrlen)
Expected: not -1 (success)
Actual: -1 (of type int), with errno PosixError(errno=4 Interrupted system call)
PiperOrigin-RevId: 264743815
2019-08-21 19:07:11 -07:00
Rahat Mahmood
691c2f8173
Compute size of struct tcp_info instead of hardcoding it.
...
PiperOrigin-RevId: 263040624
2019-08-12 17:34:38 -07:00
Rahat Mahmood
94a6bfab5d
Implement /proc/net/tcp.
...
PiperOrigin-RevId: 254854346
2019-06-24 15:56:36 -07:00