diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-30 14:03:22 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-30 14:03:22 -0800 |
commit | d62362f63fb86591832ee8e36e833df20b8218f6 (patch) | |
tree | ce543d5fe19d2db7b125278f412bf241158c7273 /test/syscalls/linux/fcntl.cc | |
parent | 4ee64a248ec16fcc9e526a457a66648546611bfb (diff) | |
parent | 49e84b10e5ed7f94e6cbe003b9f7268e8235bb08 (diff) |
Merge pull request #1630 from xiaobo55x:kOLargeFile
PiperOrigin-RevId: 292419699
Diffstat (limited to 'test/syscalls/linux/fcntl.cc')
-rw-r--r-- | test/syscalls/linux/fcntl.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/syscalls/linux/fcntl.cc b/test/syscalls/linux/fcntl.cc index 4f3aa81d6..421c15b87 100644 --- a/test/syscalls/linux/fcntl.cc +++ b/test/syscalls/linux/fcntl.cc @@ -31,6 +31,7 @@ #include "test/syscalls/linux/socket_test_util.h" #include "test/util/cleanup.h" #include "test/util/eventfd_util.h" +#include "test/util/fs_util.h" #include "test/util/multiprocess_util.h" #include "test/util/posix_error.h" #include "test/util/save_util.h" @@ -55,10 +56,6 @@ ABSL_FLAG(int32_t, socket_fd, -1, namespace gvisor { namespace testing { -// O_LARGEFILE as defined by Linux. glibc tries to be clever by setting it to 0 -// because "it isn't needed", even though Linux can return it via F_GETFL. -constexpr int kOLargeFile = 00100000; - class FcntlLockTest : public ::testing::Test { public: void SetUp() override { |