Files
Mihawk 4ca549b05f network: record console privilege and socket-mode comparison
On the base PS5, the same early-main RetroArch process fails F_SETFL with
EACCES before connect; after cooperative Lapy elevation both socket APIs
connect to both RetroAchievements endpoints with SO_ERROR=0. Record the
credential change, lost /app0 access, balanced daemon teardown, unresolved
LAN listener timeout, old-SDK startup failure and exact original restoration.
PS5SX2 comparison is source-based as requested; no production elevation.

Evidence: evidence/network-elevation/capture.json and expectation.json.
Console commands: python3 build/network-elevation/run.py baseline;
python3 build/network-elevation/run.py elevate (preparation and restoration
in evidence/network-elevation/README.txt; exact probe sources included).
Validation: bash tools/verify.sh PASS: 192 unit, 192 integration, PS5 build,
122 captures. Replay: python3 tools/evidence.py compare evidence/.
2026-10-10 08:37:33 -04:00

15 lines
467 B
Diff

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -322,8 +322,11 @@
}
} // namespace
+#include "../build/network-elevation/probe.hpp"
+
int main(int process_argc, char **process_argv)
{
+ if (network_elevation_probe()) return 0;
/* A session's trace is its own (src/frontend_mode_ps5.cpp): a launch from the home
* screen keeps the last session's as trace.1.txt before this one writes a line. */
ps5_frontend_session_logs(process_argc, process_argv);