[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150416.142135.1372448954643242617.davem@davemloft.net>
Date: Thu, 16 Apr 2015 14:21:35 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: jmorris@...ei.org, nicolas.dichtel@...nd.com,
netdev@...r.kernel.org, ebiederm@...ssion.com,
linux-security-module@...r.kernel.org, tgraf@...g.ch,
fbl@...close.org
Subject: Re: Revert "net: Reset secmark when scrubbing packet"
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 16 Apr 2015 16:12:53 +0800
> On Thu, Apr 16, 2015 at 05:02:15PM +1000, James Morris wrote:
>>
>> They don't support namespaces, and maintaining the label is critical for
>> SELinux, at least, which mediates security for the system as a whole.
>
> Thanks for the confirmation James, I thought this looked a bit
> dodgy :)
>
> ---8<---
> This patch reverts commit b8fb4e0648a2ab3734140342002f68fb0c7d1602
> because the secmark must be preserved even when a packet crosses
> namespace boundaries. The reason is that security labels apply to
> the system as a whole and is not per-namespace.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied and queued up for -stable.
--
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