runc/namespaces/nsenter
Michael Crosby fc05554fdb Allow comparison based on strlen of "nsenter"
Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-08 15:44:18 -07:00
..
README.md Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter.c Allow comparison based on strlen of "nsenter" 2014-08-08 15:44:18 -07: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.