diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2020-05-22 11:40:20 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2020-05-22 16:09:00 -0700 |
commit | 2adf5352a34ac65a776d709607939bc82cf9819e (patch) | |
tree | 5b3f3b0e15d2be6654bc4f8e6c068b44a975bbc6 /kernel/utsname.c | |
parent | 9afcc71b4f85ee9c9604c9b8349bac0eed44aa63 (diff) |
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 <jcmvbkbc@gmail.com>
Diffstat (limited to 'kernel/utsname.c')
0 files changed, 0 insertions, 0 deletions