runc/namespaces/nsenter
Vishnu Kannan 4c6df516ae Set child sub reaper option on nsenter to help cleanup all processes orphaned via ExecIn.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-11-19 20:14:20 +00:00
..
README.md Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter.c Set child sub reaper option on nsenter to help cleanup all processes orphaned via ExecIn. 2014-11-19 20:14:20 +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.