diff options
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[] = { | |||
240 | { "manage_subnet", NULL } }, | 240 | { "manage_subnet", NULL } }, |
241 | { "bpf", | 241 | { "bpf", |
242 | {"map_create", "map_read", "map_write", "prog_load", "prog_run"} }, | 242 | {"map_create", "map_read", "map_write", "prog_load", "prog_run"} }, |
243 | { "xdp_socket", | ||
244 | { COMMON_SOCK_PERMS, NULL } }, | ||
243 | { NULL } | 245 | { NULL } |
244 | }; | 246 | }; |
245 | 247 | ||
246 | #if PF_MAX > 44 | 248 | #if PF_MAX > 45 |
247 | #error New address family defined, please update secclass_map. | 249 | #error New address family defined, please update secclass_map. |
248 | #endif | 250 | #endif |