Commit Graph
2 Commits
Author SHA1 Message Date
Ycaro Gabriel f7aa7b9cf4 fix(tests): use canonical pthread declarations in host fault mask test
The public header audit now finds duplicate declarations when this test redeclares the pthread APIs. Include the canonical libkernel header so the test follows the current API and public_headers remains valid.
2026-10-27 19:37:33 -03:00
Ycaro Gabriel f22b57083c fix(libkernel): keep host fault signals available to guest threads
Rosetta may swallow or retry write-watch faults when a guest thread inherits a blocked host SIGBUS or SIGSEGV mask. Keep synchronous fault signals deliverable during thread creation and after startup while preserving the creator mask. Add a macOS regression test for both behaviors.

Based on Cloud-Multiplayer’s write-watch investigation in boykopovar/AnyPS5#1.
2026-10-20 10:13:53 -03:00