summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-17 16:12:47 -0400
committerGitHub <noreply@github.com>2020-07-17 16:12:47 -0400
commit10c5f241231a55a90a37b9f578c84a6bb23ae33e (patch)
treec4cd71f522523cb9f5be4ebcb4b53ead7be74575 /libpod
parentdfca83d37cefdde966c8b770058a9b9fd5f8ed20 (diff)
parent65d382dc689805750c71756d9e43d04007ad4fd5 (diff)
downloadpodman-10c5f241231a55a90a37b9f578c84a6bb23ae33e.tar.gz
podman-10c5f241231a55a90a37b9f578c84a6bb23ae33e.tar.bz2
podman-10c5f241231a55a90a37b9f578c84a6bb23ae33e.zip
Merge pull request #7005 from giuseppe/set-umask-rlimits
abi: set default umask and rlimits
Diffstat (limited to 'libpod')
-rw-r--r--libpod/define/config.go3
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)