mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
03f5781be2
commit
68e8b849b2
7 changed files with 34 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue