From 2bc398bfd8fbe38776a512329bd0c40c9c7a5cdf Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Wed, 17 Jul 2019 15:48:33 -0700 Subject: Separate O_DSYNC and O_SYNC. PiperOrigin-RevId: 258657913 --- pkg/abi/linux/file.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/abi/linux/file.go') 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 ) -- cgit v1.2.3