aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-04-10 16:31:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 10:28:33 -0700
commit24b2ec21192c963c17a1b687b6171e95e8b59c06 (patch)
treeb306741760dc34e5c408055ddf84fb9d253ebdb4 /tools/testing/selftests/Makefile
parentproc: replace seq_printf by seq_put_smth to speed up /proc/pid/status (diff)
downloadwireguard-linux-24b2ec21192c963c17a1b687b6171e95e8b59c06.tar.xz
wireguard-linux-24b2ec21192c963c17a1b687b6171e95e8b59c06.zip
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>
Diffstat (limited to 'tools/testing/selftests/Makefile')
0 files changed, 0 insertions, 0 deletions