]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/api_extensions.h
cgroups: use zalloc
[mirror_lxc.git] / src / lxc / api_extensions.h
index 55d5e9c96e7374ed4cafae402eb80840f7d16736..8267812726b3e2b6115c43ba7a018c4c03a86a18 100644 (file)
@@ -1,22 +1,4 @@
-/* liblxcapi
- *
- * Copyright © 2018 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2018 Canonical Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
-
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
-
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
+/* SPDX-License-Identifier: LGPL-2.1+ */
 
 #ifndef __LXC_API_EXTENSIONS_H
 #define __LXC_API_EXTENSIONS_H
@@ -24,6 +6,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "config.h"
+
 /*
  * api_extensions is the list of all API extensions in the order they were
  * added.
@@ -46,6 +30,22 @@ static char *api_extensions[] = {
        "seccomp_notify",
        "network_veth_routes",
        "network_ipvlan",
+       "network_l2proxy",
+       "network_gateway_device_route",
+       "network_phys_macvlan_mtu",
+       "network_veth_router",
+#ifdef HAVE_STRUCT_BPF_CGROUP_DEV_CTX
+       "cgroup2_devices",
+#endif
+       "cgroup2",
+       "pidfd",
+       "cgroup_advanced_isolation",
+       "network_bridge_vlan",
+       "time_namespace",
+       "seccomp_allow_deny_syntax",
+       "devpts_fd",
+       "seccomp_notify_fd_active",
+       "seccomp_proxy_send_notify_fd",
 };
 
 static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);