mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
Package the qualified title-specific resident service and start it through local elfldr before workers when no service is ready. Wait for preflight, verify SDK elevation and UID 0, and reuse the service on subsequent launches. Keep installed paths and offline fallback; no Payload Manager boot hook. Console evidence: evidence/lapy-autostart/capture.json and expectation.json. Reproduce with evidence/lapy-autostart/README.txt, then python3 tools/evidence.py compare evidence/. Verified on the base PS5: cold service startup, two authenticated achievement sessions, reuse of one service across three requests, and NetPlay relay join with 3837/3361 input packets and 52 matching state checks. Normal title exits; root counts 73/72 before each request. Resident service remains running. Installed binary hashes and unchanged Payload Manager configuration verified. Validation: 194 unit and 194 integration tests; format; all-target build with PS5_FRONTENDS='es-de picker' and the existing pinned build/picker-template; manifest/notices/source bundle checks; 127 evidence captures replayed. No secrets, saves or raw console captures included. No push.
11 lines
391 B
Diff
11 lines
391 B
Diff
--- a/source/owned_root_daemon.c
|
|
+++ b/source/owned_root_daemon.c
|
|
@@ -986,6 +986,7 @@
|
|
size_t thread_credential_offset = 0;
|
|
int error = 0, acknowledged = 0;
|
|
const char *stage = "preflight";
|
|
+ ps5log_set_mirror_fd(STDOUT_FILENO);
|
|
int logging_ready = ps5log_init_default("LAPYOWN", "lapy-owned-root-daemon") == 0;
|
|
#if !LAPY_ELF_HELPER
|
|
if (!logging_ready) return 2;
|