android_kernel_xiaomi_sm8450/Documentation/dev-tools
Kees Cook fca16257ca UPSTREAM: ubsan: remove UBSAN_MISC in favor of individual options
Make each UBSAN option individually selectable and remove UBSAN_MISC which
no longer has any purpose.  Add help text for each Kconfig, and include a
reference to the Clang sanitizer documentation.  Disable unsigned overflow
by default (not available with GCC and makes x86 unbootable with Clang).
Disable unreachable when objtool is in use (redundant and confuses things:
instrumentation appears at unreachable locations).

Link: https://lkml.kernel.org/r/20201203004437.389959-7-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: George Popescu <georgepope@android.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 199373673
(cherry picked from commit c637693b20da8706b7f48d96882c9c80ae935151)
Signed-off-by: Yee Lee <yee.lee@mediatek.com>
Change-Id: I23c9578641db66e1514ff4c37874864298a12767
2021-10-21 08:33:13 -07:00
..
kunit KUnit: Docs: usage: wording fixes 2020-11-10 13:40:30 -07:00
coccinelle.rst documentation: coccinelle: Improve command example for make C={1,2} 2020-08-11 10:37:38 -06:00
gcov.rst docs: gcov: replace links with HTTPS 2020-07-13 11:29:16 -06:00
gdb-kernel-debugging.rst Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
index.rst FROMGIT: kfence, Documentation: add KFENCE documentation 2021-02-05 09:20:53 -08:00
kasan.rst FROMGIT: kasan: Add KASAN mode kernel parameter 2021-04-24 19:37:58 +02:00
kcov.rst kcov: collect coverage from interrupts 2020-06-04 19:06:20 -07:00
kcsan.rst kcsan: Re-add GCC as a supported compiler 2020-06-29 12:04:48 -07:00
kfence.rst UPSTREAM: kfence: report sensitive information based on no_hash_pointers 2021-03-01 18:11:05 +01:00
kgdb.rst docs: kgdb.rst: fix :c:type: usages 2020-10-15 07:49:44 +02:00
kmemleak.rst mm,kmemleak-test.c: move kmemleak-test.c to samples dir 2020-10-13 18:38:27 -07:00
kselftest.rst doc: dev-tools: kselftest.rst: Update examples and paths 2020-10-07 07:59:24 -06:00
sparse.rst doc: add link to sparse's home page/internal docs 2020-07-05 14:32:56 -06:00
ubsan.rst UPSTREAM: ubsan: remove UBSAN_MISC in favor of individual options 2021-10-21 08:33:13 -07:00