summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-08-22 14:55:56 -0700
committerTom Cherry <tomcherry@google.com>2018-08-22 15:07:53 -0700
commitab434c70ce0d61baed87daf7584585a36475ab19 (patch)
treefac29dc7bd0f37aa93d3b7a1c68bf909d0a5d18c /trusty/coverage/coverage.cpp
parent8e3f0b1b2a0866ef1d5c1ae7f832617ca87f6d84 (diff)
init: accept -1 or 'unlimited' for an infinite rlimit
Due to a bug with ParseUint(), init would defacto accept -1 for an infinite rlimit, but only on 64bit devices. That bug is now fixed, such that -1 would be rejected by ParseUint() for all devices. This change explicitly checks for -1 for all devices or 'unlimited' to match ulimit's reporting and accepts either as an infinite rlimit. Bug: 112668205 Test: new (and old) unit tests Change-Id: Ie28ff622cdf375a65ceb5f32ffb14fb3d5d9f2ba
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions