diff options
| author | Arnd Bergmann <[email protected]> | 2020-01-16 14:58:41 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2021-07-23 12:40:00 +0000 |
| commit | 2820cfdc08178c55efa1c0fa402f082ef09bfe70 (patch) | |
| tree | 41a09cdb09e78200e39af196dff143a977464936 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | h8300: remove stale strncpy_from_user (diff) | |
| download | kernel-2820cfdc08178c55efa1c0fa402f082ef09bfe70.tar.gz kernel-2820cfdc08178c55efa1c0fa402f082ef09bfe70.zip | |
hexagon: use generic strncpy/strnlen from_user
Remove the hexagon implementation of strncpy/strnlen and instead use
the generic version. The hexagon version reads the data twice for
strncpy() by doing an extra strnlen(), and it apparently lacks a check
for user_addr_max().
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
