diff options
author | 2024-04-27 18:01:28 -0400 | |
---|---|---|
committer | 2024-04-27 18:01:28 -0400 | |
commit | f9505074541db86a09aaf77aeeb425f029565fcf (patch) | |
tree | fb284954aa68005a886bb2aa440467ac0fc9618c | |
parent | select BLK_DEV_BSG if SCSI as it depends on it. (diff) | |
download | linux-patches-f9505074541db86a09aaf77aeeb425f029565fcf.tar.gz linux-patches-f9505074541db86a09aaf77aeeb425f029565fcf.tar.bz2 linux-patches-f9505074541db86a09aaf77aeeb425f029565fcf.zip |
Add UBSAN_BOUNDS and UBSAN_SHIFT and dependencies
Bug: https://bugs.gentoo.org/930733
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r-- | 4567_distro-Gentoo-Kconfig.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index d215166c..6134393f 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-08-25 07:13:06.694086407 -0400 -+++ b/distro/Kconfig 2022-08-25 13:21:55.150660724 -0400 -@@ -0,0 +1,291 @@ +--- /dev/null 2024-04-27 13:10:54.188000027 -0400 ++++ b/distro/Kconfig 2024-04-27 17:56:56.723132353 -0400 +@@ -0,0 +1,295 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -213,6 +213,10 @@ + select SLAB_FREELIST_HARDENED + select SHUFFLE_PAGE_ALLOCATOR + select SLUB_DEBUG ++ select UBSAN ++ select CC_HAS_UBSAN_BOUNDS_STRICT if !CC_HAS_UBSAN_ARRAY_BOUNDS ++ select UBSAN_BOUNDS ++ select UBSAN_SHIFT + select PAGE_POISONING + select PAGE_POISONING_NO_SANITY + select PAGE_POISONING_ZERO @@ -300,9 +304,6 @@ + See the settings that become available for more details and fine-tuning. + +endmenu --- -2.31.1 - From bd3ff0b16792c18c0614c2b95e148943209f460a Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev <gyakovlev@gentoo.org> Date: Tue, 8 Jun 2021 13:59:57 -0700 @@ -327,4 +328,3 @@ index 24c045b24..e13fc740c 100644 This is the portion of low virtual memory which should be protected -- 2.31.1 -``` |