github.com/opencontainers/runc@v1.2.0-rc.1.0.20240520010911-492dc558cdd6/libcontainer/nsenter/nsenter.go (about)

     1  //go:build linux && !gccgo
     2  // +build linux,!gccgo
     3  
     4  package nsenter
     5  
     6  /*
     7  #cgo CFLAGS: -Wall
     8  extern void nsexec();
     9  void __attribute__((constructor)) init(void) {
    10  	nsexec();
    11  }
    12  */
    13  import "C"