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/v4l2-device.h | |
parent | f1d00607afd69354a3cc29ef13e95ccb3fef8a77 (diff) |
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/v4l2-device.h')
0 files changed, 0 insertions, 0 deletions