]> Git Repo - linux.git/commit
xtensa: add missing __user annotations to asm/uaccess.h
authorMax Filippov <[email protected]>
Fri, 22 May 2020 18:40:20 +0000 (11:40 -0700)
committerMax Filippov <[email protected]>
Fri, 22 May 2020 23:09:00 +0000 (16:09 -0700)
commit2adf5352a34ac65a776d709607939bc82cf9819e
tree5b3f3b0e15d2be6654bc4f8e6c068b44a975bbc6
parent9afcc71b4f85ee9c9604c9b8349bac0eed44aa63
xtensa: add missing __user annotations to asm/uaccess.h

clear_user, strncpy_user, strnlen_user and their helpers operate on user
pointers, but don't have their arguments marked as __user.
Add __user annotation to userspace pointers of those functions.
Fix open-coded access check in the strnlen_user while at it.

Signed-off-by: Max Filippov <[email protected]>
arch/xtensa/include/asm/uaccess.h
This page took 0.053078 seconds and 4 git commands to generate.