]> Git Repo - linux.git/commit
ubsan: check panic_on_warn
authorKees Cook <[email protected]>
Tue, 7 Apr 2020 03:12:38 +0000 (20:12 -0700)
committerLinus Torvalds <[email protected]>
Tue, 7 Apr 2020 17:43:44 +0000 (10:43 -0700)
commit1d28c8d6d076efdec762026f7192c7cf251c66be
tree1868348b2260819d9bde9379a170d0742cbaaf4c
parentae2e1aad3e48e495878d9f149e437a308bfdaefa
ubsan: check panic_on_warn

Syzkaller expects kernel warnings to panic when the panic_on_warn sysctl
is set.  More work is needed here to have UBSan reuse the WARN
infrastructure, but for now, just check the flag manually.

Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Elena Petrova <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Link: https://lore.kernel.org/lkml/CACT4Y+bsLJ-wFx_TaXqax3JByUOWB3uk787LsyMVcfW6JzzGvg@mail.gmail.com
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
lib/ubsan.c
This page took 0.051667 seconds and 4 git commands to generate.