linux-stable/drivers/block
Peter Osterlund 6d608f690e [PATCH] Fix root hole in pktcdvd
ioctl_by_bdev may only be used INSIDE the kernel.  If the "arg" argument
refers to memory that is accessed by put_user/get_user in the ioctl
function, the memory needs to be in the kernel address space (that's the
set_fs(KERNEL_DS) doing in the ioctl_by_bdev).  This works on i386 because
even with set_fs(KERNEL_DS) the user space memory is still accessible with
put_user/get_user.  That is not true for s390.  In short the ioctl
implementation of the pktcdvd device driver is horribly broken.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-16 10:45:48 -07:00
..
aoe 2.6.11 import 2005-05-12 09:59:06 -07:00
paride 2.6.11 import 2005-05-12 09:59:06 -07:00
acsi.c 2.6.11 import 2005-05-12 09:59:06 -07:00
acsi_slm.c 2.6.11 import 2005-05-12 09:59:06 -07:00
amiflop.c 2.6.11 import 2005-05-12 09:59:06 -07:00
as-iosched.c 2.6.11 import 2005-05-12 09:59:06 -07:00
ataflop.c 2.6.11 import 2005-05-12 09:59:06 -07:00
cciss.c 2.6.11 import 2005-05-12 09:59:06 -07:00
cciss.h 2.6.11 import 2005-05-12 09:59:06 -07:00
cciss_cmd.h 2.6.11 import 2005-05-12 09:59:06 -07:00
cciss_scsi.c 2.6.11 import 2005-05-12 09:59:06 -07:00
cciss_scsi.h 2.6.11 import 2005-05-12 09:59:06 -07:00
cfq-iosched.c 2.6.11 import 2005-05-12 09:59:06 -07:00
cpqarray.c 2.6.11 import 2005-05-12 09:59:06 -07:00
cpqarray.h 2.6.11 import 2005-05-12 09:59:06 -07:00
cryptoloop.c 2.6.11 import 2005-05-12 09:59:06 -07:00
DAC960.c 2.6.11 import 2005-05-12 09:59:06 -07:00
DAC960.h 2.6.11 import 2005-05-12 09:59:06 -07:00
deadline-iosched.c 2.6.11 import 2005-05-12 09:59:06 -07:00
elevator.c 2.6.11 import 2005-05-12 09:59:06 -07:00
floppy.c 2.6.11 import 2005-05-12 09:59:06 -07:00
genhd.c 2.6.11 import 2005-05-12 09:59:06 -07:00
ida_cmd.h 2.6.11 import 2005-05-12 09:59:06 -07:00
ida_ioctl.h 2.6.11 import 2005-05-12 09:59:06 -07:00
ioctl.c [PATCH] Fix root hole in raw device 2005-05-16 10:42:14 -07:00
Kconfig 2.6.11 import 2005-05-12 09:59:06 -07:00
Kconfig.iosched 2.6.11 import 2005-05-12 09:59:06 -07:00
ll_rw_blk.c 2.6.11 import 2005-05-12 09:59:06 -07:00
loop.c 2.6.11 import 2005-05-12 09:59:06 -07:00
Makefile 2.6.11 import 2005-05-12 09:59:06 -07:00
nbd.c 2.6.11 import 2005-05-12 09:59:06 -07:00
noop-iosched.c 2.6.11 import 2005-05-12 09:59:06 -07:00
pktcdvd.c [PATCH] Fix root hole in pktcdvd 2005-05-16 10:45:48 -07:00
ps2esdi.c 2.6.11 import 2005-05-12 09:59:06 -07:00
rd.c 2.6.11 import 2005-05-12 09:59:06 -07:00
scsi_ioctl.c 2.6.11 import 2005-05-12 09:59:06 -07:00
smart1,2.h 2.6.11 import 2005-05-12 09:59:06 -07:00
swim3.c 2.6.11 import 2005-05-12 09:59:06 -07:00
swim_iop.c 2.6.11 import 2005-05-12 09:59:06 -07:00
sx8.c 2.6.11 import 2005-05-12 09:59:06 -07:00
ub.c 2.6.11 import 2005-05-12 09:59:06 -07:00
umem.c 2.6.11 import 2005-05-12 09:59:06 -07:00
viodasd.c 2.6.11 import 2005-05-12 09:59:06 -07:00
xd.c 2.6.11 import 2005-05-12 09:59:06 -07:00
xd.h 2.6.11 import 2005-05-12 09:59:06 -07:00
z2ram.c 2.6.11 import 2005-05-12 09:59:06 -07:00