mirror of
https://github.com/containers/podman.git
synced 2025-11-02 23:39:52 +08:00
bump c/common to v0.44.0
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
6
vendor/github.com/containers/common/pkg/config/default_linux.go
generated
vendored
@ -13,6 +13,12 @@ const (
|
||||
oldMaxSize = uint64(1048576)
|
||||
)
|
||||
|
||||
// getDefaultRootlessNetwork returns the default rootless network configuration.
|
||||
// It is "slirp4netns" for Linux.
|
||||
func getDefaultRootlessNetwork() string {
|
||||
return "slirp4netns"
|
||||
}
|
||||
|
||||
// getDefaultProcessLimits returns the nproc for the current process in ulimits format
|
||||
// Note that nfile sometimes cannot be set to unlimited, and the limit is hardcoded
|
||||
// to (oldMaxSize) 1048576 (2^20), see: http://stackoverflow.com/a/1213069/1811501
|
||||
|
||||
Reference in New Issue
Block a user