summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/fcntl.go
diff options
context:
space:
mode:
authorJustine Olshan <justineolshan@google.com>2018-07-27 12:26:42 -0700
committerShentubot <shentubot@google.com>2018-07-27 12:27:46 -0700
commit2793f7ac5f96b474decfff68cfde86bb5c2ed0a4 (patch)
treea8ac11c5b9066e98d4f0ba8b1c1d4b1c77908ff5 /pkg/abi/linux/fcntl.go
parentbe7fcbc5582fe831b5ec63f773d867d7591e27a1 (diff)
Added the O_LARGEFILE flag.
This flag will always be true for gVisor files. PiperOrigin-RevId: 206355963 Change-Id: I2f03d2412e2609042df43b06d1318cba674574d0
Diffstat (limited to 'pkg/abi/linux/fcntl.go')
-rw-r--r--pkg/abi/linux/fcntl.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/abi/linux/fcntl.go b/pkg/abi/linux/fcntl.go
index f5dbe5199..2a5ad6ed7 100644
--- a/pkg/abi/linux/fcntl.go
+++ b/pkg/abi/linux/fcntl.go
@@ -27,3 +27,8 @@ const (
F_SETLKW = 7
F_SETOWN = 8
)
+
+// Flags for fcntl.
+const (
+ FD_CLOEXEC = 00000001
+)