Re: [PATCH v4] media: v4l2-ioctl: replace IOCTL_INFO_STD with stub functions

2018-05-09 Thread Hans Verkuil
On 05/08/2018 07:56 PM, Sami Tolvanen wrote: > 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

[PATCH v4] media: v4l2-ioctl: replace IOCTL_INFO_STD with stub functions

2018-05-08 Thread Sami Tolvanen
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 Tolvan