unshare
pip3 install unshare
Python extension for C's unshare call.
See man 2 unshare.
Note: This is targeted for only Linux based platforms.
Usage
unshare(flags) where supported flags are CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWUSER, CLONE_NEWIPC, CLONE_NEWNET, CLONE_THREAD.
Multiple flags can be used using the bitwise or operator.
Example usage
import unshare
unshare.unshare(unshare.CLONE_NEWUTS)
The following screenshot is taken from a sample script which uses the unshare library.
License
This project is licensed under GPLv3.
Metadata
Release files for unshare 0.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| unshare-0.22.tar.gz | 2.0 kB | Without provenance | Details |
Security for unshare 0.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.