diff options
author | Matthew Daley <mattd@bugfuzz.com> | 2014-04-28 19:05:20 +1200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-05-05 07:46:55 -0700 |
commit | ef87dbe7614341c2e7bfe8d32fcb7028cc97442c (patch) | |
tree | 3fe51b6b5d0744320c1f785f9d2dadb01f789de1 /drivers/watchdog/smsc37b787_wdt.c | |
parent | 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd (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