aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2020-09-03 20:40:30 +0000
committerLinus Torvalds <[email protected]>2020-09-04 01:36:55 +0000
commit8891adc61dce2a8a41fc0c23262b681c3ec4b73a (patch)
treea68f908e7d4d9c2a752ad9db908ea3226deb0fe9 /drivers/net/wan/lapbether.c
parentmm: fix pin vs. gup mismatch with gate pages (diff)
downloadkernel-8891adc61dce2a8a41fc0c23262b681c3ec4b73a.tar.gz
kernel-8891adc61dce2a8a41fc0c23262b681c3ec4b73a.zip
selftests/x86/test_vsyscall: Improve the process_vm_readv() test
The existing code accepted process_vm_readv() success or failure as long as it didn't return garbage. This is too weak: if the vsyscall page is readable, then process_vm_readv() should succeed and, if the page is not readable, then it should fail. Signed-off-by: Andy Lutomirski <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Cc: [email protected] Cc: Peter Zijlstra <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Jann Horn <[email protected]> Cc: John Hubbard <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions