commit | a7cc722fff0b32bcd28bf4722dff816b0b695f7d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun May 21 13:08:42 2017 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 21 13:09:57 2017 -0400 |
tree | 0ccfdbc0af990caf6282b7d2d222baf6fe01aa2b | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
fix unsafe_put_user() __put_user_size() relies upon its first argument having the same type as what the second one points to; the only other user makes sure of that and unsafe_put_user() should do the same. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>