Re: [PATCH] signals: Move put_compat_sigset to compat.h to silence hardened usercopy

James Hogan
2018-03-02T21:40:06Z

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

On Mon, Feb 19, 2018 at 03:55:27PM -0800, Kees Cook wrote:
> On Mon, Feb 19, 2018 at 8:55 AM, Matt Redfearn <matt.redfearn@mips.com> wrote:
> > Move put_compat_sigset to compat.h, and mark it static inline. This
> > fixes the WARN on MIPS.
> >
> > Fixes: afcc90f8621e ("usercopy: WARN() on slab cache usercopy region violations")
> > Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
>
> Thanks for the catch and fix!
>
> Acked-by: Kees Cook <keescook@chromium.org>

Thanks Kees. I've applied this on the assumption nobody objects to it
going via the MIPS tree.

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]