Bug 1047620 - Fix sandboxing for B2G --disable-jemalloc builds. r=kang

--HG--
extra : rebase_source : 1b2ec6491277a9dc451ab767d8563076cf522c27
This commit is contained in:
Jed Davis 2014-08-04 15:11:33 -07:00
parent 4d6ff2569b
commit 604cceb286

View File

@ -191,6 +191,11 @@ SandboxFilterImplContent::Build() {
Allow(SYSCALL(fsync));
Allow(SYSCALL(msync));
#if defined(ANDROID) && !defined(MOZ_MEMORY)
// Android's libc's realloc uses mremap.
Allow(SYSCALL(mremap));
#endif
/* Should remove all of the following in the future, if possible */
Allow(SYSCALL(getpriority));
Allow(SYSCALL(sched_get_priority_min));