Haoyang Liu
3f53d1b4a4
docs/dev-tools: fix a typo
...
fix a typo in dev-tools/kmsan.rst
[jc: this is not really a typo, but "iff" is clearly a confusing construct
for non-native speakers; changing it will prevent people from trying to
"fix" it repeatedly.]
Signed-off-by: Haoyang Liu <[email protected] >
Signed-off-by: Jonathan Corbet <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2024-10-17 09:39:19 -06:00
Ilya Leoshkevich
ec3e837d8f
kmsan: allow disabling KMSAN checks for the current task
...
Like for KASAN, it's useful to temporarily disable KMSAN checks around,
e.g., redzone accesses. Introduce kmsan_disable_current() and
kmsan_enable_current(), which are similar to their KASAN counterparts.
Make them reentrant in order to handle memory allocations in interrupt
context. Repurpose the allow_reporting field for this.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ilya Leoshkevich <[email protected] >
Reviewed-by: Alexander Potapenko <[email protected] >
Cc: Alexander Gordeev <[email protected] >
Cc: Christian Borntraeger <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Hyeonggon Yoo <[email protected] >
Cc: Joonsoo Kim <[email protected] >
Cc: <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masami Hiramatsu (Google) <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: Roman Gushchin <[email protected] >
Cc: Steven Rostedt (Google) <[email protected] >
Cc: Sven Schnelle <[email protected] >
Cc: Vasily Gorbik <[email protected] >
Cc: Vlastimil Babka <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2024-07-03 19:30:22 -07:00
Andrey Konovalov
651acf0ceb
Documentation: *san: drop "the" from article titles
...
Drop "the" from the titles of documentation articles for KASAN, KCSAN,
and KMSAN, as it is redundant.
Also add SPDX-License-Identifier for kasan.rst.
Link: https://lkml.kernel.org/r/1c4eb354a3a7b8ab56bf0c2fc6157c22050793ca.1696605143.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: kernel test robot <[email protected] >
Cc: Marco Elver <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2023-10-18 14:34:15 -07:00
Alexander Potapenko
436fa4a699
docs: kmsan: fix formatting of "Example report"
...
Add a blank line to make the sentence before the list render as a separate
paragraph, not a definition.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 93858ae70c ("kmsan: add ReST documentation")
Signed-off-by: Alexander Potapenko <[email protected] >
Suggested-by: Bagas Sanjaya <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2022-11-08 15:57:25 -08:00
Alexander Potapenko
93858ae70c
kmsan: add ReST documentation
...
Add Documentation/dev-tools/kmsan.rst and reference it in the dev-tools
index.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected] >
Cc: Alexander Viro <[email protected] >
Cc: Alexei Starovoitov <[email protected] >
Cc: Andrey Konovalov <[email protected] >
Cc: Andrey Konovalov <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Eric Biggers <[email protected] >
Cc: Eric Biggers <[email protected] >
Cc: Eric Dumazet <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Herbert Xu <[email protected] >
Cc: Ilya Leoshkevich <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jens Axboe <[email protected] >
Cc: Joonsoo Kim <[email protected] >
Cc: Kees Cook <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Matthew Wilcox <[email protected] >
Cc: Michael S. Tsirkin <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Petr Mladek <[email protected] >
Cc: Stephen Rothwell <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Vasily Gorbik <[email protected] >
Cc: Vegard Nossum <[email protected] >
Cc: Vlastimil Babka <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2022-10-03 14:03:18 -07:00