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)
commit3b8767a8f00cc6538ba6b1cf0f88502e2fd2eb90
treec4384793a4ee80397cd083f0f29b704eb2bdcfb6
parenteb47e0293baaa3044022059f1fa9ff474bfe35cb
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