Re: [PATCH v3 05/16] lib: overflow: Add memory allocation overflow tests

From: Andy Shevchenko
Date: Fri Jun 01 2018 - 06:18:36 EST


On Fri, Jun 1, 2018 at 3:42 AM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> Make sure that the memory allocators are behaving as expected in the face
> of overflows.

> #include <linux/module.h>
> #include <linux/overflow.h>
> #include <linux/types.h>
> +#include <linux/slab.h>
> +#include <linux/device.h>
> +#include <linux/mm.h>

A nit, can we keep it in order?

--
With Best Regards,
Andy Shevchenko