linux_dsm_epyc7002/tools/testing/selftests/proc
Alexey Dobriyan 17415606f9 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>
2019-03-14 14:36:20 -07:00
..
.gitignore proc: test /proc/*/maps, smaps, smaps_rollup, statm 2019-03-05 21:07:22 -08:00
config
fd-001-lookup.c selftests: fix warning: "_GNU_SOURCE" redefined 2018-10-24 14:49:37 -06:00
fd-002-posix-eq.c tools/testing/selftests/proc: test /proc/*/fd a bit (+ PF_KTHREAD is ABI!) 2018-06-07 17:34:38 -07:00
fd-003-kthread.c selftests: fix warning: "_GNU_SOURCE" redefined 2018-10-24 14:49:37 -06:00
Makefile proc: test /proc/*/maps, smaps, smaps_rollup, statm 2019-03-05 21:07:22 -08:00
proc-loadavg-001.c proc: return exit code 4 for skipped tests 2019-03-05 21:07:21 -08:00
proc-pid-vm.c tools/testing/selftests/proc/proc-pid-vm.c: test with vsyscall in mind 2019-03-14 14:36:20 -07:00
proc-self-map-files-001.c proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
proc-self-map-files-002.c proc: return exit code 4 for skipped tests 2019-03-05 21:07:21 -08:00
proc-self-syscall.c tools/testing/selftests/proc/proc-self-syscall.c: remove duplicate include 2019-03-05 21:07:22 -08:00
proc-self-wchan.c proc: return exit code 4 for skipped tests 2019-03-05 21:07:21 -08:00
proc-uptime-001.c proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
proc-uptime-002.c proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
proc-uptime.h tools/testing/selftests/proc: test /proc/*/fd a bit (+ PF_KTHREAD is ABI!) 2018-06-07 17:34:38 -07:00
proc.h proc: test /proc/thread-self symlink 2018-08-22 10:52:45 -07:00
read.c proc: more robust bulk read test 2019-03-05 21:07:22 -08:00
self.c proc: test /proc/self symlink 2018-08-22 10:52:45 -07:00
setns-dcache.c proc: fix /proc/net/* after setns(2) 2019-02-01 15:46:22 -08:00
thread-self.c proc: test /proc/thread-self symlink 2018-08-22 10:52:45 -07:00