Re: [PATCH net-next v7 3/5] security: bpf: Add LSM hooks for bpf object related syscall

From
James Morris <hidden>
Date
2017-10-20 00:54:57
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>

Introduce several LSM hooks for the syscalls that will allow the
userspace to access to eBPF object such as eBPF programs and eBPF maps.
The security check is aimed to enforce a per object security protection
for eBPF object so only processes with the right priviliges can
read/write to a specific map or use a specific eBPF program. Besides
that, a general security hook is added before the multiplexer of bpf
syscall to check the cmd and the attribute used for the command. The
actual security module can decide which command need to be checked and
how the cmd should be checked.

Signed-off-by: Chenbo Feng <redacted>

Acked-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