mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
aa45dbd37c
The fork server replaces the process's `argv` and `environ` with heap-allocated strings received over IPC; if those strings are later unlinked from those vectors, they will be seen as leaked. Also, we have an implementation of `setproctitle` (a BSD feature that has to be emulated somewhat hackily on Linux) which copies the process's original `argv` and `environ` strings into the heap so the original space can be reused; this can also cause (finite) leaks when those strings are later discarded. Given that we already tell Valgrind to ignore leaks caused by use of `setenv` and similar, this patch likewise suppresses those leaks. Differential Revision: https://phabricator.services.mozilla.com/D201190 |
||
---|---|---|
.. | ||
__init__.py | ||
cross-architecture.sup | ||
i386-pc-linux-gnu.sup | ||
mach_commands.py | ||
output_handler.py | ||
x86_64-pc-linux-gnu.sup |