ubsan: Clarify Kconfig text for CONFIG_UBSAN_TRAP
authorJann Horn <jannh@google.com>
Wed, 5 Jul 2023 21:51:27 +0000 (23:51 +0200)
committerKees Cook <keescook@chromium.org>
Mon, 17 Jul 2023 23:05:19 +0000 (16:05 -0700)
commitce6616724fb425d6043d0dad6af996cd7c79bcc4
tree344595f37aec651815664c0461378a7e8d68b6d2
parentfdf0eaf11452d72945af31804e2a1048ee1b574c
ubsan: Clarify Kconfig text for CONFIG_UBSAN_TRAP

Make it clearer in the one-line description and the verbose description
text that CONFIG_UBSAN_TRAP as currently implemented involves a tradeoff of
much less helpful oops messages in exchange for a smaller kernel image.
(With the additional effect of turning UBSAN warnings into crashes, which
may or may not be desired.)

Signed-off-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/r/20230705215128.486054-1-jannh@google.com
Signed-off-by: Kees Cook <keescook@chromium.org>
lib/Kconfig.ubsan