diff options
author | 2020-07-27 09:30:40 +0530 | |
---|---|---|
committer | 2020-07-29 21:02:10 +1000 | |
commit | c27f2fd1705a7e19ef2dc2b986c0d1cde3c3dbe7 (patch) | |
tree | 3d0708f0f3338768d87fff8b085e088b5b3e47a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/powerpc: Add wrapper for gettid (diff) | |
download | wireguard-linux-c27f2fd1705a7e19ef2dc2b986c0d1cde3c3dbe7.tar.xz wireguard-linux-c27f2fd1705a7e19ef2dc2b986c0d1cde3c3dbe7.zip |
selftests/powerpc: Add test for pkey siginfo verification
Commit c46241a370a61 ("powerpc/pkeys: Check vma before
returning key fault error to the user") fixes a bug which
causes the kernel to set the wrong pkey in siginfo when a
pkey fault occurs after two competing threads that have
allocated different pkeys, one fully permissive and the
other restrictive, attempt to protect a common page at the
same time. This adds a test to detect the bug.
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ce40b6ee270bda52e8f4088578ed2faf7d1d509a.1595821792.git.sandipan@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions