linux/drivers/media/v4l2-core
Andrew F. Davis 8357062148 media: videobuf-dma-contig: Use size of buffer in mmap not vma size
The size of the vma can be larger than the size of the backing buffer.
Use the buffer size over vma size to prevent exposing extra memory
to userspace.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-29 13:07:56 -04:00
..
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile media: v4l2-core: get rid of videobuf-dvb 2018-05-04 10:57:31 -04:00
tuner-core.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
v4l2-async.c media: v4l2: async: remove locking when initializing async notifier 2018-12-05 06:51:28 -05:00
v4l2-clk.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
v4l2-common.c media: v4l2-common: Add an helper to apply frmsize constraints 2019-05-29 10:48:34 -04:00
v4l2-compat-ioctl32.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
v4l2-ctrls.c media: uapi: Add H264 low-level decoder API compound controls. 2019-05-29 06:25:09 -04:00
v4l2-dev.c media: v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT 2018-12-14 05:10:48 -05:00
v4l2-device.c media: v4l2-subdev: add release() internal op 2019-03-19 13:24:28 -04:00
v4l2-dv-timings.c media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC 2018-09-24 09:28:41 -04:00
v4l2-event.c media: v4l2-event: keep track of the timestamp in ns 2019-02-07 12:11:15 -05:00
v4l2-fh.c media: v4l: event: Prevent freeing event subscriptions while accessed 2018-10-03 06:32:51 -04:00
v4l2-flash-led-class.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
v4l2-fwnode.c media: v4l: fwnode: C-PHY has no clock lane 2019-05-23 10:18:18 -04:00
v4l2-ioctl.c media: pixfmt: Add H264 Slice format 2019-05-29 06:26:45 -04:00
v4l2-mc.c media: v4l2-mc: add print messages when media graph fails 2018-09-17 13:16:19 -04:00
v4l2-mem2mem.c media: v4l2-mem2mem: Correct return type for mem2mem buffer helpers 2019-02-18 15:32:14 -05:00
v4l2-subdev.c media: v4l2-subdev: handle module refcounting here 2019-03-19 13:29:37 -04:00
v4l2-trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
videobuf-core.c media: v4l2-core: fix several typos 2019-03-01 09:44:17 -05:00
videobuf-dma-contig.c media: videobuf-dma-contig: Use size of buffer in mmap not vma size 2019-05-29 13:07:56 -04:00
videobuf-dma-sg.c mm/gup: replace get_user_pages_longterm() with FOLL_LONGTERM 2019-05-14 09:47:45 -07:00
videobuf-vmalloc.c media: v4l2-core: fix several typos 2019-03-01 09:44:17 -05:00