diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2018-05-08 13:56:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-11 11:26:38 -0400 |
commit | 3ad3b7a2ebaefae37a7eafed0779324987ca5e56 (patch) | |
tree | 5ec2491637204ad4f50ce114a7b8ad56bde56ebf /include/media | |
parent | media: hackrf: group device capabilities (diff) | |
download | linux-dev-3ad3b7a2ebaefae37a7eafed0779324987ca5e56.tar.xz linux-dev-3ad3b7a2ebaefae37a7eafed0779324987ca5e56.zip |
media: v4l2-ioctl: replace IOCTL_INFO_STD with stub functions
This change removes IOCTL_INFO_STD and adds stub functions where
needed using the DEFINE_V4L_STUB_FUNC macro. This fixes indirect call
mismatches with Control-Flow Integrity, caused by calling standard
ioctls using a function pointer that doesn't match the function type.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions