Files
virtual-kubelet/vendor/github.com/opencontainers/runc/libcontainer/setgroups_linux.go
Robbie Zhang 77d0687688 Update the vendor folder (#53)
* Update the vendor folder

* Update the Gopkg.lock by running dep ensure
2018-01-05 11:22:17 -08:00

12 lines
293 B
Go

// +build linux,go1.5
package libcontainer
import "syscall"
// Set the GidMappingsEnableSetgroups member to true, so the process's
// setgroups proc entry wont be set to 'deny' if GidMappings are set
func enableSetgroups(sys *syscall.SysProcAttr) {
sys.GidMappingsEnableSetgroups = true
}