[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110802.050115.1714327089688495866.davem@davemloft.net>
Date: Tue, 02 Aug 2011 05:01:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: penguin-kernel@...ove.SAKURA.ne.jp
Cc: eparis@...isplace.org, anton@...ba.org, casey@...aufler-ca.com,
mjt@....msk.ru, netdev@...r.kernel.org,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH] net: Fix security_socket_sendmsg() bypass problem.
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Date: Tue, 2 Aug 2011 20:52:05 +0900
> David Miller wrote:
>> Actually, I change my mind. :-)
>>
>> I think sendmmsg() needs to unconditionally not report an error if any
>> datagrams were sent successfully.
>
> What about adding
I much prefer to make the error handling more correct, rather than
making sendmmsg() have fundamentally different semantics depending
upon the underlying LSM.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists