2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-27 04:18:27 +00:00

5 Commits

Author SHA1 Message Date
Cyrill Gorcunov
8d16e0d0e2 crit: Show CLONE_ flags in ns image
For better readability

 | {
 |     "magic": "NS",
 |     "entries": [
 |         {
 |             "id": 10,
 |             "ns_cflag": "CLONE_NEWPID"
 |         },
 |         {
 |             "id": 8,
 |             "ns_cflag": "CLONE_NEWNET"
 |         }
 |     ]
 | }

[xemul: Removed non-ns flags from map]

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2017-11-30 01:31:19 +03:00
Kirill Tkhai
c2a773cfeb proto: Add ns_entry description
New image format, generic for all namespaces.
Currently, it's for pid, net and user ns.

v4: Rename ns-hookup to ns.
    Make user_ns and parent generic.
v3: Move parent_id to pid and user ext

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-11-30 01:22:14 +03:00
Kirill Tkhai
a1d4cef08a images: Move uid_gid_extent and userns_entry descriptions
Move them into ns.proto file

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-11-30 01:22:14 +03:00
Sebastian Pipping
78ab4a548f Add missing "proto2" syntax marker
.. to address protobuf 3.x proto-c warnings

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-07-07 12:38:39 +03:00
Cyrill Gorcunov
594fb52753 build: Move @protobuf dir into @images
But keep @protobuf as a symlink: we have
this path encoded in sources. Gonna be
removed with time.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-15 15:32:27 +03:00