k3s/vendor/github.com/opencontainers/runc/libcontainer/nsenter/nsenter.go

13 lines
159 B
Go
Raw Normal View History

2019-01-12 04:58:27 +00:00
// +build linux,!gccgo
package nsenter
/*
#cgo CFLAGS: -Wall
extern void nsexec();
void __attribute__((constructor)) init(void) {
nsexec();
}
*/
import "C"