summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/file.go')
-rw-r--r--pkg/abi/linux/file.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go
index 72e5c6f83..8d48e1753 100644
--- a/pkg/abi/linux/file.go
+++ b/pkg/abi/linux/file.go
@@ -150,6 +150,13 @@ const (
PermissionsMask = 0777
)
+// Values for preadv2/pwritev2.
+const (
+ RWF_HIPRI = 0x0001
+ RWF_DSYNC = 0X0002
+ RWF_SYNC = 0x0004
+)
+
// Stat represents struct stat.
type Stat struct {
Dev uint64