linux/drivers/media/platform/exynos4-is
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
..
common.c [media] media: use macros to check for V4L2 subdev entities 2016-01-11 12:18:50 -02:00
common.h [media] exynos4-is: Move __fimc_videoc_querycap() function to the common module 2013-06-12 22:05:41 -03:00
fimc-capture.c [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling 2017-06-23 09:20:42 -03:00
fimc-core.c [media] exynos4-is: fimc: Roundup imagesize to row size for tiled formats 2016-11-16 16:24:53 -02:00
fimc-core.h scripts/spelling.txt: add "aligment" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
fimc-is-command.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-errno.h [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-i2c.c media: exynos4-is: fimc-is-i2c: constify dev_pm_ops structures 2017-07-26 08:37:57 -04:00
fimc-is-i2c.h [media] exynos4-is: Add FIMC-IS ISP I2C bus driver 2013-04-04 20:04:49 -03:00
fimc-is-param.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-param.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-sensor.c [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is-sensor.h [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
fimc-is.h [media] exynos4-is: Add support for all required clocks 2016-09-22 10:13:53 -03:00
fimc-isp-video.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
fimc-isp-video.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp.c media: exynos4-is: constify video_subdev structures 2017-08-20 08:04:35 -04:00
fimc-isp.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-lite-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-lite-reg.h [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver 2013-06-28 15:22:22 -03:00
fimc-lite.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
fimc-lite.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-m2m.c media: exynos4-is: constify v4l2_m2m_ops structures 2017-08-20 08:04:20 -04:00
fimc-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-reg.h [media] exynos4-is: Correct input DMA YUV order configuration 2013-04-04 20:23:53 -03:00
Kconfig media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
Makefile [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
media-dev.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
media-dev.h [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
mipi-csis.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
mipi-csis.h