commit | ef87dbe7614341c2e7bfe8d32fcb7028cc97442c | [log] [tgz] |
---|---|---|
author | Matthew Daley <mattd@bugfuzz.com> | Mon Apr 28 19:05:20 2014 +1200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon May 05 07:46:55 2014 -0700 |
tree | 3fe51b6b5d0744320c1f785f9d2dadb01f789de1 | |
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>