summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-04-10 13:31:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-04-10 13:31:34 -0700
commitfe5b5ef836c85fc687db4fa3548775fd363e25d4 (patch)
tree76a9f2a037b908cfc76bcbc54e3f86596daa8cd3 /lib
parenta6189a7407795b3f5167ea532ac85931cd26083a (diff)
parent9c573cd313433f6c1f7236fe64b9b743500c1628 (diff)
Merge tag 'hardening-v6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull hardening fixes from Kees Cook: - gcc-plugins/stackleak: Avoid .head.text section (Ard Biesheuvel) - ubsan: fix unused variable warning in test module (Arnd Bergmann) - Improve entropy diffusion in randomize_kstack * tag 'hardening-v6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: randomize_kstack: Improve entropy diffusion ubsan: fix unused variable warning in test module gcc-plugins/stackleak: Avoid .head.text section
Diffstat (limited to 'lib')
-rw-r--r--lib/test_ubsan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_ubsan.c b/lib/test_ubsan.c
index 276c12140ee2..c288df9372ed 100644
--- a/lib/test_ubsan.c
+++ b/lib/test_ubsan.c
@@ -134,7 +134,7 @@ static const test_ubsan_fp test_ubsan_array[] = {
};
/* Excluded because they Oops the module. */
-static const test_ubsan_fp skip_ubsan_array[] = {
+static __used const test_ubsan_fp skip_ubsan_array[] = {
test_ubsan_divrem_overflow,
};