[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166622041796.8151.14904401756676019532.git-patchwork-notify@kernel.org>
Date: Wed, 19 Oct 2022 23:00:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netfilter-devel@...r.kernel.org, davem@...emloft.net,
netdev@...r.kernel.org, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com
Subject: Re: [PATCH net 1/2] netfilter: rpfilter/fib: Set ->flowic_uid correctly
for user namespaces.
Hello:
This series was applied to netdev/net.git (master)
by Pablo Neira Ayuso <pablo@...filter.org>:
On Wed, 19 Oct 2022 08:52:24 +0200 you wrote:
> From: Guillaume Nault <gnault@...hat.com>
>
> Currently netfilter's rpfilter and fib modules implicitely initialise
> ->flowic_uid with 0. This is normally the root UID. However, this isn't
> the case in user namespaces, where user ID 0 is mapped to a different
> kernel UID. By initialising ->flowic_uid with sock_net_uid(), we get
> the root UID of the user namespace, thus keeping the same behaviour
> whether or not we're running in a user namepspace.
>
> [...]
Here is the summary with links:
- [net,1/2] netfilter: rpfilter/fib: Set ->flowic_uid correctly for user namespaces.
https://git.kernel.org/netdev/net/c/1fcc064b305a
- [net,2/2] netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements
https://git.kernel.org/netdev/net/c/96df8360dbb4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists