Back to front pageView on Hacker News (opens in a new tab)Show HN: Porting OpenBSD Pledge() to Linux (opens in a new tab)justine.lol571 pointsby jart (on Hacker News)4 years agoComments (128) 39 threadsShow all commentsShowing thread 19 of 39[-]fullstop4 years ago1 reply#This seems (somewhat) similar to unshare. [1] [2]1. https://manpages.ubuntu.com/manpages/jammy/man1/unshare.1.ht...2. https://manpages.ubuntu.com/manpages/jammy/en/man2/unshare.2...btdmaster4 years ago#It seems you can disable[0] networking with `unshare --map-root-user --net`.[0] I don't think it's meant to disable it, I just know too little about namespaces to appreciate how you would unshare a new network namespace and have it keep working.
Show HN: Porting OpenBSD Pledge() to Linux (opens in a new tab)justine.lol571 pointsby jart (on Hacker News)4 years ago
fullstop4 years ago1 reply#This seems (somewhat) similar to unshare. [1] [2]1. https://manpages.ubuntu.com/manpages/jammy/man1/unshare.1.ht...2. https://manpages.ubuntu.com/manpages/jammy/en/man2/unshare.2...
btdmaster4 years ago#It seems you can disable[0] networking with `unshare --map-root-user --net`.[0] I don't think it's meant to disable it, I just know too little about namespaces to appreciate how you would unshare a new network namespace and have it keep working.
Comments (128) 39 threads
Show all comments
Showing thread 19 of 39
1. https://manpages.ubuntu.com/manpages/jammy/man1/unshare.1.ht...
2. https://manpages.ubuntu.com/manpages/jammy/en/man2/unshare.2...
[0] I don't think it's meant to disable it, I just know too little about namespaces to appreciate how you would unshare a new network namespace and have it keep working.