diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-07-17 13:58:22 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-07-17 20:53:38 +0200 |
commit | 65d382dc689805750c71756d9e43d04007ad4fd5 (patch) | |
tree | c4cd71f522523cb9f5be4ebcb4b53ead7be74575 /libpod | |
parent | dfca83d37cefdde966c8b770058a9b9fd5f8ed20 (diff) | |
download | podman-65d382dc689805750c71756d9e43d04007ad4fd5.tar.gz podman-65d382dc689805750c71756d9e43d04007ad4fd5.tar.bz2 podman-65d382dc689805750c71756d9e43d04007ad4fd5.zip |
abi: set default umask and rlimits
the code got lost in the migration to podman 2.0, reintroduce it.
Closes: https://github.com/containers/podman/issues/6989
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/define/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/define/config.go b/libpod/define/config.go index c43601554..64b24d9e2 100644 --- a/libpod/define/config.go +++ b/libpod/define/config.go @@ -82,3 +82,6 @@ const ( SdNotifyModeConmon = "conmon" SdNotifyModeIgnore = "ignore" ) + +// DefaultRlimitValue is the value set by default for nofile and nproc +const RLimitDefaultValue = uint64(1048576) |