зеркало из https://github.com/mozilla/gecko-dev.git
28fdbc26d8
Sandbox policies handle the case of `fstatat(fd, "", AT_EMPTY_PATH|...)` by invoking the SIGSYS handler (because seccomp-bpf can't tell if the string will be empty when the syscall would use it), which makes the equivalent call to `fstat`. Unfortunately, recent development versions of glibc implement `fstat` by calling `fstatat`, which causes unbounded recursion and stack overflow. (This depends on the headers present at build time; see the bug for more details.) This patch switches it to use the `fstat` (or `fstat64` on 32-bit) syscall directly. Differential Revision: https://phabricator.services.mozilla.com/D94798 |
||
---|---|---|
.. | ||
chromium | ||
chromium-shim | ||
common | ||
linux | ||
mac | ||
test | ||
win | ||
moz.build |