[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170602.142508.34027526876686323.davem@davemloft.net>
Date: Fri, 02 Jun 2017 14:25:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: chenbofeng.kernel@...il.com
Cc: netdev@...r.kernel.org, lorenzo@...gle.com, fengc@...gle.com
Subject: Re: [PATCH net-next v2 2/2] bpf: Remove the capability check for
cgroup skb eBPF program
From: Chenbo Feng <chenbofeng.kernel@...il.com>
Date: Wed, 31 May 2017 18:16:00 -0700
> From: Chenbo Feng <fengc@...gle.com>
>
> Currently loading a cgroup skb eBPF program require a CAP_SYS_ADMIN
> capability while attaching the program to a cgroup only requires the
> user have CAP_NET_ADMIN privilege. We can escape the capability
> check when load the program just like socket filter program to make
> the capability requirement consistent.
>
> Change since v1:
> Change the code style in order to be compliant with checkpatch.pl
> preference
>
> Signed-off-by: Chenbo Feng <fengc@...gle.com>
Applied.
Powered by blists - more mailing lists