]> 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)
commit3faf66f46535637a9eaafa1e4a22130d08c2122a
tree0ccfdbc0af990caf6282b7d2d222baf6fe01aa2b
parent6a0fa58cdd92da9a8e6fa4e621cabd91974091b3
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