Skip to content

Python bindings for the new Linux unshare() syscall

License

Notifications You must be signed in to change notification settings

AndersBlomdell/python-unshare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python bindings for the new Linux unshare() syscall

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 74.6%
  • Python 23.3%
  • Shell 2.1%