kernel_optimize_test/block
Vasiliy Kulikov a014741c0a block: ioctl: fix information leak to userland
Structure hd_geometry is copied to userland with 4 padding bytes
between cylinders and start fields uninitialized on 64-bit platforms.
It leads to leaking of contents of kernel stack memory.

Currently there is no memset() in real implementations of getgeo()
in drivers/block/, so it makes sense to have memset() in blkdev_ioctl().

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-11-10 14:40:53 +01:00
..
blk-cgroup.c
blk-cgroup.h
blk-core.c block: read i_size with i_size_read() 2010-11-10 14:40:53 +01:00
blk-exec.c
blk-flush.c
blk-integrity.c
blk-ioc.c
blk-iopoll.c
blk-lib.c
blk-map.c
blk-merge.c
blk-settings.c
blk-softirq.c
blk-sysfs.c
blk-tag.c
blk-throttle.c
blk-timeout.c
blk.h
bsg.c
cfq-iosched.c
cfq.h
compat_ioctl.c block: read i_size with i_size_read() 2010-11-10 14:40:53 +01:00
deadline-iosched.c
elevator.c
genhd.c
ioctl.c block: ioctl: fix information leak to userland 2010-11-10 14:40:53 +01:00
Kconfig
Kconfig.iosched
Makefile
noop-iosched.c
scsi_ioctl.c