Re: [PATCH 04/20] ipc: Drop non-RCU allocation

From: Kees Cook
Date: Thu May 25 2017 - 15:36:32 EST


On Thu, May 25, 2017 at 11:50 AM, Manfred Spraul
<manfred@xxxxxxxxxxxxxxxx> wrote:
> The only users of ipc_alloc() were ipc_rcu_alloc() and the on-heap
> sem_io fall-back memory. Better to just open-code these to make things
> easier to read.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> [manfred@xxxxxxxxxxxxxxxx: Rediff due to inclusion of memset() into
> ipc_rcu_alloc().]

Oh! I see, the hunk snuck into this patch, rather that patch 3.

-Kees

--
Kees Cook
Pixel Security