frv: fix clear_user()

commit 3b8767a8f0 upstream.

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Al Viro 2016-08-18 20:54:02 -04:00 • committed by Ben Hutchings
commit bfc7cbee2d