summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-07-17 15:48:33 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-17 15:52:38 -0700
commit2bc398bfd8fbe38776a512329bd0c40c9c7a5cdf (patch)
treeb978cf47150c445300d20941d617941fb3053b4d /pkg/abi
parent84a59de5dc3a0b8a260c942958cd91e014dc8d9b (diff)
Separate O_DSYNC and O_SYNC.
PiperOrigin-RevId: 258657913
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/file.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go
index f78ffaa82..285338e47 100644
--- a/pkg/abi/linux/file.go
+++ b/pkg/abi/linux/file.go
@@ -34,13 +34,14 @@ const (
O_TRUNC = 00001000
O_APPEND = 00002000
O_NONBLOCK = 00004000
+ O_DSYNC = 00010000
O_ASYNC = 00020000
O_DIRECT = 00040000
O_LARGEFILE = 00100000
O_DIRECTORY = 00200000
O_NOFOLLOW = 00400000
O_CLOEXEC = 02000000
- O_SYNC = 04010000
+ O_SYNC = 04000000
O_PATH = 010000000
)