mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 01:40:59 +00:00
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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.cpp | ||
| misc.cpp | ||
| misc.h | ||