mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
568cd62fa1
Commit6905b72154treats all negative values as "max", citing cgroup v1 compatibility as a reason. In fact, in cgroup v1 only -1 is treated as "unlimited", and other negative values usually calse an error. Treat -1 as "max", pass other negative values as is (the error will be returned from the kernel). Fixes:6905b72154Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>