summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/time.cc
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-03-19 17:32:23 -0700
committerShentubot <shentubot@google.com>2019-03-19 17:33:20 -0700
commit87cce0ec08b9d629a5e3a88be411b1721d767301 (patch)
tree86c7f3b29933a86a1b7efb22694fb8413c70e780 /test/syscalls/linux/time.cc
parent7b33df68450bdb9519cf650a8d92fa4a81f37fa0 (diff)
netstack: reduce MSS from SYN to account tcp options
See: https://tools.ietf.org/html/rfc6691#section-2 PiperOrigin-RevId: 239305632 Change-Id: Ie8eb912a43332e6490045dc95570709c5b81855e
Diffstat (limited to 'test/syscalls/linux/time.cc')
-rw-r--r--test/syscalls/linux/time.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/time.cc b/test/syscalls/linux/time.cc
index 3abcd8098..5a3dfd026 100644
--- a/test/syscalls/linux/time.cc
+++ b/test/syscalls/linux/time.cc
@@ -61,6 +61,7 @@ TEST(TimeTest, VsyscallTime_InvalidAddressSIGSEGV) {
EXPECT_EXIT(vsyscall_time(reinterpret_cast<time_t*>(0x1)),
::testing::KilledBySignal(SIGSEGV), "");
}
+
int vsyscall_gettimeofday(struct timeval* tv, struct timezone* tz) {
constexpr uint64_t kVsyscallGettimeofdayEntry = 0xffffffffff600000;
return reinterpret_cast<int (*)(struct timeval*, struct timezone*)>(