aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org> 2009-06-14 02:00:03 -0400
committerGravatar Arnd Bergmann <arnd@arndb.de> 2009-06-19 14:58:08 +0200
commita9ede5b355aabd667ed690f858c925a23927027b (patch)
treeee3fe26530679c33fa3aad5386e6961b3bf399e7 /tools
parentasm-generic: uaccess: add missing access_ok() check to strnlen_user() (diff)
downloadlinux-a9ede5b355aabd667ed690f858c925a23927027b.tar.gz
linux-a9ede5b355aabd667ed690f858c925a23927027b.tar.bz2
linux-a9ede5b355aabd667ed690f858c925a23927027b.zip
asm-generic: uaccess: fix up local access_ok() usage
There's no reason that I can see to use the short __access_ok() form directly when the access_ok() is clearer in intent and for most people, expands to the same C code (i.e. always specify the first field -- access type). Not all no-mmu systems lack memory protection, so the read/write could feasibly be checked. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions