Peter Zijlstra d08965a27e x86/uaccess, ubsan: Fix UBSAN vs. SMAP
UBSAN can insert extra code in random locations; including AC=1
sections. Typically this code is not safe and needs wrapping.

So far, only __ubsan_handle_type_mismatch* have been observed in AC=1
sections and therefore only those are annotated.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-04-03 11:02:24 +02:00
..
2019-03-07 18:32:03 -08:00
2019-03-15 14:37:46 -07:00
2018-10-12 09:17:46 +02:00
2019-03-07 18:32:00 -08:00
2019-01-05 13:54:53 -08:00
2019-03-12 10:04:02 -07:00
2019-02-26 14:05:20 -05:00
2019-03-10 17:48:21 -07:00
2018-10-16 13:45:44 +02:00
2018-10-16 13:45:44 +02:00
2018-10-15 16:31:29 -04:00
2019-04-03 11:02:24 +02:00
2019-03-09 09:22:42 -08:00