summaryrefslogtreecommitdiff
path: root/drivers/watchdog/smsc37b787_wdt.c
diff options
context:
space:
mode:
authorMatthew Daley <mattd@bugfuzz.com>2014-04-28 19:05:20 +1200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-05-05 07:46:55 -0700
commitef87dbe7614341c2e7bfe8d32fcb7028cc97442c (patch)
tree3fe51b6b5d0744320c1f785f9d2dadb01f789de1 /drivers/watchdog/smsc37b787_wdt.c
parent89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd (diff)
floppy: ignore kernel-only members in FDRAWCMD ioctl input
Always clear out these floppy_raw_cmd struct members after copying the entire structure from userspace so that the in-kernel version is always valid and never left in an interdeterminate state. Signed-off-by: Matthew Daley <mattd@bugfuzz.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/smsc37b787_wdt.c')
0 files changed, 0 insertions, 0 deletions