linux/drivers/media/platform/ti-vpe
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
..
cal_regs.h [media] media: ti-vpe: Add CAL v4l2 camera capture driver 2016-02-01 08:45:26 -02:00
cal.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
csc.c [media] media: ti-vpe: csc: Add debug support for multi-instance 2016-11-22 08:12:24 -02:00
csc.h [media] media: ti-vpe: Make colorspace converter library into its own module 2016-11-22 08:11:25 -02:00
Makefile [media] media: ti-vpe: Make colorspace converter library into its own module 2016-11-22 08:11:25 -02:00
sc_coeff.h [media] v4l: ti-vpe: support loading of scaler coefficients 2014-01-07 06:54:48 -02:00
sc.c [media] media: ti-vpe: scaler: Add debug support for multi-instance 2016-11-22 08:09:33 -02:00
sc.h [media] media: ti-vpe: vpe: Make sure frame size dont exceed scaler capacity 2016-11-22 08:10:14 -02:00
vpdma_priv.h [media] media: ti-vpe: vpdma: RGB data type yield inverted data 2016-11-22 08:05:59 -02:00
vpdma.c [media] media: ti-vpe: vpdma: add support for user specified stride 2017-03-03 14:42:42 -03:00
vpdma.h [media] media: ti-vpe: vpdma: add support for user specified stride 2017-03-03 14:42:42 -03:00
vpe_regs.h [media] v4l: ti-vpe: create a color space converter block library 2014-01-07 06:56:18 -02:00
vpe.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00