Home
last modified time | relevance | path

Searched refs:new_rlimit (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dresource_limits.cc20 const struct rlimit new_rlimit = {std::min(old_rlimit.rlim_cur, limit), in Lower() local
22 int rc = setrlimit(resource, &new_rlimit); in Lower()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc811 INTERCEPTOR(int, prlimit, int pid, int resource, void *new_rlimit, in INTERCEPTOR() argument
814 return REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
816 CHECK_UNPOISONED(new_rlimit, __sanitizer::struct_rlimit_sz); in INTERCEPTOR()
817 int res = REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
822 INTERCEPTOR(int, prlimit64, int pid, int resource, void *new_rlimit, in INTERCEPTOR() argument
825 return REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
827 CHECK_UNPOISONED(new_rlimit, __sanitizer::struct_rlimit64_sz); in INTERCEPTOR()
828 int res = REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()