mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
This silences all of the "should have a package comment" lint warnings from golangci-lint. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
18 lines
468 B
Go
18 lines
468 B
Go
//go:build linux && !gccgo
|
|
|
|
// Package nsenter implements the namespace creation and joining logic of runc.
|
|
//
|
|
// This package registers a special CGo constructor that will run before the Go
|
|
// runtime boots in order to provide a mechanism for runc to operate on
|
|
// namespaces that require single-threaded program execution to work.
|
|
package nsenter
|
|
|
|
/*
|
|
#cgo CFLAGS: -Wall
|
|
extern void nsexec();
|
|
void __attribute__((constructor)) init(void) {
|
|
nsexec();
|
|
}
|
|
*/
|
|
import "C"
|