From: patchwork-bot+netdevbpf@kernel.org
To: None <cgel.zte@gmail.com>
Cc: kuba@kernel.org, davem@davemloft.net, yoshfuji@linux-ipv6.org,
dsahern@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, yang.yang29@zte.com.cn,
zealci@zte.com.cn
Subject: Re: [PATCH net-next] net: ipv4: add capability check for net administration
Date: Tue, 20 Jul 2021 14:20:05 +0000 [thread overview]
Message-ID: <162679080530.18101.12497587424613555058.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210720014328.378868-1-yang.yang29@zte.com.cn>
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
prev parent reply other threads:[~2021-07-20 14:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 1:43 cgel.zte
2021-07-20 14:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162679080530.18101.12497587424613555058.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=cgel.zte@gmail.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yang.yang29@zte.com.cn \
--cc=yoshfuji@linux-ipv6.org \
--cc=zealci@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome