Re: [PATCH net 1/2] netfilter: rpfilter/fib: Set ->flowic_uid correctly for user namespaces.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to netdev/net.git (master)
by Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>:

On Wed, 19 Oct 2022 08:52:24 +0200 you wrote:
> From: Guillaume Nault <gnault@xxxxxxxxxx>
> 
> 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





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux