Re: [PATCH v2 0/3] Fix some incompatibilites between KASAN and FORTIFY_SOURCE

2020-02-26 Thread Daniel Axtens
Daniel Axtens writes: > 3 KASAN self-tests fail on a kernel with both KASAN and FORTIFY_SOURCE: > memchr, memcmp and strlen. I have observed this on x86 and powerpc. > > When FORTIFY_SOURCE is on, a number of functions are replaced with > fortified versions, which attempt to check the sizes of th

[PATCH v2 0/3] Fix some incompatibilites between KASAN and FORTIFY_SOURCE

2020-01-15 Thread Daniel Axtens
3 KASAN self-tests fail on a kernel with both KASAN and FORTIFY_SOURCE: memchr, memcmp and strlen. I have observed this on x86 and powerpc. When FORTIFY_SOURCE is on, a number of functions are replaced with fortified versions, which attempt to check the sizes of the operands. However, these functi