diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-13 13:57:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-13 13:57:23 -0700 |
commit | 7ec23972359a1b0bbedb9818bca2283822ee0a43 (patch) | |
tree | f7d5c064318b8c08e0569d4b2adee0e0937f5c22 /test/syscalls/linux/lseek.cc | |
parent | e1959f58dcf7a5338a04a069b43e690ca1e898e7 (diff) | |
parent | 8ce5b569714351f9f2f7fc48b0ff0bebbdb018ee (diff) |
Merge pull request #2289 from xiaobo55x:syscall_cleanup
PiperOrigin-RevId: 306303148
Diffstat (limited to 'test/syscalls/linux/lseek.cc')
-rw-r--r-- | test/syscalls/linux/lseek.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/lseek.cc b/test/syscalls/linux/lseek.cc index a8af8e545..6ce1e6cc3 100644 --- a/test/syscalls/linux/lseek.cc +++ b/test/syscalls/linux/lseek.cc @@ -53,7 +53,7 @@ TEST(LseekTest, NegativeOffset) { // A 32-bit off_t is not large enough to represent an offset larger than // maximum file size on standard file systems, so it isn't possible to cause // overflow. -#ifdef __x86_64__ +#if defined(__x86_64__) || defined(__aarch64__) TEST(LseekTest, Overflow) { // HA! Classic Linux. We really should have an EOVERFLOW // here, since we're seeking to something that cannot be |