linux/drivers/media/platform/xilinx
Laurent Pinchart b6ee3f0dcf media: v4l: async: Move async subdev notifier operations to a separate structure
The async subdev notifier .bound(), .unbind() and .complete() operations
are function pointers stored directly in the v4l2_async_subdev
structure. As the structure isn't immutable, this creates a potential
security risk as the function pointers are mutable.

To fix this, move the function pointers to a new
v4l2_async_subdev_operations structure that can be made const in
drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-10-31 13:51:45 -04:00
..
Kconfig [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
Makefile [media] v4l: xilinx: Add Test Pattern Generator driver 2015-04-03 01:04:18 -03:00
xilinx-dma.c [media] xilinx: Use a local media device pointer instead 2017-01-30 11:35:02 -02:00
xilinx-dma.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:40:07 -03:00
xilinx-tpg.c [media] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures 2017-02-03 09:21:50 -02:00
xilinx-vip.c
xilinx-vip.h
xilinx-vipp.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
xilinx-vipp.h
xilinx-vtc.c
xilinx-vtc.h