summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2024-04-27 18:56:53 -0400
committerMike Pagano <mpagano@gentoo.org>2024-04-27 18:56:53 -0400
commit1c3510b7a3ca005e2008e6ff0a3aa63a906b9a50 (patch)
treebe557c94ec587220646a004693de01612280535d
parentLinux patch 5.10.215 (diff)
downloadlinux-patches-5.10.tar.gz
linux-patches-5.10.tar.bz2
linux-patches-5.10.zip
Add UBSAN_BOUNDS and UBSAN_SHIFT and dependencies5.10
Bug: Add UBSAN_BOUNDS and UBSAN_SHIFT and dependencies Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r--4567_distro-Gentoo-Kconfig.patch10
1 files changed, 7 insertions, 3 deletions
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
index 435a76ea..497932fe 100644
--- a/4567_distro-Gentoo-Kconfig.patch
+++ b/4567_distro-Gentoo-Kconfig.patch
@@ -6,9 +6,9 @@
source "Documentation/Kconfig"
+
+source "distro/Kconfig"
---- /dev/null 2022-01-30 08:12:05.041788304 -0500
-+++ b/distro/Kconfig 2022-01-30 15:28:10.030352980 -0500
-@@ -0,0 +1,285 @@
+--- /dev/null 2024-04-27 13:10:54.188000027 -0400
++++ b/distro/Kconfig 2024-04-27 18:54:09.734564235 -0400
+@@ -0,0 +1,289 @@
+menu "Gentoo Linux"
+
+config GENTOO_LINUX
@@ -148,6 +148,10 @@
+ select TIMERFD
+ select TMPFS_POSIX_ACL
+ select TMPFS_XATTR
++ select UBSAN
++ select CC_HAS_UBSAN_BOUNDS_STRICT if !CC_HAS_UBSAN_ARRAY_BOUNDS
++ select UBSAN_BOUNDS
++ select UBSAN_SHIFT
+
+ select ANON_INODES
+ select BLOCK