Re: [PATCH net-next v7 4/5] selinux: bpf: Add selinux check for eBPF syscall operations

From
James Morris <hidden>
Date
2017-10-20 00:58:08
Also in
linux-security-module, selinux
Reply to
Chenbo Feng, 2017-10-18
On Wed, 18 Oct 2017, Chenbo Feng wrote:
From: Chenbo Feng <redacted>

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 <redacted>
Acked-by: Alexei Starovoitov <ast@kernel.org>

Reviewed-by: James Morris <redacted>

-- 
James Morris
[off-list ref]
Thread (13 messages) 13 messages, 5 authors, last reply 2017-10-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help