lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1274079052-23611-1-git-send-regression-fweisbec@gmail.com>
Date:	Mon, 17 May 2010 08:50:48 +0200
From:	Frederic Weisbecker <fweisbec@...il.com>
To:	Mauro Carvalho Chehab <mchehab@...radead.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Laurent Pinchart <laurent.pinchart@...asonboard.com>,
	Hans Verkuil <hverkuil@...all.nl>,
	Arnd Bergmann <arnd@...db.de>, John Kacur <jkacur@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Jan Blunck <jblunck@...il.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: [PATCH 0/4 v2] V4l bkl ioctl pushdown

Hi,

This is the second attempt to pushdown the bkl in v4l fops ioctl
handlers.

Amongst the changes:

- keep video_ioctl2() unlocked but bring a new video_ioctl2_bkl()
  that drivers can use and attribute to their .unlocked_ioctl instead.

- two new (or it I missed them last time) drivers have been included
  to the pushdown.

This is against a fresh v4l/master.

Thanks.

Frederic Weisbecker (4):
  v4l: Introduce video_ioctl2_bkl
  v4l: Convert video_ioctl2 to video_ioctl2_bkl for users that need the
    bkl
  v4l: Pushdown bkl to drivers that implement their own ioctl
  v4l: Remove struct v4l2_file_operations::ioctl

 drivers/media/common/saa7146_fops.c              |    2 +-
 drivers/media/radio/dsbr100.c                    |    2 +-
 drivers/media/radio/radio-aimslab.c              |    2 +-
 drivers/media/radio/radio-aztech.c               |    2 +-
 drivers/media/radio/radio-cadet.c                |    2 +-
 drivers/media/radio/radio-gemtek-pci.c           |    2 +-
 drivers/media/radio/radio-gemtek.c               |    2 +-
 drivers/media/radio/radio-maestro.c              |    2 +-
 drivers/media/radio/radio-maxiradio.c            |    2 +-
 drivers/media/radio/radio-miropcm20.c            |    2 +-
 drivers/media/radio/radio-mr800.c                |    5 ++-
 drivers/media/radio/radio-rtrack2.c              |    2 +-
 drivers/media/radio/radio-sf16fmi.c              |    2 +-
 drivers/media/radio/radio-sf16fmr2.c             |    2 +-
 drivers/media/radio/radio-si4713.c               |    2 +-
 drivers/media/radio/radio-tea5764.c              |    2 +-
 drivers/media/radio/radio-terratec.c             |    2 +-
 drivers/media/radio/radio-timb.c                 |    2 +-
 drivers/media/radio/radio-trust.c                |    2 +-
 drivers/media/radio/radio-typhoon.c              |    2 +-
 drivers/media/radio/radio-zoltrix.c              |    2 +-
 drivers/media/radio/si470x/radio-si470x-common.c |    2 +-
 drivers/media/video/arv.c                        |    2 +-
 drivers/media/video/au0828/au0828-video.c        |   14 ++++----
 drivers/media/video/bt8xx/bttv-driver.c          |   26 +++++++-------
 drivers/media/video/bw-qcam.c                    |   11 +++++-
 drivers/media/video/c-qcam.c                     |   11 +++++-
 drivers/media/video/cafe_ccic.c                  |   14 ++++----
 drivers/media/video/cpia.c                       |   11 +++++-
 drivers/media/video/cpia2/cpia2_v4l.c            |   11 +++++-
 drivers/media/video/cx18/cx18-ioctl.c            |    4 ++
 drivers/media/video/cx18/cx18-streams.c          |   12 +++---
 drivers/media/video/cx231xx/cx231xx-video.c      |    4 +-
 drivers/media/video/cx23885/cx23885-417.c        |    2 +-
 drivers/media/video/cx23885/cx23885-video.c      |    4 +-
 drivers/media/video/cx88/cx88-blackbird.c        |    2 +-
 drivers/media/video/cx88/cx88-video.c            |    4 +-
 drivers/media/video/davinci/vpif_capture.c       |    2 +-
 drivers/media/video/davinci/vpif_display.c       |    2 +-
 drivers/media/video/em28xx/em28xx-video.c        |    4 +-
 drivers/media/video/et61x251/et61x251_core.c     |   27 +++++++++++----
 drivers/media/video/mem2mem_testdev.c            |    2 +-
 drivers/media/video/meye.c                       |    2 +-
 drivers/media/video/omap24xxcam.c                |   10 +++---
 drivers/media/video/ov511.c                      |   15 +++++---
 drivers/media/video/pms.c                        |    2 +-
 drivers/media/video/pvrusb2/pvrusb2-v4l2.c       |   20 +++++++----
 drivers/media/video/pwc/pwc-if.c                 |   19 ++++++----
 drivers/media/video/s2255drv.c                   |   12 +++---
 drivers/media/video/saa5246a.c                   |   11 ++++--
 drivers/media/video/saa5249.c                    |    6 +++-
 drivers/media/video/saa7134/saa7134-empress.c    |   14 ++++----
 drivers/media/video/saa7134/saa7134-video.c      |   26 +++++++-------
 drivers/media/video/se401.c                      |   20 +++++++----
 drivers/media/video/sh_vou.c                     |    2 +-
 drivers/media/video/sn9c102/sn9c102_core.c       |   27 +++++++++++----
 drivers/media/video/soc_camera.c                 |    2 +-
 drivers/media/video/stk-webcam.c                 |   14 ++++----
 drivers/media/video/stradis.c                    |   26 +++++++++++----
 drivers/media/video/stv680.c                     |   20 +++++++----
 drivers/media/video/tlg2300/pd-radio.c           |    8 ++--
 drivers/media/video/tlg2300/pd-video.c           |    2 +-
 drivers/media/video/usbvideo/usbvideo.c          |   21 ++++++++----
 drivers/media/video/usbvideo/vicam.c             |   14 +++++++-
 drivers/media/video/usbvision/usbvision-video.c  |    4 +-
 drivers/media/video/uvc/uvc_v4l2.c               |   11 +++++-
 drivers/media/video/v4l2-dev.c                   |   38 ++-------------------
 drivers/media/video/v4l2-ioctl.c                 |   14 ++++++++
 drivers/media/video/vivi.c                       |    2 +-
 drivers/media/video/w9966.c                      |    2 +-
 drivers/media/video/w9968cf.c                    |   25 +++++++++++---
 drivers/media/video/zc0301/zc0301_core.c         |   27 +++++++++++----
 drivers/media/video/zoran/zoran_driver.c         |   16 ++++----
 drivers/media/video/zr364xx.c                    |   14 ++++----
 drivers/staging/cx25821/cx25821-audups11.c       |   18 ++++++----
 drivers/staging/cx25821/cx25821-video0.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video1.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video2.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video3.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video4.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video5.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video6.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-video7.c         |   14 ++++----
 drivers/staging/cx25821/cx25821-videoioctl.c     |   27 +++++++++++----
 drivers/staging/cx25821/cx25821-vidups10.c       |   19 +++++++----
 drivers/staging/cx25821/cx25821-vidups9.c        |   18 ++++++----
 drivers/staging/dream/camera/msm_v4l2.c          |   27 +++++++++++----
 drivers/staging/go7007/go7007-v4l2.c             |    2 +-
 drivers/staging/tm6000/tm6000-video.c            |    2 +-
 include/media/v4l2-dev.h                         |    1 -
 include/media/v4l2-ioctl.h                       |    3 ++
 sound/i2c/other/tea575x-tuner.c                  |    2 +-
 92 files changed, 536 insertions(+), 357 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ