summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/file_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/file_arm64.go')
-rwxr-xr-xpkg/abi/linux/file_arm64.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/abi/linux/file_arm64.go b/pkg/abi/linux/file_arm64.go
index f16c07589..26a54f416 100755
--- a/pkg/abi/linux/file_arm64.go
+++ b/pkg/abi/linux/file_arm64.go
@@ -14,6 +14,14 @@
package linux
+// Constants for open(2).
+const (
+ O_DIRECTORY = 000040000
+ O_NOFOLLOW = 000100000
+ O_DIRECT = 000200000
+ O_LARGEFILE = 000400000
+)
+
// Stat represents struct stat.
type Stat struct {
Dev uint64