mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1286119 - Allow sys_mremap when jemalloc is disabled. r=gcp
MozReview-Commit-ID: FRVorDIIUVR
This commit is contained in:
parent
6dbdc2284b
commit
b23e6a33e4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user