Disable KCSAN within a panic.
The kernel is single threaded at this point and the panic is more important. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
58e70aa0cf
commit
a27ac4644a
@ -153,6 +153,8 @@ kcsan_access(uintptr_t addr, size_t size, bool write, bool atomic, uintptr_t pc)
|
||||
return;
|
||||
if (__predict_false(kcsan_md_unsupported((vm_offset_t)addr)))
|
||||
return;
|
||||
if (__predict_false(panicstr != NULL))
|
||||
return;
|
||||
|
||||
new.addr = addr;
|
||||
new.size = size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user