]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: atomisp: Fix compat IOCTL handling
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 4 Jun 2020 16:16:20 +0000 (18:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:46:11 +0000 (18:46 +0200)
commiteef471c84b0b6fae7c08550f59f9f7e466ad1c59
treeddece965a7c75dd6677a1b95d491d1d351b86989
parentc43ac6118f83840565e4071c33ba7773af05b210
media: staging: atomisp: Fix compat IOCTL handling

Atomisp compat IOCTL handling suffers from the same security issue than
the V4L2 did. Fix this for atomisp.

See more information in patch 64f90597bdf6 ("media: v4l2-compat-ioctl32.c:
refactor compat ioctl32 logic").

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_compat_ioctl32.c