diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-04-10 16:31:30 -0700 |
|---|---|---|
| committer | vantoman <mustafa.vantom@gmail.com> | 2021-04-10 13:15:22 +0200 |
| commit | 44cbaba82453bd3e230d27c33196976beda4442d (patch) | |
| tree | 47e65a05815c343444771669ae6665303994fab2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6b2ddf245d6d6e5e16057217481cb5d205de9761 (diff) | |
proc: check permissions earlier for /proc/*/wchan
get_wchan() accesses stack page before permissions are checked, let's
not play this game.
Link: http://lkml.kernel.org/r/20180217071923.GA16074@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
