kselftest: Extend vDSO selftest
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Mon, 26 Oct 2020 11:49:42 +0000 (11:49 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 27 Oct 2020 23:57:08 +0000 (17:57 -0600)
commit693f5ca08ca0767b407b7ca634dbf1b783676ec3
tree189cc9514ed99186620341d67b29a6d2b5184b2b
parent40723419f4079d0c7de98d0f3149db915557b55a
kselftest: Extend vDSO selftest

The current version of the multiarch vDSO selftest verifies only
gettimeofday.

Extend the vDSO selftest to the other library functions:
 - time
 - clock_getres
 - clock_gettime

The extension has been used to verify the unified vdso library on the
supported architectures.

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vDSO/Makefile
tools/testing/selftests/vDSO/vdso_config.h [new file with mode: 0644]
tools/testing/selftests/vDSO/vdso_test_abi.c [new file with mode: 0644]