Merge branch 'uaccess.strlen' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull user access str* updates from Al Viro: "uaccess str...() dead code removal" * 'uaccess.strlen' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: s390 keyboard.c: don't open-code strndup_user() mips: get rid of unused __strnlen_user() get rid of unused __strncpy_from_user() instances kill strlen_user()
This commit is contained in:
@@ -200,11 +200,6 @@ static inline long strnlen_user(const char __user *src, long n)
|
||||
return __strnlen_user(src, n);
|
||||
}
|
||||
|
||||
static inline long strlen_user(const char __user *src)
|
||||
{
|
||||
return strnlen_user(src, 32767);
|
||||
}
|
||||
|
||||
/*
|
||||
* Zero Userspace
|
||||
*/
|
||||
|
Reference in New Issue
Block a user