2 Commits
Author SHA1 Message Date
Yossi Yadgar c9ae2c4191 test(libSceSystemService): check stderr after LoadExec on both exec paths
The re-executed image is told apart by an environment variable. With an argument list (fexecve) it sees argc 1 and the marker as argv[0]; with a null list (execv) it sees only its path.
2026-10-15 18:17:21 +03:00
Yossi Yadgar 67f08d9f27 test(libSceSystemService): check stderr after LoadExec of a redirected title
A forked child with stderr on a pipe moves the guest's descriptor 2 to a
second pipe with dup2, then starts itself again through
sceSystemServiceLoadExec("/app0/eboot.bin"). What the new image writes
to stderr must reach the first pipe and nothing the second. It fails
with the previous execv, where the text goes to the guest's pipe.
2026-10-15 18:13:12 +03:00