Codebase list python-unshare / 170df483-e725-4528-af7c-906ad9556d7b/main README.md
170df483-e725-4528-af7c-906ad9556d7b/main

Tree @170df483-e725-4528-af7c-906ad9556d7b/main (Download .tar.gz)

README.md @170df483-e725-4528-af7c-906ad9556d7b/main

3bb32e0
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
This simple extension provides bindings to the Linux `unshare()` syscall, added in kernel version 2.6.16

By using `unshare()`, new and interesting features of the Linux kernel can be exploited, such as:

 * Creating a new network name space (`CLONE_NEWNET`)
 * Creating a new file system mount name space (`CLONE_NEWNS`)
 * Reverting other features shared from `clone()`

This library provides an equivalent of the (recently added) util-linux command-line program `unshare`.