summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-03-04 18:25:57 -0800
committerElliott Hughes <enh@google.com>2016-03-04 18:28:53 -0800
commitd2b8de2cd16ecd86c830d98c58bcf392475bd0b3 (patch)
treeebd7f6cc626c63e3db8fbdb9dc3a6a8858922655 /libc/malloc_debug/malloc_debug.cpp
parentc4d2bede1592dd82dce9bfc6ebecdc414a79490b (diff)
Don't call clock_getres in sysconf.
There are a hundred other reasons why we can't run on kernels old enough to not have all the clocks covered by sysconf. This was causing trouble for jemalloc 4.1.0 in a seccomp-constrained process because jemalloc 4.1.0 introduced a call to sysconf that caused us to make clock_getres syscalls for the first time, leading to SIGSYS. Bug: http://b/27408522 Change-Id: I2eb6986d871bc03cbef278e5617734409c39e057
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions