mirror of
https://github.com/rancher/os.git
synced 2025-09-02 07:15:41 +00:00
move dependencies to vendor
This commit is contained in:
13
vendor/github.com/opencontainers/runc/libcontainer/container_nouserns_linux.go
generated
vendored
Normal file
13
vendor/github.com/opencontainers/runc/libcontainer/container_nouserns_linux.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// +build !go1.4
|
||||
|
||||
package libcontainer
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// not available before go 1.4
|
||||
func (c *linuxContainer) addUidGidMappings(sys *syscall.SysProcAttr) error {
|
||||
return fmt.Errorf("User namespace is not supported in golang < 1.4")
|
||||
}
|
Reference in New Issue
Block a user