summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/context.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-06-10 16:28:20 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-10 16:30:06 -0700
commit41d9e536d559a2066ed6c92ed30aa2757d3596bb (patch)
treeb91238f6ec5a01ded851636cfcfc13454767e10c /pkg/sentry/kernel/context.go
parent9338854ea31059d6b6b5bf59a12512455b632f49 (diff)
Skip pids.max if value is zero
LinuxPids.Limit is the only optional cgroup field in OCI that is not a pointer. If value is 0 or negative it should be skipped. PiperOrigin-RevId: 315791909
Diffstat (limited to 'pkg/sentry/kernel/context.go')
0 files changed, 0 insertions, 0 deletions