forked from mirrors/gecko-dev
Previously this was allowed only in content processes, but we've gained other process types over the years, and it's possible for libc realloc's mremap case to be reached in any process type (if less common in practice). This restricts the flags argument to contain at most `MREMAP_MAYMOVE`, to allow what dlmalloc descendants (glibc, bionic) use for `realloc`. Note that this does not affect normal builds, only ones which opt out of our own malloc implemtnation, typically in order to use some kind of memory instrumentation like valgrind. Differential Revision: https://phabricator.services.mozilla.com/D192028 |
||
|---|---|---|
| .. | ||
| certverifier | ||
| ct | ||
| mac/hardenedruntime | ||
| manager | ||
| nss | ||
| rlbox | ||
| sandbox | ||
| .eslintrc.js | ||
| generate_mapfile.py | ||
| moz.build | ||
| nss.symbols | ||