[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.20.1710201157130.11454@t440.gateway.2wire.net>
Date: Fri, 20 Oct 2017 11:57:38 +1100 (AEDT)
From: James Morris <james.l.morris@...cle.com>
To: Chenbo Feng <chenbofeng.kernel@...il.com>
cc: netdev@...r.kernel.org, SELinux <Selinux@...ho.nsa.gov>,
linux-security-module@...r.kernel.org,
Jeffrey Vander Stoep <jeffv@...gle.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
lorenzo@...gle.com, Daniel Borkmann <daniel@...earbox.net>,
Stephen Smalley <sds@...ho.nsa.gov>,
Paul Moore <paul@...l-moore.com>,
Chenbo Feng <fengc@...gle.com>
Subject: Re: [PATCH net-next v7 4/5] selinux: bpf: Add selinux check for eBPF
syscall operations
On Wed, 18 Oct 2017, Chenbo Feng wrote:
> From: Chenbo Feng <fengc@...gle.com>
>
> Implement the actual checks introduced to eBPF related syscalls. This
> implementation use the security field inside bpf object to store a sid that
> identify the bpf object. And when processes try to access the object,
> selinux will check if processes have the right privileges. The creation
> of eBPF object are also checked at the general bpf check hook and new
> cmd introduced to eBPF domain can also be checked there.
>
> Signed-off-by: Chenbo Feng <fengc@...gle.com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
Reviewed-by: James Morris <james.l.morris@...cle.com>
--
James Morris
<james.l.morris@...cle.com>
Powered by blists - more mailing lists