2011-02-28 77 views

回答

1

只是

if (unshare(CLONE_NEWNET) < 0) { 
     fprintf(stderr, "Failed to create a new network namespace: %s\n", 
       strerror(errno)); 
     goto out; 
} 
相關問題