runc/namespaces/nsenter
Daniel, Dao Quang Minh 5a87153824 fix TestNsenterAlivePid
unblock the nsenter-exec test process to let it finish succesfully

Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
2015-01-16 05:13:19 -05:00
..
README.md Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter.c nit: reindent with indent -linux 2015-01-16 04:58:30 -05:00
nsenter.go Move nsenter code into separate package 2014-08-08 10:42:19 -07:00
nsenter_test.go fix TestNsenterAlivePid 2015-01-16 05:13:19 -05: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.