ladybird/Userland/DynamicLoader
Liav A a8601b4ac7 DynamicLoader: Make heuristic for running directly actually correct
When we run directly the dynamic loader, we shouldn't rely on the passed
program path to be run, but rather on whether the main program fd number
is not -1, because the kernel will set it to a non-negative number if it
exists.

To test that the heuristic is working correctly, the /usr/lib/Loader.so
file can be copied to /tmp/Loader.so and then be invoked from that path.
2023-11-27 09:27:34 -07:00
..
CMakeLists.txt CMake: Use CMAKE_POSITION_INDEPENDENT_CODE instead of explicit -fpic 2023-09-18 10:26:42 +02:00
main.cpp DynamicLoader: Make heuristic for running directly actually correct 2023-11-27 09:27:34 -07:00
misc.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
misc.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00