linux-stable/drivers/media/test-drivers
Hans Verkuil f8bcaf714a media: vivid: s_fbuf: add more sanity checks
VIDIOC_S_FBUF is by definition a scary ioctl, which is why only root
can use it. But at least check if the framebuffer parameters match that
of one of the framebuffer created by vivid, and reject anything else.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: ef834f7836 ([media] vivid: add the video capture and output parts)
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-10-25 16:38:53 +01:00
..
vicodec media: vicodec: Use vb2_find_buffer 2022-07-17 11:12:43 +01:00
vidtv i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
vimc media: drivers: use video device pipeline start/stop 2022-09-24 09:14:20 +02:00
vivid media: vivid: s_fbuf: add more sanity checks 2022-10-25 16:38:53 +01:00
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
vim2m.c media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00