2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

ns: Add MAX_NS_NESTING

It's maximum number of levels of namespaces found in linux kernel.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
This commit is contained in:
Kirill Tkhai
2017-04-10 11:19:11 +03:00
committed by Andrei Vagin
parent 0ee26a863d
commit 749da7a973

View File

@@ -42,6 +42,7 @@
/* Nested namespaces are supported only for these types */
#define CLONE_SUBNS (CLONE_NEWNS | CLONE_NEWNET | CLONE_NEWUSER)
#define MAX_NS_NESTING 32
#define EXTRA_SIZE 20
#ifndef NSIO