summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-01-10 16:44:40 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-01-10 17:43:58 +0100
commita2c1a2df54f3660cdb49022fee1eae4a968c279a (patch)
tree7bece76b13c5bf80d456f959404d2f6eb41523f5 /libpod
parent0f6535cf6b4bfac265983c2fdd3482310ab4f39b (diff)
downloadpodman-a2c1a2df54f3660cdb49022fee1eae4a968c279a.tar.gz
podman-a2c1a2df54f3660cdb49022fee1eae4a968c279a.tar.bz2
podman-a2c1a2df54f3660cdb49022fee1eae4a968c279a.zip
podman: bump RLIMIT_NOFILE also without CAP_SYS_RESOURCE
If we are not able to make arbitrary changes to the RLIMIT_NOFILE when lacking CAP_SYS_RESOURCE, don't fail but bump the limit to the maximum allowed. In this way the same code path works with rootless mode. Closes: https://github.com/containers/libpod/issues/2123 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_easyjson.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_easyjson.go b/libpod/container_easyjson.go
index f1cb09bcc..50741df11 100644
--- a/libpod/container_easyjson.go
+++ b/libpod/container_easyjson.go
@@ -1,6 +1,6 @@
// +build seccomp ostree selinux varlink exclude_graphdriver_devicemapper
-// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT
+// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT.
package libpod