Thomas Bogendoerfer 2c92ef8ff8 MIPS: Fix strnlen_user access check
Commit 04324f44cb69 ("MIPS: Remove get_fs/set_fs") changed the access_ok
for strnlen_user to check the whole range, which broke some callers
of strndup_user(). Restore the old behaviour and just check the first byte.

Fixes: 04324f44cb69 ("MIPS: Remove get_fs/set_fs")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-04-15 23:42:21 +02:00
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:48 +01:00
2021-04-06 15:12:58 +02:00
2021-03-10 15:18:40 +01:00
2021-01-22 11:40:00 +01:00
2021-03-24 10:29:45 +01:00
2020-09-16 22:40:58 +02:00
2021-02-25 10:17:31 -08:00
2021-01-22 11:40:00 +01:00
2021-04-06 15:12:58 +02:00
2021-02-21 13:18:26 -08:00