[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130528.235628.1501314742626907861.davem@davemloft.net>
Date: Tue, 28 May 2013 23:56:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mingo@...nel.org
Cc: luto@...capital.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
trinity@...r.kernel.org
Subject: Re: [PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg and
recv(m)msg
From: Ingo Molnar <mingo@...nel.org>
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@...emloft.net>
> Signed-off-by: Andy Lutomirski <luto@...capital.net>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists