Blackfin: add missing access_ok() checks to user functions
authorRobin Getz <robin.getz@analog.com>
Thu, 4 Jun 2009 00:32:59 +0000 (00:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:12:02 +0000 (06:12 -0400)
commita8372b5ca618d4ea41b3c7ac3cef8dd6efa68bc6
tree644ce05a655aef5082d614309afc4b6655a30a48
parent685a694f0653b7db49f663b2cd6953695214fb30
Blackfin: add missing access_ok() checks to user functions

The core string/clear user functions weren't checking the user pointers
which caused kernel crashes with some bad programs and tests (like LTP).

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/uaccess.h