runc/namespaces/nsenter
Vishnu Kannan ae08910fde Enter cgroups as part of nsenter while using systemd.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-13 23:26:27 +00:00
..
README.md Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter.c Enter cgroups as part of nsenter while using systemd. 2014-08-13 23:26:27 +00:00
nsenter.go Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter_unsupported.go Add unsupported file for cross compile 2014-08-08 12:14:48 -07:00

README.md

nsenter

The nsenter package registers a special init constructor that is called before the Go runtime has a chance to boot. This provides us the ability to setns on existing namespaces and avoid the issues that the Go runtime has with multiple threads. This constructor is only called if this package is registered, imported, in your go application and the argv 0 is nsenter.