Skip to content

Commit

Permalink
sys/linux: fix drm_mode_fb_cmd2 layout
Browse files Browse the repository at this point in the history
Thanks to syz-check for catching this.

Update #590
  • Loading branch information
dvyukov committed Jan 28, 2020
1 parent 5e48183 commit d14236b
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 29 deletions.
12 changes: 6 additions & 6 deletions executor/defs.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sys/linux/dev_dri.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions sys/linux/dev_dri.txt.warn
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions sys/linux/gen/386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions sys/linux/gen/amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions sys/linux/gen/arm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions sys/linux/gen/arm64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions sys/linux/gen/mips64le.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions sys/linux/gen/ppc64le.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d14236b

Please sign in to comment.