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

2013-05-29 Thread Ingo Molnar
* David Miller wrote: > From: Ingo Molnar > 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

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

2013-05-28 Thread David Miller
From: Ingo Molnar 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 oop

[PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg

2013-05-28 Thread Ingo Molnar
(edited the title to make sure everyone sees that this fix is standalone.) - Forwarded message from Andy Lutomirski - Date: Wed, 22 May 2013 14:07:44 -0700 From: Andy Lutomirski To: linux-kernel@vger.kernel.org Cc: x...@kernel.org, trin...@vger.kernel.org, Andy Lutomirski , net...@vge