mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
10843a73b7
Making readlink() always fail with EINVAL (the result of applying it to a non-symlink) worked on B2G, but this is not the case on desktop. (Note: originally the idea for the B2G file broker was that it would ignore symlinks and map lstat to stat, so that behavior for readlink would have been consistent, but as eventually implemented it does do lstat as actual lstat.) In particular, this seems to be causing something in the graphics library stack to change what GL renderer it uses (?), and on some systems the presence of the readlink->EINVAL rule causes it to load a version of the llvmpipe software renderer with a crash bug, instead of (we assume) some other driver that works. |
||
---|---|---|
.. | ||
broker | ||
common | ||
glue | ||
gtest | ||
LinuxCapabilities.cpp | ||
LinuxCapabilities.h | ||
moz.build | ||
Sandbox.cpp | ||
Sandbox.h | ||
SandboxBrokerClient.cpp | ||
SandboxBrokerClient.h | ||
SandboxChroot.cpp | ||
SandboxChroot.h | ||
SandboxFilter.cpp | ||
SandboxFilter.h | ||
SandboxFilterUtil.cpp | ||
SandboxFilterUtil.h | ||
SandboxHooks.cpp | ||
SandboxInternal.h | ||
SandboxLogging.cpp | ||
SandboxLogging.h | ||
SandboxUtil.cpp | ||
SandboxUtil.h |