Bug 1286119 - Allow sys_mremap when jemalloc is disabled. r=gcp

MozReview-Commit-ID: FRVorDIIUVR
This commit is contained in:
Julian Hector 2016-07-12 18:24:54 +02:00
parent 6dbdc2284b
commit b23e6a33e4

View File

@ -574,8 +574,8 @@ public:
case __NR_mprotect:
case __NR_brk:
case __NR_madvise:
#if defined(ANDROID) && !defined(MOZ_MEMORY)
// Android's libc's realloc uses mremap.
#if !defined(MOZ_MEMORY)
// libc's realloc uses mremap (Bug 1286119).
case __NR_mremap:
#endif
return Allow();