aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-01-21 14:55:03 +0000
committerAlexander Gordeev <[email protected]>2025-01-26 16:24:08 +0000
commitd8eebb11e933b784f6e5071da93d977f9187b2b5 (patch)
treebae6a549b1e9b87e9764169e680d80780757184f /scripts/rustdoc_test_gen.rs
parents390/uaccess: Rename get_put_user_noinstr_attributes to uaccess_kmsan_or_inline (diff)
downloadkernel-d8eebb11e933b784f6e5071da93d977f9187b2b5.tar.gz
kernel-d8eebb11e933b784f6e5071da93d977f9187b2b5.zip
s390/futex: Avoid KMSAN instrumention for user pointers
Similar to commit eb6efdfeaeca ("s390/uaccess: add KMSAN support to put_user() and get_user()") disable KMSAN instrumention for futex inline assemblies, which contain dereferenced user pointers. With KMSAN instrumentation this would lead to accesses of shadows for user pointers, which should not happen. Handle the futex operations like they copy a value (old) from user space to kernel space. Acked-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions