Re: [GIT PULL] overflow updates (part 2) for v4.18-rc1

2018-06-13 Thread Kees Cook
On Tue, Jun 12, 2018 at 6:44 PM, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 4:36 PM Kees Cook wrote: >> >> - Treewide conversions of allocators to use either 2-factor argument >> variant when available, or array_size() and array3_size() as needed (Kees) > > Ok, some of this smells just a t

Re: [GIT PULL] overflow updates (part 2) for v4.18-rc1

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 4:36 PM Kees Cook wrote: > > - Treewide conversions of allocators to use either 2-factor argument > variant when available, or array_size() and array3_size() as needed (Kees) Ok, some of this smells just a tad too much of automation, but I've done the pull and it's going

[GIT PULL] overflow updates (part 2) for v4.18-rc1

2018-06-12 Thread Kees Cook
Hi Linus, Please pull the rest of the overflow changes for v4.18-rc1. This includes the explicit overflow fixes from Silvio, further struct_size() conversions from Matthew, a bug fix from Dan, but the bulk are the treewide conversions to use either the 2-factor argument allocators (e.g. kmalloc(a