Re: [PATCH net] ipvlan: disallow userns cap_net_admin to change global mode/flags

2019-02-22 Thread David Miller
From: Daniel Borkmann Date: Wed, 20 Feb 2019 00:15:30 +0100 > When running Docker with userns isolation e.g. --userns-remap="default" > and spawning up some containers with CAP_NET_ADMIN under this realm, I > noticed that link changes on ipvlan slave device inside that container > can affect all

Re: [PATCH net] ipvlan: disallow userns cap_net_admin to change global mode/flags

2019-02-20 Thread महेश बंडेवार
On Tue, Feb 19, 2019 at 3:38 PM Daniel Borkmann wrote: > > When running Docker with userns isolation e.g. --userns-remap="default" > and spawning up some containers with CAP_NET_ADMIN under this realm, I > noticed that link changes on ipvlan slave device inside that container > can affect all devi

[PATCH net] ipvlan: disallow userns cap_net_admin to change global mode/flags

2019-02-19 Thread Daniel Borkmann
When running Docker with userns isolation e.g. --userns-remap="default" and spawning up some containers with CAP_NET_ADMIN under this realm, I noticed that link changes on ipvlan slave device inside that container can affect all devices from this ipvlan group which are in other net namespaces where