diff options
author | Andrey Ryabinin <aryabinin@virtuozzo.com> | 2019-05-06 06:45:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-06 14:12:09 -0400 |
commit | 9a91ad929f9a719c0c734abe791a27ab9444cd61 (patch) | |
tree | 44d9144094eb22b18cf8bbcf597aee1a189aa108 /scripts | |
parent | f0996bc2978e02d2ea898101462b960f6119b18f (diff) |
ubsan: Remove vla bound checks.
The kernel the kernel is built with -Wvla for some time, so is not
supposed to have any variable length arrays. Remove vla bounds checking
from ubsan since it's useless now.
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.ubsan | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.ubsan b/scripts/Makefile.ubsan index 38b2b4818e8e..019771b845c5 100644 --- a/scripts/Makefile.ubsan +++ b/scripts/Makefile.ubsan | |||
@@ -3,7 +3,6 @@ ifdef CONFIG_UBSAN | |||
3 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=shift) | 3 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=shift) |
4 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=integer-divide-by-zero) | 4 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=integer-divide-by-zero) |
5 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=unreachable) | 5 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=unreachable) |
6 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=vla-bound) | ||
7 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=signed-integer-overflow) | 6 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=signed-integer-overflow) |
8 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds) | 7 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds) |
9 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=object-size) | 8 | CFLAGS_UBSAN += $(call cc-option, -fsanitize=object-size) |