linux/drivers/media/platform/davinci
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
..
ccdc_hw_device.h media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
dm355_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm355_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
dm644x_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm644x_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
isif_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
isif.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
Kconfig [media] davinci: Switch from V4L2 OF to V4L2 fwnode 2017-06-08 12:34:16 -03:00
Makefile [media] media: davinci: kconfig: fix incorrect selects 2013-04-14 20:06:36 -03:00
vpbe_display.c media: davinci: do a couple of checkpatch cleanups 2017-09-23 14:55:27 -04:00
vpbe_osd_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_osd.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe_venc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_venc.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe.c media: DaVinci-VPBE: constify vpbe_dev_ops 2017-08-09 10:33:51 -04:00
vpfe_capture.c media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
vpif_capture.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
vpif_capture.h [media] davinci: vpif_capture: fix start/stop streaming locking 2017-01-31 08:01:07 -02:00
vpif_display.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
vpif_display.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
vpif.c [media] davinci: vpif: adaptions for DT support 2017-06-20 09:05:37 -03:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpss.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00