diff options
author | Sandipan Das <[email protected]> | 2020-07-27 09:30:40 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-29 21:02:10 +1000 |
commit | c27f2fd1705a7e19ef2dc2b986c0d1cde3c3dbe7 (patch) | |
tree | 3d0708f0f3338768d87fff8b085e088b5b3e47a0 /net/lapb/lapb_iface.c | |
parent | 743f3544fffb9662aaf550c8358a8c1b6fcae707 (diff) |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/ce40b6ee270bda52e8f4088578ed2faf7d1d509a.1595821792.git.sandipan@linux.ibm.com
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions