Skip to content
Commit 22b72566 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

ns: Introduce ns type



We (may) have 3 types of namespace objects in criu -- criu's one,
root task's one and others. All of them sometimes make sense and
we differentiate them in a weird way -- by checking the ns->pid
field against getpid() or by comparing with root_item's.

The proposal is to mark ns_id objects explicitly with type field.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 1c34b284
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment