diff options
author | Alexey Dobriyan <[email protected]> | 2018-04-10 16:31:30 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-04-11 10:28:33 -0700 |
commit | 24b2ec21192c963c17a1b687b6171e95e8b59c06 (patch) | |
tree | b306741760dc34e5c408055ddf84fb9d253ebdb4 /tools/perf/scripts/python/stat-cpi.py | |
parent | d0f02231222b313d1b49278cd2e3c7e7406fea6d (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 <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions