bump c/common to v0.44.0

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2021-09-13 18:48:48 +02:00
parent 0f3d3bd21d
commit b0cbcd1d09
65 changed files with 5257 additions and 4151 deletions

View File

@ -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