summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vDSO/.gitignore
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2024-07-07 01:40:16 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-07-19 20:22:12 +0200
commit4920a2590e91bc15068e789aaf4ddc522f772fc5 (patch)
tree344af21943c0672a371ef7b32b0a38881cbb88fc /tools/testing/selftests/vDSO/.gitignore
parent33385150ac456f6f95a58647583d0a3887620729 (diff)
downloadlwn-4920a2590e91bc15068e789aaf4ddc522f772fc5.tar.gz
lwn-4920a2590e91bc15068e789aaf4ddc522f772fc5.zip
selftests/vDSO: add tests for vgetrandom
This adds two tests for vgetrandom. The first one, vdso_test_chacha, simply checks that the assembly implementation of chacha20 matches that of libsodium, a basic sanity check that should catch most errors. The second, vdso_test_getrandom, is a full "libc-like" implementation of the userspace side of vgetrandom() support. It's meant to be used also as example code for libcs that might be integrating this. Cc: linux-kselftest@vger.kernel.org Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/testing/selftests/vDSO/.gitignore')
-rw-r--r--tools/testing/selftests/vDSO/.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/vDSO/.gitignore b/tools/testing/selftests/vDSO/.gitignore
index a8dc51af5a9c..30d5c8f0e5c7 100644
--- a/tools/testing/selftests/vDSO/.gitignore
+++ b/tools/testing/selftests/vDSO/.gitignore
@@ -6,3 +6,5 @@ vdso_test_correctness
vdso_test_gettimeofday
vdso_test_getcpu
vdso_standalone_test_x86
+vdso_test_getrandom
+vdso_test_chacha