]> git.baikalelectronics.ru Git - kernel.git/commit
frv: fix clear_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Aug 2016 00:54:02 +0000 (20:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:49:39 +0000 (17:49 -0400)
commita46dc9ce7099fa8fb79f151c628dcef6c4c9d336
treec4384793a4ee80397cd083f0f29b704eb2bdcfb6
parent568a360a2957499e2fb2acd5dc1ecf3ed6da66b8
frv: fix clear_user()

It should check access_ok().  Otherwise a bunch of places turn into
trivially exploitable rootholes.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/frv/include/asm/uaccess.h