Commit Graph
1033 Commits
Author SHA1 Message Date
Kurt Himebauch 68a3fa1d52 fix(handoff): fork records by pid, a gone thread's children go to the main one 2026-11-28 06:29:59 -05:00
Kurt Himebauch f1dd51f0aa fix(handoff): watch the forking parent through a pidfd opened at start 2026-11-28 06:20:33 -05:00
Kurt Himebauch 1b8187c94a fix(handoff): one-word fork records, changed only by compare-and-swap 2026-11-28 05:29:43 -05:00
Kurt Himebauch 60175ec3ec fix(handoff): a parent /proc cannot read is checked with kill(), then given up 2026-11-28 05:20:49 -05:00
Kurt Himebauch 9463765104 fix(handoff): a child whose forking thread ended is any thread's 2026-11-28 05:17:49 -05:00
Kurt Himebauch a77abf3293 fix(handoff): controlling-terminal check via /dev/tty, owned records only 2026-11-28 05:13:51 -05:00
Kurt Himebauch 3e0e13468e fix(handoff): the thread selector applies to claims in progress too 2026-11-28 04:56:43 -05:00
Kurt Himebauch 3754f505f4 fix(handoff): keep a child's forking thread until its end is taken 2026-11-28 04:54:21 -05:00
Kurt Himebauch 98663031ca fix(handoff): a wait that finds no child rechecks live handoffs 2026-11-28 04:45:49 -05:00
Kurt Himebauch b581fc8bdc fix(handoff): keep the forking thread of each child in the parent 2026-11-28 04:19:08 -05:00
Kurt Himebauch 574f1f8700 fix(handoff): __WNOTHREAD on waits for a pid, flags on every shim reap 2026-11-28 03:59:33 -05:00
Kurt Himebauch b801fb820f fix(handoff): stop waiting on a held entry once its parent has exited 2026-11-28 03:50:09 -05:00
Kurt Himebauch 3c9ba04b23 fix(handoff): honor __WNOTHREAD and check every argument for Steam 2026-11-28 03:41:51 -05:00
Kurt Himebauch 3565752fe9 test(handoff): require a zombie parent in the unreaped-parent case 2026-11-28 03:29:53 -05:00
Kurt Himebauch b68437ab63 fix(handoff): keep __WALL waitid calls on the handoff path 2026-11-28 03:28:30 -05:00
Kurt Himebauch 1dfefac571 fix(handoff): getppid() gives init for an exited or replaced parent 2026-11-28 03:21:47 -05:00
Kurt Himebauch 25d97a414b fix(handoff): exact waitid selection, kept Steam and pipe readers, held reports 2026-11-28 03:11:47 -05:00
Kurt Himebauch 12a15a5526 fix(handoff): a handed-off program's getppid() is its forking process 2026-11-28 02:47:38 -05:00
Kurt Himebauch d629f83b8c fix(agent): tag handed-off game windows outside the reaper 2026-11-28 02:18:42 -05:00
Kurt Himebauch 404f540709 feat(handoff): hand off shell children near Android's process limit 2026-11-28 01:14:30 -05:00
Kurt Himebauch a91c2e8cfd fix(handoff): exact waitid events, safe exit timer, bounded request receipt 2026-11-28 00:29:56 -05:00
Kurt Himebauch 9940445ac1 fix(session): every exit-only waitid goes through the handoff wait 2026-11-28 00:07:30 -05:00
Kurt Himebauch 6906c65446 test(native): check the unlisted child's status only where a child can exec aarch64 2026-11-27 23:59:47 -05:00
Kurt Himebauch e559535ca2 fix(session): silent failed launches, bounded spawn requests and held check-gone writes 2026-11-27 23:46:40 -05:00
Kurt Himebauch e9444a0ddc fix(session): tell a reused pid's old entry by start time, not the reaped flag 2026-11-27 23:35:17 -05:00
Kurt Himebauch 41ba1f47c4 Merge remote-tracking branch 'origin/main' into research/phantom-process-limit
# Conflicts:
#	tools/nativeguest/hook/exec.c
2026-11-27 23:03:27 -05:00
Kurt Himebauch c0abf31a6b fix(native): start popen() and system() shells with posix_spawn (#3357) 2026-11-27 23:02:08 -05:00
Kurt Himebauch 144a85114e fix(session): confirm the hook before the worker runs, prefer a late report and free a reused pid 2026-11-27 23:01:58 -05:00
Kurt Himebauch 7c10d1fa85 test(native): skip the popen test where a spawn child cannot exec aarch64 2026-11-27 22:43:50 -05:00
Kurt Himebauch 25dbc97e68 test(native): run the popen test program with a clean environment 2026-11-27 22:32:40 -05:00
Kurt Himebauch 536759fca7 test(native): popen test shell is static, as the other hook fixtures 2026-11-27 22:12:37 -05:00
Kurt Himebauch 445a13abf4 fix(session): three-step launch, tagged exit reports and lock-free popen and system children 2026-11-27 22:05:56 -05:00
Kurt Himebauch 6f42e1cf1a fix(session): recheck a taken exit's child and commit a launch only on a whole go line 2026-11-27 19:03:38 -05:00
Kurt Himebauch 2ba290c2f1 fix(session): send a working directory outside the program's root by its real path 2026-11-27 18:44:40 -05:00
Kurt Himebauch 5aac22f277 fix(session): one owner per handoff exit, worker launch answers and spawn edge cases 2026-11-27 18:23:55 -05:00
Kurt Himebauch af481e5159 fix(session): confirm handoffs, honour wait selectors and stop spawns at teardown 2026-11-27 17:56:37 -05:00
Kurt Himebauch 4e2bfa5cdc fix(session): commit each worker launch explicitly and keep workers with the session that asked 2026-11-27 17:06:08 -05:00
Kurt Himebauch 924ad4e9a3 fix(nativeguest): address review findings in handoff waits, signals and spawn errors 2026-11-27 16:35:53 -05:00
Kurt Himebauch ba9b0b0422 perf(session): exec a worker as soon as its reply is in and keep two bound ahead; fix review findings 2026-11-27 16:18:08 -05:00
Kurt Himebauch ae6863d016 fix(nativeguest): let Steam end a handed-off game and keep process-group signals 2026-11-27 15:27:40 -05:00
Kurt Himebauch e418f99aa0 feat(nativeguest): hand off posix_spawn children and keep handed-off daemons alive 2026-11-27 14:27:43 -05:00
Kurt Himebauch bbb4d11bf0 feat(session): run the session root, its jobs and the gamescope chain outside the child-process count 2026-11-27 12:44:11 -05:00
Kurt Himebauch 592d03f69a test(nativeguest): cover the exec handoff's wait and kill 2026-11-27 11:15:56 -05:00
Kurt Himebauch 146b93dd6c test(session): run the session bus block with dd_spawn 2026-11-27 11:12:47 -05:00
Kurt Himebauch aedac67f6d feat(nativeguest): hand long-lived programs to uncounted worker processes 2026-11-27 11:07:04 -05:00
Kurt Himebauch 1e022e2430 feat(session): start long-lived daemons in uncounted worker processes 2026-11-27 10:11:27 -05:00
Kurt Himebauch 2e170ae12b docs: research Android's child-process limit without developer options 2026-11-27 09:45:04 -05:00
FryMcNugget b08d8e8e19 feat(ea): start Steam's copies of EA games without the EA app (#3021) 2026-11-27 08:32:55 -05:00
xlulx 2dc74f7574 fix(bionic): DroidDeck's DirectAudio settings, the microphone among them, reach Bionic Wine's audio driver (#3277) 2026-11-27 08:27:32 -05:00
Kurt Himebauch 0dea571c63 fix(mesa): zink reclaims memory a client freed once it goes idle (#3320) 2026-11-27 08:25:45 -05:00