diff options
author | 2021-04-15 23:21:11 +0200 | |
---|---|---|
committer | 2021-04-15 23:42:21 +0200 | |
commit | 2c92ef8ff8d327797c1920ae7f938bcc6f3f7421 (patch) | |
tree | 0f72d5bb46397d2b3615194beb4e597d673e6839 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: Fix access_ok() for the last byte of user space (diff) | |
download | linux-dev-2c92ef8ff8d327797c1920ae7f938bcc6f3f7421.tar.xz linux-dev-2c92ef8ff8d327797c1920ae7f938bcc6f3f7421.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions