lkml.org 
[lkml]   [2021]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next] net: ipv4: add capability check for net administration
From
Date
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 19 Jul 2021 18:43:28 -0700 you wrote:
> From: Yang Yang <yang.yang29@zte.com.cn>
>
> Root in init user namespace can modify /proc/sys/net/ipv4/ip_forward
> without CAP_NET_ADMIN, this doesn't follow the principle of
> capabilities. For example, let's take a look at netdev_store(),
> root can't modify netdev attribute without CAP_NET_ADMIN.
> So let's keep the consistency of permission check logic.
>
> [...]

Here is the summary with links:
- [net-next] net: ipv4: add capability check for net administration
https://git.kernel.org/netdev/net-next/c/8292d7f6e871

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2021-07-20 16:28    [W:0.038 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site