Python wrapper for setns Linux syscall.


Keywords
linux, kernel, namespace, setns, linux-app, linux-kernel, python, python3, syscall
License
MIT
Install
pip install pysetns==0.2.0

Documentation

pysetns

pypi downloads license

build upload docs

pysetns - is a Python wrapper for the Linux setns system call.
See the manpage for an introduction to setns and namespaces.

To detail see the documentation

IMPORTANT!

setns required execution from ROOT!

Requirements

  • Linux 3.0+
  • Python 3

Installing

Using PIP

$ pip install pysetns

From sources

$ git clone https://github.com/baskiton/pysetns.git
$ cd pysetns
$ python setup.py install

Usage

See examples