api_extensions: introduce idmapped_mounts_v2 api extension

This indicates that LXC supports idmapping the rootfs and idmapped lxc.mount.entry entries. Link: https://github.com/lxc/lxd/issues/8870Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 8c89dd0c
......@@ -138,4 +138,9 @@ Whether the seccomp notify proxy sends a long a notify fd file descriptor.
## idmapped\_mounts
Whether this LXC instance can handle idmapped mounts.
Whether this LXC instance can handle idmapped mounts for the rootfs.
## idmapped\_mounts\_v2
Whether this LXC instance can handle idmapped mounts for lxc.mount.entry
entries.
......@@ -42,6 +42,7 @@ static char *api_extensions[] = {
"seccomp_notify_fd_active",
"seccomp_proxy_send_notify_fd",
"idmapped_mounts",
"idmapped_mounts_v2",
};
static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment