On Fri, May 27, 2022 at 8:56 PM David Gow wrote:
>
> From: Patricia Alfonso
>
> Make KASAN run on User Mode Linux on x86_64.
>
> The UML-specific KASAN initializer uses mmap to map the roughly 2.25TB
> of shadow memory to the location defined by KASAN_SHADOW_OFFSET.
> kasan_init() utilizes constr
On Fri, 2022-05-27 at 22:14 +0200, Johannes Berg wrote:
> On Fri, 2022-05-27 at 11:56 -0700, David Gow wrote:
> >
> > This is v2 of the KASAN/UML port. It should be ready to go.
>
> Nice, thanks a lot! :)
>
> > It does benefit significantly from the following patches:
> > - Bugfix for memory cor
On Fri, 2022-05-27 at 11:56 -0700, David Gow wrote:
>
> The UML-specific KASAN initializer uses mmap to map the roughly 2.25TB
You say 2.25TB here, and
> +config KASAN_SHADOW_OFFSET
> + hex
> + depends on KASAN
> + default 0x1000
> + help
> + This is the offset at
On Fri, 2022-05-27 at 11:56 -0700, David Gow wrote:
>
> This is v2 of the KASAN/UML port. It should be ready to go.
Nice, thanks a lot! :)
> It does benefit significantly from the following patches:
> - Bugfix for memory corruption, needed for KASAN_STACK support:
> https://lore.kernel.org/lkml/