diff options
author | 2014-04-28 19:05:20 +1200 | |
---|---|---|
committer | 2014-05-05 07:46:55 -0700 | |
commit | ef87dbe7614341c2e7bfe8d32fcb7028cc97442c (patch) | |
tree | 3fe51b6b5d0744320c1f785f9d2dadb01f789de1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 3.15-rc4 (diff) | |
download | wireguard-linux-ef87dbe7614341c2e7bfe8d32fcb7028cc97442c.tar.xz wireguard-linux-ef87dbe7614341c2e7bfe8d32fcb7028cc97442c.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions