aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-11-25 17:06:15 -0800
committerDmitry Vyukov <dvyukov@google.com>2019-11-26 11:34:30 +0100
commitf72ffd024df9098b2d787d0107295a9669481cc9 (patch)
tree13c95b78165c9eb56ff68090da7a29c8c2f0afc1
parent2649e7ccc4893a6006c8636daccdcae5afb3e8c6 (diff)
sys/linux/fscrypt.txt: add FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64
This flag is new in 5.5. Also add a link to the fscrypt API documentation.
-rw-r--r--executor/defs.h10
-rw-r--r--sys/linux/fscrypt.txt4
-rw-r--r--sys/linux/fscrypt_386.const1
-rw-r--r--sys/linux/fscrypt_amd64.const1
-rw-r--r--sys/linux/fscrypt_arm.const1
-rw-r--r--sys/linux/fscrypt_arm64.const1
-rw-r--r--sys/linux/fscrypt_ppc64le.const1
-rw-r--r--sys/linux/gen/386.go11
-rw-r--r--sys/linux/gen/amd64.go9
-rw-r--r--sys/linux/gen/arm.go11
-rw-r--r--sys/linux/gen/arm64.go9
-rw-r--r--sys/linux/gen/ppc64le.go9
-rw-r--r--sys/linux/sys_386.const2
-rw-r--r--sys/linux/sys_arm.const2
14 files changed, 42 insertions, 30 deletions
diff --git a/executor/defs.h b/executor/defs.h
index bad6c9481..5f245bc4d 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "5151faa173fc98e6a82366903779cd31d3ac902c"
+#define SYZ_REVISION "b1293dbe2ee6665ac7b881658eafc706d1c60bd6"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "563f1b5d9502687a98e66246c411d98fc9fb1656"
+#define SYZ_REVISION "d39d2d5ebff24446c5c0967745361523f7bf74d5"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "63ba5ad5df5224899d94f3e6d63630e8a14fed97"
+#define SYZ_REVISION "3faab3bd75e32594236822b84e777a660b8f44f1"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "145cbd0e933dc9ba74bbd3235f6c94cf29e2a376"
+#define SYZ_REVISION "9309bbd8f2c02c715084efa8cdff142679b4e179"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -110,7 +110,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "658a186cc51be611943a23ad744320187ae69ce4"
+#define SYZ_REVISION "fe19530420a5ffe4da19879e46a4ca674ee11f98"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
diff --git a/sys/linux/fscrypt.txt b/sys/linux/fscrypt.txt
index 79f6b9a04..78eef2c8e 100644
--- a/sys/linux/fscrypt.txt
+++ b/sys/linux/fscrypt.txt
@@ -1,6 +1,8 @@
# Copyright 2019 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+# Reference: https://www.kernel.org/doc/html/latest/filesystems/fscrypt.html#user-api
+
include <uapi/linux/fs.h>
include <uapi/linux/fscrypt.h>
@@ -47,7 +49,7 @@ type fscrypt_policy_mode_t[CONTENTS, FILENAMES] {
filenames_encryption_mode const[FILENAMES, int8]
}
-fscrypt_policy_flags = FSCRYPT_POLICY_FLAGS_PAD_4, FSCRYPT_POLICY_FLAGS_PAD_8, FSCRYPT_POLICY_FLAGS_PAD_16, FSCRYPT_POLICY_FLAGS_PAD_32, FSCRYPT_POLICY_FLAG_DIRECT_KEY
+fscrypt_policy_flags = FSCRYPT_POLICY_FLAGS_PAD_4, FSCRYPT_POLICY_FLAGS_PAD_8, FSCRYPT_POLICY_FLAGS_PAD_16, FSCRYPT_POLICY_FLAGS_PAD_32, FSCRYPT_POLICY_FLAG_DIRECT_KEY, FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64
fscrypt_get_policy_ex_arg {
policy_size len[policy, int64]
diff --git a/sys/linux/fscrypt_386.const b/sys/linux/fscrypt_386.const
index 71866f62d..d3d854769 100644
--- a/sys/linux/fscrypt_386.const
+++ b/sys/linux/fscrypt_386.const
@@ -13,6 +13,7 @@ FSCRYPT_POLICY_FLAGS_PAD_32 = 3
FSCRYPT_POLICY_FLAGS_PAD_4 = 0
FSCRYPT_POLICY_FLAGS_PAD_8 = 1
FSCRYPT_POLICY_FLAG_DIRECT_KEY = 4
+FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 8
FS_IOC_ADD_ENCRYPTION_KEY = 3226494487
FS_IOC_GET_ENCRYPTION_KEY_STATUS = 3229640218
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
diff --git a/sys/linux/fscrypt_amd64.const b/sys/linux/fscrypt_amd64.const
index 4f4fd8fdd..6fa8feffb 100644
--- a/sys/linux/fscrypt_amd64.const
+++ b/sys/linux/fscrypt_amd64.const
@@ -13,6 +13,7 @@ FSCRYPT_POLICY_FLAGS_PAD_32 = 3
FSCRYPT_POLICY_FLAGS_PAD_4 = 0
FSCRYPT_POLICY_FLAGS_PAD_8 = 1
FSCRYPT_POLICY_FLAG_DIRECT_KEY = 4
+FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 8
FS_IOC_ADD_ENCRYPTION_KEY = 3226494487
FS_IOC_GET_ENCRYPTION_KEY_STATUS = 3229640218
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
diff --git a/sys/linux/fscrypt_arm.const b/sys/linux/fscrypt_arm.const
index 71866f62d..d3d854769 100644
--- a/sys/linux/fscrypt_arm.const
+++ b/sys/linux/fscrypt_arm.const
@@ -13,6 +13,7 @@ FSCRYPT_POLICY_FLAGS_PAD_32 = 3
FSCRYPT_POLICY_FLAGS_PAD_4 = 0
FSCRYPT_POLICY_FLAGS_PAD_8 = 1
FSCRYPT_POLICY_FLAG_DIRECT_KEY = 4
+FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 8
FS_IOC_ADD_ENCRYPTION_KEY = 3226494487
FS_IOC_GET_ENCRYPTION_KEY_STATUS = 3229640218
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
diff --git a/sys/linux/fscrypt_arm64.const b/sys/linux/fscrypt_arm64.const
index e7c4df5b9..3bbe2589a 100644
--- a/sys/linux/fscrypt_arm64.const
+++ b/sys/linux/fscrypt_arm64.const
@@ -13,6 +13,7 @@ FSCRYPT_POLICY_FLAGS_PAD_32 = 3
FSCRYPT_POLICY_FLAGS_PAD_4 = 0
FSCRYPT_POLICY_FLAGS_PAD_8 = 1
FSCRYPT_POLICY_FLAG_DIRECT_KEY = 4
+FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 8
FS_IOC_ADD_ENCRYPTION_KEY = 3226494487
FS_IOC_GET_ENCRYPTION_KEY_STATUS = 3229640218
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
diff --git a/sys/linux/fscrypt_ppc64le.const b/sys/linux/fscrypt_ppc64le.const
index f50a6f82d..caf432ec9 100644
--- a/sys/linux/fscrypt_ppc64le.const
+++ b/sys/linux/fscrypt_ppc64le.const
@@ -13,6 +13,7 @@ FSCRYPT_POLICY_FLAGS_PAD_32 = 3
FSCRYPT_POLICY_FLAGS_PAD_4 = 0
FSCRYPT_POLICY_FLAGS_PAD_8 = 1
FSCRYPT_POLICY_FLAG_DIRECT_KEY = 4
+FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 8
FS_IOC_ADD_ENCRYPTION_KEY = 3226494487
FS_IOC_GET_ENCRYPTION_KEY_STATUS = 3229640218
FS_IOC_GET_ENCRYPTION_POLICY = 2148296213
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 71b9da720..5dd8f7ddd 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -6130,19 +6130,19 @@ var structDescs_386 = []*KeyedStruct{
{Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
@@ -49100,6 +49100,7 @@ var consts_386 = []ConstValue{
{Name: "FSCRYPT_POLICY_FLAGS_PAD_4"},
{Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1},
{Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4},
+ {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
{Name: "FSMOUNT_CLOEXEC", Value: 1},
@@ -50312,7 +50313,7 @@ var consts_386 = []ConstValue{
{Name: "KCOV_DISABLE", Value: 25445},
{Name: "KCOV_ENABLE", Value: 25444},
{Name: "KCOV_INIT_TRACE", Value: 2147771137},
- {Name: "KCOV_REMOTE_ENABLE", Value: 1075340134},
+ {Name: "KCOV_REMOTE_ENABLE", Value: 1075077990},
{Name: "KCOV_TRACE_CMP", Value: 1},
{Name: "KCOV_TRACE_PC"},
{Name: "KDADDIO", Value: 19252},
@@ -55908,4 +55909,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "5151faa173fc98e6a82366903779cd31d3ac902c"
+const revision_386 = "b1293dbe2ee6665ac7b881658eafc706d1c60bd6"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index c6e3d226b..863fbcd10 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -6225,19 +6225,19 @@ var structDescs_amd64 = []*KeyedStruct{
{Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
@@ -49640,6 +49640,7 @@ var consts_amd64 = []ConstValue{
{Name: "FSCRYPT_POLICY_FLAGS_PAD_4"},
{Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1},
{Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4},
+ {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
{Name: "FSMOUNT_CLOEXEC", Value: 1},
@@ -56463,4 +56464,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "563f1b5d9502687a98e66246c411d98fc9fb1656"
+const revision_amd64 = "d39d2d5ebff24446c5c0967745361523f7bf74d5"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 007c6db31..8f03fc3ef 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -6130,19 +6130,19 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
@@ -48740,6 +48740,7 @@ var consts_arm = []ConstValue{
{Name: "FSCRYPT_POLICY_FLAGS_PAD_4"},
{Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1},
{Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4},
+ {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
{Name: "FSMOUNT_CLOEXEC", Value: 1},
@@ -49951,7 +49952,7 @@ var consts_arm = []ConstValue{
{Name: "KCOV_DISABLE", Value: 25445},
{Name: "KCOV_ENABLE", Value: 25444},
{Name: "KCOV_INIT_TRACE", Value: 2147771137},
- {Name: "KCOV_REMOTE_ENABLE", Value: 1075340134},
+ {Name: "KCOV_REMOTE_ENABLE", Value: 1075077990},
{Name: "KCOV_TRACE_CMP", Value: 1},
{Name: "KCOV_TRACE_PC"},
{Name: "KDADDIO", Value: 19252},
@@ -55485,4 +55486,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "63ba5ad5df5224899d94f3e6d63630e8a14fed97"
+const revision_arm = "3faab3bd75e32594236822b84e777a660b8f44f1"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 31c8eedfb..4f74c00d1 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -6225,19 +6225,19 @@ var structDescs_arm64 = []*KeyedStruct{
{Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
@@ -49086,6 +49086,7 @@ var consts_arm64 = []ConstValue{
{Name: "FSCRYPT_POLICY_FLAGS_PAD_4"},
{Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1},
{Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4},
+ {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
{Name: "FSMOUNT_CLOEXEC", Value: 1},
@@ -55815,4 +55816,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "145cbd0e933dc9ba74bbd3235f6c94cf29e2a376"
+const revision_arm64 = "9309bbd8f2c02c715084efa8cdff142679b4e179"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index c2c3b544d..34bc7f302 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -6224,19 +6224,19 @@ var structDescs_ppc64le = []*KeyedStruct{
{Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
}}},
{Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2},
&UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
}}},
@@ -49080,6 +49080,7 @@ var consts_ppc64le = []ConstValue{
{Name: "FSCRYPT_POLICY_FLAGS_PAD_4"},
{Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1},
{Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4},
+ {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8},
{Name: "FSLABEL_MAX", Value: 256},
{Name: "FSMAP_SIZE", Value: 64},
{Name: "FSMOUNT_CLOEXEC", Value: 1},
@@ -55780,4 +55781,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "658a186cc51be611943a23ad744320187ae69ce4"
+const revision_ppc64le = "fe19530420a5ffe4da19879e46a4ca674ee11f98"
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index 776cad93d..658521dbb 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -174,7 +174,7 @@ KCMP_VM = 1
KCOV_DISABLE = 25445
KCOV_ENABLE = 25444
KCOV_INIT_TRACE = 2147771137
-KCOV_REMOTE_ENABLE = 1075340134
+KCOV_REMOTE_ENABLE = 1075077990
KCOV_TRACE_CMP = 1
KCOV_TRACE_PC = 0
KEXEC_ARCH_386 = 196608
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 626a43e94..ba6d67257 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -174,7 +174,7 @@ KCMP_VM = 1
KCOV_DISABLE = 25445
KCOV_ENABLE = 25444
KCOV_INIT_TRACE = 2147771137
-KCOV_REMOTE_ENABLE = 1075340134
+KCOV_REMOTE_ENABLE = 1075077990
KCOV_TRACE_CMP = 1
KCOV_TRACE_PC = 0
KEXEC_ARCH_386 = 196608