summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/file_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/file_amd64.go')
-rw-r--r--pkg/abi/linux/file_amd64.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/abi/linux/file_amd64.go b/pkg/abi/linux/file_amd64.go
index 74c554be6..9d307e840 100644
--- a/pkg/abi/linux/file_amd64.go
+++ b/pkg/abi/linux/file_amd64.go
@@ -14,6 +14,14 @@
package linux
+// Constants for open(2).
+const (
+ O_DIRECT = 000040000
+ O_LARGEFILE = 000100000
+ O_DIRECTORY = 000200000
+ O_NOFOLLOW = 000400000
+)
+
// Stat represents struct stat.
type Stat struct {
Dev uint64