diff options
Diffstat (limited to 'sys/linux/gen')
| -rw-r--r-- | sys/linux/gen/386.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 21 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 21 |
5 files changed, 100 insertions, 5 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 376f4986d..03143ced8 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -4777,6 +4777,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "fsverity_digest", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsverity_digest", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsverity_digest_algorithm_flags", FldName: "digest_algorithm", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 3}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "digest_size", TypeSize: 2, ArgDir: 2}}, Buf: "digest"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", ArgDir: 2, IsVarlen: true}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -28127,6 +28132,10 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149057047}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "floppy_write_errors", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_ENABLE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26245}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, @@ -28172,6 +28181,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074816532}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_MEASURE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221513862}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsverity_digest", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976}, @@ -38642,6 +38656,7 @@ var consts_386 = []ConstValue{ {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, + {Name: "FS_IOC_ENABLE_VERITY", Value: 26245}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, @@ -38651,6 +38666,7 @@ var consts_386 = []ConstValue{ {Name: "FS_IOC_GETVERSION", Value: 2147776001}, {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, + {Name: "FS_IOC_MEASURE_VERITY", Value: 3221513862}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, @@ -38660,6 +38676,9 @@ var consts_386 = []ConstValue{ {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, {Name: "FS_POLICY_FLAGS_PAD_4"}, {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, + {Name: "FS_VERITY_ALG_CRC32C", Value: 3}, + {Name: "FS_VERITY_ALG_SHA256", Value: 1}, + {Name: "FS_VERITY_ALG_SHA512", Value: 2}, {Name: "FTD_MSG", Value: 16}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, @@ -44266,4 +44285,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "8d98cf123e28136d3c5e78476489e6e07c90f3fa" +const revision_386 = "41b7d68957439995599a13c27f4e53a5ef94c6ef" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 966b7e2f7..42caffcec 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -4872,6 +4872,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "fsverity_digest", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsverity_digest", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsverity_digest_algorithm_flags", FldName: "digest_algorithm", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 3}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "digest_size", TypeSize: 2, ArgDir: 2}}, Buf: "digest"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", ArgDir: 2, IsVarlen: true}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -28671,6 +28676,10 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150105623}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "floppy_write_errors", Dir: 1}}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_ENABLE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26245}, + }}, {NR: 16, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, @@ -28716,6 +28725,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074816532}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, }}, + {NR: 16, Name: "ioctl$FS_IOC_MEASURE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221513862}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsverity_digest", Dir: 2}}}, + }}, {NR: 16, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120}, @@ -39405,6 +39419,7 @@ var consts_amd64 = []ConstValue{ {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, + {Name: "FS_IOC_ENABLE_VERITY", Value: 26245}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, @@ -39414,6 +39429,7 @@ var consts_amd64 = []ConstValue{ {Name: "FS_IOC_GETVERSION", Value: 2148038145}, {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, + {Name: "FS_IOC_MEASURE_VERITY", Value: 3221513862}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, @@ -39423,6 +39439,9 @@ var consts_amd64 = []ConstValue{ {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, {Name: "FS_POLICY_FLAGS_PAD_4"}, {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, + {Name: "FS_VERITY_ALG_CRC32C", Value: 3}, + {Name: "FS_VERITY_ALG_SHA256", Value: 1}, + {Name: "FS_VERITY_ALG_SHA512", Value: 2}, {Name: "FTD_MSG", Value: 16}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, @@ -45054,4 +45073,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "d3c0cb876de4a8b5fb805efe83f674970a1348e7" +const revision_amd64 = "b7e39f3128ea124913623c5b44f8f4cf11321d3b" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index b59b5532d..0f49edf8e 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -4782,6 +4782,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "fsverity_digest", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsverity_digest", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsverity_digest_algorithm_flags", FldName: "digest_algorithm", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 3}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "digest_size", TypeSize: 2, ArgDir: 2}}, Buf: "digest"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", ArgDir: 2, IsVarlen: true}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -27995,6 +28000,10 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2149057047}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "floppy_write_errors", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_ENABLE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 26245}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223348747}, @@ -28040,6 +28049,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074816532}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_MEASURE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221513862}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fsverity_digest", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1076647976}, @@ -38534,6 +38548,7 @@ var consts_arm = []ConstValue{ {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, + {Name: "FS_IOC_ENABLE_VERITY", Value: 26245}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, @@ -38543,6 +38558,7 @@ var consts_arm = []ConstValue{ {Name: "FS_IOC_GETVERSION", Value: 2147776001}, {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, + {Name: "FS_IOC_MEASURE_VERITY", Value: 3221513862}, {Name: "FS_IOC_RESVSP", Value: 1076647976}, {Name: "FS_IOC_SETFLAGS", Value: 1074030082}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, @@ -38552,6 +38568,9 @@ var consts_arm = []ConstValue{ {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, {Name: "FS_POLICY_FLAGS_PAD_4"}, {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, + {Name: "FS_VERITY_ALG_CRC32C", Value: 3}, + {Name: "FS_VERITY_ALG_SHA256", Value: 1}, + {Name: "FS_VERITY_ALG_SHA512", Value: 2}, {Name: "FTD_MSG", Value: 16}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, @@ -44105,4 +44124,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "1d77e76fbb396a3a3706466c07f8c8bbd104f0a0" +const revision_arm = "34b155a4d1654ac354700f5d731b25f9b7fdcc76" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 5847b9fa8..d05631e9a 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -4872,6 +4872,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "fsverity_digest", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsverity_digest", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsverity_digest_algorithm_flags", FldName: "digest_algorithm", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 3}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "digest_size", TypeSize: 2, ArgDir: 2}}, Buf: "digest"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", ArgDir: 2, IsVarlen: true}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -28383,6 +28388,10 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150105623}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "floppy_write_errors", Dir: 1}}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_ENABLE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 26245}, + }}, {NR: 29, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, @@ -28428,6 +28437,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074816532}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, }}, + {NR: 29, Name: "ioctl$FS_IOC_MEASURE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221513862}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsverity_digest", Dir: 2}}}, + }}, {NR: 29, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076910120}, @@ -38851,6 +38865,7 @@ var consts_arm64 = []ConstValue{ {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, + {Name: "FS_IOC_ENABLE_VERITY", Value: 26245}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 2149341215}, {Name: "FS_IOC_FSSETXATTR", Value: 1075599392}, @@ -38860,6 +38875,7 @@ var consts_arm64 = []ConstValue{ {Name: "FS_IOC_GETVERSION", Value: 2148038145}, {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 1074554389}, {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 1074816532}, + {Name: "FS_IOC_MEASURE_VERITY", Value: 3221513862}, {Name: "FS_IOC_RESVSP", Value: 1076910120}, {Name: "FS_IOC_SETFLAGS", Value: 1074292226}, {Name: "FS_IOC_SETFSLABEL", Value: 1090556978}, @@ -38869,6 +38885,9 @@ var consts_arm64 = []ConstValue{ {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, {Name: "FS_POLICY_FLAGS_PAD_4"}, {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, + {Name: "FS_VERITY_ALG_CRC32C", Value: 3}, + {Name: "FS_VERITY_ALG_SHA256", Value: 1}, + {Name: "FS_VERITY_ALG_SHA512", Value: 2}, {Name: "FTD_MSG", Value: 16}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, @@ -44412,4 +44431,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "d63d6f43a6b2870d268f238f62b1af301671d55e" +const revision_arm64 = "26f57d8563b809b5879e620054577dcb38668de8" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index c63fdcef4..8bbcec162 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -4863,6 +4863,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "minlen", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "fsverity_digest", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsverity_digest", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsverity_digest_algorithm_flags", FldName: "digest_algorithm", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 3}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "digest_size", TypeSize: 2, ArgDir: 2}}, Buf: "digest"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digest", ArgDir: 2, IsVarlen: true}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -27440,6 +27445,10 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076363799}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "floppy_write_errors", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_ENABLE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536897157}, + }}, {NR: 54, Name: "ioctl$FS_IOC_FIEMAP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223348747}, @@ -27485,6 +27494,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148558356}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fscrypt_policy", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$FS_IOC_MEASURE_VERITY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221513862}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fsverity_digest", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$FS_IOC_RESVSP", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150651944}, @@ -37246,6 +37260,7 @@ var consts_ppc64le = []ConstValue{ {Name: "FS_ENCRYPTION_MODE_AES_256_XTS", Value: 1}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_CTS", Value: 8}, {Name: "FS_ENCRYPTION_MODE_SPECK128_256_XTS", Value: 7}, + {Name: "FS_IOC_ENABLE_VERITY", Value: 536897157}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FS_IOC_FSGETXATTR", Value: 1075599391}, {Name: "FS_IOC_FSSETXATTR", Value: 2149341216}, @@ -37255,6 +37270,7 @@ var consts_ppc64le = []ConstValue{ {Name: "FS_IOC_GETVERSION", Value: 1074296321}, {Name: "FS_IOC_GET_ENCRYPTION_POLICY", Value: 2148296213}, {Name: "FS_IOC_GET_ENCRYPTION_PWSALT", Value: 2148558356}, + {Name: "FS_IOC_MEASURE_VERITY", Value: 3221513862}, {Name: "FS_IOC_RESVSP", Value: 2150651944}, {Name: "FS_IOC_SETFLAGS", Value: 2148034050}, {Name: "FS_IOC_SETFSLABEL", Value: 2164298802}, @@ -37264,6 +37280,9 @@ var consts_ppc64le = []ConstValue{ {Name: "FS_POLICY_FLAGS_PAD_16", Value: 2}, {Name: "FS_POLICY_FLAGS_PAD_4"}, {Name: "FS_POLICY_FLAGS_PAD_8", Value: 1}, + {Name: "FS_VERITY_ALG_CRC32C", Value: 3}, + {Name: "FS_VERITY_ALG_SHA256", Value: 1}, + {Name: "FS_VERITY_ALG_SHA512", Value: 2}, {Name: "FTD_MSG", Value: 16}, {Name: "FUSE_ABORT_ERROR", Value: 2097152}, {Name: "FUSE_ASYNC_DIO", Value: 32768}, @@ -41770,4 +41789,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "9f1aaf622deac73e3c5f3ed9cc113358ade669e9" +const revision_ppc64le = "2e2cda69f198c8832cb15174493082aab944dd2c" |
