diff options
author | Alexander Potapenko <[email protected]> | 2022-11-18 18:23:05 +0100 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-01-27 09:00:56 -0800 |
commit | ce3ba2af9695e4bd64d797e0026321e5dca29dd3 (patch) | |
tree | 180cf61bade5ba55aa18ebd5b14f517ab6bae84c /drivers/platform/surface/aggregator/ssh_request_layer.c | |
parent | 6be9a8f18fb2ea88d37a69f076f7011fc012ae1a (diff) |
x86: Suppress KMSAN reports in arch_within_stack_frames()
arch_within_stack_frames() performs stack walking and may confuse
KMSAN by stepping on stale shadow values. To prevent false positive
reports, disable KMSAN checks in this function.
This fixes KMSAN's interoperability with CONFIG_HARDENED_USERCOPY.
Signed-off-by: Alexander Potapenko <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Tested-by: Eric Biggers <[email protected]>
Link: https://github.com/google/kmsan/issues/89
Link: https://lore.kernel.org/lkml/[email protected]/
Link: https://lore.kernel.org/all/20221118172305.3321253-1-glider%40google.com
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions