diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-03-13 11:44:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-14 14:36:20 -0700 |
commit | 17415606f9d8be06580cc0a873e27a6e4309ba2e (patch) | |
tree | fa2255fed25111a8bdf3ad712e4b5ea3f4212270 /include/linux/swap.h | |
parent | ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6 (diff) | |
download | lwn-17415606f9d8be06580cc0a873e27a6e4309ba2e.tar.gz lwn-17415606f9d8be06580cc0a873e27a6e4309ba2e.zip |
tools/testing/selftests/proc/proc-pid-vm.c: test with vsyscall in mind
: selftests: proc: proc-pid-vm
: ========================================
: proc-pid-vm: proc-pid-vm.c:277: main: Assertion `rv == strlen(buf0)' failed.
: Aborted
Because the vsyscall mapping is enabled. Read from vsyscall page to tell
if vsyscall is being used.
Link: http://lkml.kernel.org/r/20190307183204.GA11405@avx2
Link: http://lkml.kernel.org/r/20190219094722.GB28258@shao2-debian
Fixes: 34aab6bec23e7e9 ("proc: test /proc/*/maps, smaps, smaps_rollup, statm")
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reported-by: kernel test robot <rong.a.chen@intel.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/swap.h')
0 files changed, 0 insertions, 0 deletions