podman/pkg/sysinfo
Daniel J Walsh 118cf1fc63
Setup a reasonable default for pids-limit 4096
CRI-O defaults to 1024 for the maximum pids in a container.  Podman
should have a similar limit. Once we have a containers.conf, we can
set the limit in this file, and have it easily customizable.

Currently the documentation says that -1 sets pids-limit=max, but -1 fails.
This patch allows -1, but also indicates that 0 also sets the max pids limit.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-10-04 16:09:13 -04:00
..
numcpu.go Update vendor of runc 2019-01-04 14:54:59 -05:00
numcpu_linux.go Update vendor of runc 2019-01-04 14:54:59 -05:00
numcpu_windows.go Update vendor of runc 2019-01-04 14:54:59 -05:00
README.md Update vendor of runc 2019-01-04 14:54:59 -05:00
sysinfo.go Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
sysinfo_linux.go Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
sysinfo_linux_test.go Update vendor of runc 2019-01-04 14:54:59 -05:00
sysinfo_solaris.go Build cgo files with -Wall -Werror 2019-06-21 10:14:19 +02:00
sysinfo_test.go trivial cleanups from golang 2019-07-03 15:41:33 -05:00
sysinfo_unix.go Update vendor of runc 2019-01-04 14:54:59 -05:00
sysinfo_windows.go Update vendor of runc 2019-01-04 14:54:59 -05:00

SysInfo stores information about which features a kernel supports.