mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
zdtm: Update netns purpose comment in zdtm_ct.
With the parasite socket clash now guaranteed not to happen, the comment becomes obsolete. netns is steel needed though, so update the comment to point at the requirement. Change-Id: I3cfb253cd5c53b91b955fcb001530b4aee5129f4 Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
9ad59f58ff
commit
7bda5e656c
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ int main(int argc, char **argv)
|
|||
/*
|
||||
* pidns is used to avoid conflicts
|
||||
* mntns is used to mount /proc
|
||||
* net is used to avoid conflicts of parasite sockets
|
||||
* net is used to avoid conflicts between network tests
|
||||
*/
|
||||
if (!uid)
|
||||
if (unshare(CLONE_NEWNS | CLONE_NEWPID | CLONE_NEWNET | CLONE_NEWIPC))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue