]> git.baikalelectronics.ru Git - kernel.git/commit
fix unsafe_put_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 May 2017 17:08:42 +0000 (13:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 May 2017 17:09:57 +0000 (13:09 -0400)
commitc9bb72f56a83e691e440e8400dac4c08cdaf5a26
tree0ccfdbc0af990caf6282b7d2d222baf6fe01aa2b
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
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>
arch/x86/include/asm/uaccess.h