summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-10-12 15:32:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-03 23:52:32 +0900
commitc106967b34725dfb1c76a914b6c2e2773936323f (patch)
treee62467ecb62819848bde5699de971953d68338b2 /include/uapi
parentd7758c23a6e1938458243fb5c4b5230352a89db8 (diff)
media: vivid: s_fbuf: add more sanity checks
[ Upstream commit f8bcaf714abfc94818dff8c0db84d750433984f4 ] 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: ef834f7836ec ([media] vivid: add the video capture and output parts) Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions