commit | 7058a2debe9c1b842b8788aea8cb1fc54765a0f3 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Mon Jan 29 08:41:34 2018 -0800 |
committer | Luis Hector Chavez <lhchavez@google.com> | Mon Jan 29 13:39:32 2018 -0800 |
tree | b48818d5c1bcb2e7af4a04a904bf4e394c73e2ce | |
parent | 4d2a81e57861d5fe89dd35d040ab0a21088896e8 [diff] |
Use rlim_t for the arguments in minijail_rlimit() This changes the type used to pass the value of the limit from uint32_t to rlim_t, which makes it possible to pass in RLIM_INFINITY in 64-bit environments. Bug: None Test: minijail_rlimit(j, RLIMIT_STACK, RLIM_INFINITY, RLIM_INFINITY); Change-Id: I6bbf956974c7f28a2e0bb8ad3efb4d25c5675593