runc/nsenter
Vincent Batts 699429e60f nsenter: noop reference to C constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65134
Workaround suggested by iant

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-02-21 09:56:46 -05:00
..
README.md Remove namespaces package 2015-02-02 15:41:32 -08:00
nsenter.go nsenter: noop reference to C constructor 2015-02-21 09:56:46 -05:00
nsenter_test.go Remove namespaces package 2015-02-02 15:41:32 -08:00
nsenter_unsupported.go Remove namespaces package 2015-02-02 15:41:32 -08:00
nsexec.c Refactor init actions into separate types 2015-02-11 11:20:08 -08: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.