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

James Morris james.l.morris at oracle.com
Fri Oct 20 00:57:38 UTC 2017


On Wed, 18 Oct 2017, Chenbo Feng wrote:

> From: Chenbo Feng <fengc at google.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 at google.com>
> Acked-by: Alexei Starovoitov <ast at kernel.org>


Reviewed-by: James Morris <james.l.morris at oracle.com>

-- 
James Morris
<james.l.morris at oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list