Re: [PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg andrecv(m)msg

From: Ingo Molnar
Date: Wed May 29 2013 - 04:11:59 EST



* David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Ingo Molnar <mingo@xxxxxxxxxx>
> Date: Tue, 28 May 2013 10:56:00 +0200
>
> > MSG_CMSG_COMPAT is (AFAIK) not intended to be part of the API --
> > it's a hack that steals a bit to indicate to other networking code
> > that a compat entry was used. So don't allow it from a non-compat
> > syscall.
> >
> > This prevents an oops when running this code:
> ...
> > Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> > Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
>
> Applied and queued up for -stable.

Thanks David!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/