diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2018-05-02 13:01:22 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-05-04 00:55:23 +0200 |
commit | 68e8b849b221b37a78a110a0307717d45e3593a0 (patch) | |
tree | 04ca27d48c5f82bbcdfb2fa498297b8313aac82d /security/selinux/include/classmap.h | |
parent | bpf, x86_32: add eBPF JIT compiler for ia32 (diff) | |
download | linux-68e8b849b221b37a78a110a0307717d45e3593a0.tar.xz linux-68e8b849b221b37a78a110a0307717d45e3593a0.zip |
net: initial AF_XDP skeleton
Buildable skeleton of AF_XDP without any functionality. Just what it
takes to register a new address family.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'security/selinux/include/classmap.h')
-rw-r--r-- | security/selinux/include/classmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 7f0372426494..bd5fe0d3204a 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -240,9 +240,11 @@ struct security_class_mapping secclass_map[] = { { "manage_subnet", NULL } }, { "bpf", {"map_create", "map_read", "map_write", "prog_load", "prog_run"} }, + { "xdp_socket", + { COMMON_SOCK_PERMS, NULL } }, { NULL } }; -#if PF_MAX > 44 +#if PF_MAX > 45 #error New address family defined, please update secclass_map. #endif |