Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
unshare()を使用して、clone()Linux で多数のネットワーク名前空間を作成する方法は?
unshare()
clone()
ただ
if (unshare(CLONE_NEWNET) < 0) { fprintf(stderr, "Failed to create a new network namespace: %s\n", strerror(errno)); goto out; }