Searched refs:old_rlimit (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/sandbox/linux/services/ |
D | resource_limits.cc | 16 struct rlimit old_rlimit; in Lower() local 17 if (getrlimit(resource, &old_rlimit)) in Lower() 20 const struct rlimit new_rlimit = {std::min(old_rlimit.rlim_cur, limit), in Lower() 21 std::min(old_rlimit.rlim_max, limit)}; in Lower()
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 812 void *old_rlimit) { in INTERCEPTOR() argument 814 return REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR() 817 int res = REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR() 818 if (!res) __msan_unpoison(old_rlimit, __sanitizer::struct_rlimit_sz); in INTERCEPTOR() 823 void *old_rlimit) { in INTERCEPTOR() argument 825 return REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR() 828 int res = REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR() 829 if (!res) __msan_unpoison(old_rlimit, __sanitizer::struct_rlimit64_sz); in INTERCEPTOR()
|