Thread (5 messages) 5 messages, 3 authors, 21d ago

Re: [PATCH net-next v2 0/2] net: devmem: allow bind-rx from non-init user namespaces

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-06 01:30:15
Also in: linux-kselftest, lkml

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 02 Jun 2026 18:37:30 -0700 you wrote:
NETDEV_CMD_BIND_RX is GENL_ADMIN_PERM, which checks CAP_NET_ADMIN
against init_user_ns. With netkit and netns support for devmem, it is
now useful to let workloads holding CAP_NET_ADMIN only in their own
user_ns issue bind-rx for a netns owned by that user_ns.

The first patch switches the flag to GENL_UNS_ADMIN_PERM so the check
uses the target netns's owning user_ns. Init remains permitted.

[...]
Here is the summary with links:
  - [net-next,v2,1/2] net: devmem: allow bind-rx from non-init user namespaces
    https://git.kernel.org/netdev/net-next/c/e302aa3d00fb
  - [net-next,v2,2/2] selftests: drv-net: add userns devmem RX test
    https://git.kernel.org/netdev/net-next/c/78c1930198fc

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help