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

13 lines
159 B
Go

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