From: Matthew Daley Date: Mon, 28 Apr 2014 07:05:21 +0000 (+1200) Subject: floppy: don't write kernel-only members to FDRAWCMD ioctl output X-Git-Tag: omap-for-v3.16/fixes-against-rc1~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2145e15e0557a01b9195d1c7199a1b92cb9be81f;p=pandora-kernel.git floppy: don't write kernel-only members to FDRAWCMD ioctl output Do not leak kernel-only floppy_raw_cmd structure members to userspace. This includes the linked-list pointer and the pointer to the allocated DMA space. Signed-off-by: Matthew Daley Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed