tcmalloc: Use indirect system calls in the mmap malloc hooks.
sys_{mmap|munmap|mremap}(...) calls are replaced with
syscall(SYS_{mmap|munmap|mremap}, ...), as the former are not allowed
by Chromium's sandbox.
BUG=724399,b:70905156
Change-Id: I04d87567a7c6194a0619140ffd5d4449c73a398b
Reviewed-on: https://chromium-review.googlesource.com/1130786Reviewed-by:
Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580904}
Showing
Please register or sign in to comment