From d14236bc0aeac3af88a5fd8f1e68d22a3fc53300 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 28 Jan 2020 15:37:49 +0100 Subject: [PATCH] sys/linux: fix drm_mode_fb_cmd2 layout Thanks to syz-check for catching this. Update #590 --- executor/defs.h | 12 ++++++------ sys/linux/dev_dri.txt | 2 +- sys/linux/dev_dri.txt.warn | 4 ---- sys/linux/gen/386.go | 6 +++--- sys/linux/gen/amd64.go | 7 ++++--- sys/linux/gen/arm.go | 7 ++++--- sys/linux/gen/arm64.go | 7 ++++--- sys/linux/gen/mips64le.go | 7 ++++--- sys/linux/gen/ppc64le.go | 7 ++++--- 9 files changed, 30 insertions(+), 29 deletions(-) diff --git a/executor/defs.h b/executor/defs.h index e57109b7749b..1f3991f8f5b1 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -70,7 +70,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "372bfd76e16bdd54fd1f7a0eef0f083f9ce040d3" +#define SYZ_REVISION "db47128c7b3994212121be1f6ac0b3ae9791cbed" #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 "2910ac122d1772f3b70f8a6410c8f91f973e8051" +#define SYZ_REVISION "24b8dfcf57e82c572229cee0c88fe4f29bb09061" #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 "7bb259f6e65934fb94b74687f354bcd1c8d5e337" +#define SYZ_REVISION "cb04cabf6f091c0367580a18d7c1f2cd5357075f" #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 "55a5837ff58d1447409f66c29bfc3e37d1de6d40" +#define SYZ_REVISION "ea1573a7551f345c483376798ae3c70e83d1b37b" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -110,7 +110,7 @@ #if GOARCH_mips64le #define GOARCH "mips64le" -#define SYZ_REVISION "7706e02d8225692cddfb0256e6b9fc5591726d1f" +#define SYZ_REVISION "964442233e1d37e238443b552247f87309dfbf8f" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -120,7 +120,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "fe3f8db1d18ea45f7c9951509e389c6cd8621437" +#define SYZ_REVISION "a615df5722df1d92582f011def76273db1ad0275" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/sys/linux/dev_dri.txt b/sys/linux/dev_dri.txt index 2449b9c9e1fe..a9dea610ab84 100644 --- a/sys/linux/dev_dri.txt +++ b/sys/linux/dev_dri.txt @@ -280,7 +280,7 @@ drm_mode_fb_cmd2 { handles array[int32, 4] pitches array[int32, 4] offsets array[int32, 4] - modifier array[int32, 4] + modifier array[int64, 4] } drm_mode_fb_flags = DRM_MODE_FB_INTERLACED, DRM_MODE_FB_MODIFIERS diff --git a/sys/linux/dev_dri.txt.warn b/sys/linux/dev_dri.txt.warn index 4707c2c4fe30..a70f84b7b0b5 100644 --- a/sys/linux/dev_dri.txt.warn +++ b/sys/linux/dev_dri.txt.warn @@ -1,7 +1,3 @@ -bad-struct-size: drm_mode_fb_cmd2: syz=84 kernel=100 [386] -bad-struct-size: drm_mode_fb_cmd2: syz=84 kernel=104 [amd64,arm,arm64] -bad-field-offset: drm_mode_fb_cmd2.modifier: syz=68 kernel=72 [amd64,arm,arm64] -bad-field-size: drm_mode_fb_cmd2.modifier: syz=16 kernel=32 no-such-struct: drm_unique_in no-such-struct: drm_unique_out no-such-struct: drm_map diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 9ffa29d821d3..21d8385cad3c 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -3273,7 +3273,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 100}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3282,7 +3282,7 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -75436,4 +75436,4 @@ var consts_386 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "372bfd76e16bdd54fd1f7a0eef0f083f9ce040d3" +const revision_386 = "db47128c7b3994212121be1f6ac0b3ae9791cbed" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 2c7488d3b692..466eaf7e008f 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -3319,7 +3319,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 104}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3328,7 +3328,8 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -76391,4 +76392,4 @@ var consts_amd64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_amd64 = "2910ac122d1772f3b70f8a6410c8f91f973e8051" +const revision_amd64 = "24b8dfcf57e82c572229cee0c88fe4f29bb09061" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 5bafb15de1cc..a72356be26b4 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -3294,7 +3294,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 104}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3303,7 +3303,8 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -75087,4 +75088,4 @@ var consts_arm = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm = "7bb259f6e65934fb94b74687f354bcd1c8d5e337" +const revision_arm = "cb04cabf6f091c0367580a18d7c1f2cd5357075f" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 6b58293d3989..7b451f25391c 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -3319,7 +3319,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 104}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3328,7 +3328,8 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -75736,4 +75737,4 @@ var consts_arm64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm64 = "55a5837ff58d1447409f66c29bfc3e37d1de6d40" +const revision_arm64 = "ea1573a7551f345c483376798ae3c70e83d1b37b" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 52295c19d4c2..983ac24e8224 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -3316,7 +3316,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 104}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3325,7 +3325,8 @@ var structDescs_mips64le = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -73397,4 +73398,4 @@ var consts_mips64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "7706e02d8225692cddfb0256e6b9fc5591726d1f" +const revision_mips64le = "964442233e1d37e238443b552247f87309dfbf8f" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 5e7158ac9323..a002eecfd490 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -3318,7 +3318,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "depth", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "handle", TypeSize: 4}}}, }}}, - {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 84}, Fields: []Type{ + {StructKey{Name: "drm_mode_fb_cmd2"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_cmd2", TypeSize: 104}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "width", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "height", TypeSize: 4}}}, @@ -3327,7 +3327,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon{TypeName: "array", FldName: "handles", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "pitches", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, &ArrayType{TypeCommon{TypeName: "array", FldName: "offsets", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 16}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, 1, 4, 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "modifier", TypeSize: 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 4, 4}, }}}, {StructKey{Name: "drm_mode_fb_dirty_cmd"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "drm_mode_fb_dirty_cmd", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fb_id", TypeSize: 4}}}, @@ -75733,4 +75734,4 @@ var consts_ppc64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_ppc64le = "fe3f8db1d18ea45f7c9951509e389c6cd8621437" +const revision_ppc64le = "a615df5722df1d92582f011def76273db1ad0275"