[PATCH v4 1/3] lib/test_kasan: Add bitops tests

2019-06-13 Thread Marco Elver
This adds bitops tests to the test_kasan module. In a follow-up patch, support for bitops instrumentation will be added. Signed-off-by: Marco Elver Acked-by: Mark Rutland --- Changes in v4: * Remove "within-bounds" tests. * Allocate sizeof(*bite) + 1, to not actually corrupt other memory in ca

Re: [PATCH v4 1/3] lib/test_kasan: Add bitops tests

2019-06-13 Thread Andrey Ryabinin
On 6/13/19 3:30 PM, Marco Elver wrote: > This adds bitops tests to the test_kasan module. In a follow-up patch, > support for bitops instrumentation will be added. > > Signed-off-by: Marco Elver > Acked-by: Mark Rutland > --- Reviewed-by: Andrey Ryabinin > +static noinline void __init k

Re: [PATCH v4 1/3] lib/test_kasan: Add bitops tests

2019-06-13 Thread Marco Elver
On Thu, 13 Jun 2019 at 14:49, Andrey Ryabinin wrote: > > > > On 6/13/19 3:30 PM, Marco Elver wrote: > > This adds bitops tests to the test_kasan module. In a follow-up patch, > > support for bitops instrumentation will be added. > > > > Signed-off-by: Marco Elver > > Acked-by: Mark Rutland > > -