diff options
author | Alexander Potapenko <[email protected]> | 2022-10-24 23:21:44 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-28 13:37:23 -0700 |
commit | 78a498c3a227f2ac773a8234b2ce092a4403f2c3 (patch) | |
tree | d7efd152160584209dfcbde2aa4cfaa65f728425 /lib/mpi/mpi-sub-ui.c | |
parent | 59c8a02e24894e75639bcecc3cb1e768a2792220 (diff) |
x86: fortify: kmsan: fix KMSAN fortify builds
Ensure that KMSAN builds replace memset/memcpy/memmove calls with the
respective __msan_XXX functions, and that none of the macros are redefined
twice. This should allow building kernel with both CONFIG_KMSAN and
CONFIG_FORTIFY_SOURCE.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://github.com/google/kmsan/issues/89
Signed-off-by: Alexander Potapenko <[email protected]>
Reported-by: Tamas K Lengyel <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions