]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/api_extensions.h
tree-wide: use lxc_drop_groups() instead of lxc_setgroups(0, NULL)
[mirror_lxc.git] / src / lxc / api_extensions.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2
3 #ifndef __LXC_API_EXTENSIONS_H
4 #define __LXC_API_EXTENSIONS_H
5
6 #include <stdio.h>
7 #include <stdlib.h>
8
9 #include "config.h"
10
11 /*
12 * api_extensions is the list of all API extensions in the order they were
13 * added.
14
15 The following kind of changes come with a new extensions:
16
17 - New public functions
18 - New configuration key
19 - New valid values for a configuration key
20 */
21 static char *api_extensions[] = {
22 "lxc_log",
23 "lxc_config_item_is_supported",
24 "console_log",
25 "reboot2",
26 "mount_injection",
27 "cgroup_relative",
28 "mount_injection_file",
29 "seccomp_allow_nesting",
30 "seccomp_notify",
31 "network_veth_routes",
32 "network_ipvlan",
33 "network_l2proxy",
34 "network_gateway_device_route",
35 "network_phys_macvlan_mtu",
36 "network_veth_router",
37 #ifdef HAVE_STRUCT_BPF_CGROUP_DEV_CTX
38 "cgroup2_devices",
39 #endif
40 "cgroup2",
41 "pidfd",
42 "cgroup_advanced_isolation",
43 "network_bridge_vlan",
44 "time_namespace",
45 "seccomp_allow_deny_syntax",
46 "devpts_fd",
47 "seccomp_notify_fd_active",
48 "seccomp_proxy_send_notify_fd",
49 };
50
51 static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
52
53 #endif /* __LXC_API_EXTENSIONS_H */