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]
Date:	Thu,  6 Aug 2009 15:09:25 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	linux-kernel@...r.kernel.org
Cc:	Christoph Hellwig <hch@....de>, Andi Kleen <andi@...stfloor.org>,
	Alexander Viro <viro@...iv.linux.org.uk>,
	Arnd Bergmann <arnd@...db.de>
Subject: [PATCH 0/5] Kill the BKL in compat ioctl handling

I noticed that compat_sys_ioctl still holds the big kernel
lock for all ioctl conversion handlers. It would be easy to
push this one level down and only do it where necessary,
but I decided to clean it up some more at the same time
and move all the VT ioctl handling into the specific drivers.

	Arnd <><

  arch/um: handle compat_ioctl in tty line driver
  s390: move keyboard compat ioctls into tty3270 driver
  tty: handle VT specific compat ioctls in vt driver
  compat_ioctl: remove VT specific ioctl handlers
  compat_ioctl: do not hold BKL in handlers

 arch/um/drivers/line.c          |    6 +
 arch/um/drivers/ssl.c           |    1 +
 arch/um/drivers/stdio_console.c |    1 +
 arch/um/include/shared/line.h   |    2 +
 drivers/char/vt.c               |    3 +
 drivers/char/vt_ioctl.c         |  203 +++++++++++++++++++++++++++++++++++++
 drivers/s390/char/tty3270.c     |   19 ++++
 fs/compat_ioctl.c               |  213 ---------------------------------------
 include/linux/tty.h             |    3 +
 9 files changed, 238 insertions(+), 213 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