fix(libkernel): keep the native signal handler out of the allocator and the pending lock #22391

Open
Kal0s-design wants to merge 3 commits from upstream-pr/22391 into main
Kal0s-design commented 2026-11-17 13:52:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kal0s-design on 2026-11-17T13:52:00Z.


What

This replaces #22307, same commit ea6760b516. The open-pull-request limit closed that one automatically while #20009 was open; #20009 is now closed, but GitHub refuses to reopen #22307 (the request fails with a validation error), so this is a new pull request for the same change. #22307 carries an approving review with a negative control and a second independent confirmation on another machine and compiler.

A host signal that arrives for a guest-blocked signal can deadlock the thread it lands on, and with it every later sender and waiter.

Dispatch runs as the host signal handler. For a signal the guest has blocked it called MarkPending, which locks the pending mutex and inserts into a std::deque. Neither is safe in a signal handler:

  • If the signal interrupts the thread inside malloc or free, the insertion re-enters the allocator and the thread never returns from it.
  • If the signal interrupts the thread while it holds the pending mutex, the handler waits for a lock its own thread owns.

In both cases the pending mutex stays held or contended, so every later kill, sigwait and sigpending on the process queues behind it.

The fix keeps the handler to operations that are safe there:

  • The handler records the signal in a per-signal atomic count and in the pending word, and writes one byte to a pipe.
  • A relay thread reads the pipe, takes the pending mutex and notifies the waiters. A wait that checked the set under the mutex therefore still sees either the signal or the notification.
  • Windows keeps MarkPending: there the CRT calls the handler from raise, on the raising thread and outside any interrupted code.

guest_blocked_signal_allocator is the regression test (POSIX hosts). 64 threads block SIGTERM and loop on malloc/free while the main thread sends each of them the host signal four times; the test fails if a worker never leaves the allocator.

#19463 also changes Signals.cpp (ktimer delivery). It does not touch the handler path, but the two will need a rebase against each other.

Tested

Head ea6760b516 on main 9b7afdd507. The main column is main with only the new test added.

Linux 6.18, GCC 16.1, Release. guest_blocked_signal_allocator, 30 runs per build:

Build This change main
plain 30 of 30 4 of 30; the other 26 stop with "a worker never left the allocator after the handler ran in it"
TSan 30 of 30 0 of 30, signal-unsafe call inside of a signal in MarkPending and CurrentSignals
ASan + UBSan, RelWithDebInfo 30 of 30 30 of 30
ASan + UBSan, Release (the Sanitizers workflow's configuration) 30 of 30 30 of 30

Under ASan the test passes on main as well: ASan's allocator does not deadlock on re-entry, so those builds do not show the defect.

The 18 tests of the signal, itimer, ktimer and pselect set, one run each:

Build This change main
plain 18 of 18 17 of 18 (the new test)
ASan + UBSan, both configurations 18 of 18 18 of 18
TSan 17 of 18 14 of 18
  • TSan on main fails guest_signals, guest_broken_pipe, guest_signal_handler_mask and the new test. With this change guest_broken_pipe and guest_signal_handler_mask pass, and the signal-unsafe call reports are gone.
  • guest_signals still fails under TSan with a lock-order inversion in DiscardPendingIfIgnored. That is a separate defect, present on main, and not addressed here.

Windows, WinLibs GCC 15, Release: the 16 tests of the same set that exist on Windows pass in 3 of 3 runs. The handler path is unchanged there.

tools/check_conventions.py passes.

Not tested: macOS, and no title was run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5358122271 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-17T13:52:00Z. --- ### What This replaces #22307, same commit `ea6760b516`. The open-pull-request limit closed that one automatically while #20009 was open; #20009 is now closed, but GitHub refuses to reopen #22307 (the request fails with a validation error), so this is a new pull request for the same change. #22307 carries an approving review with a negative control and a second independent confirmation on another machine and compiler. A host signal that arrives for a guest-blocked signal can deadlock the thread it lands on, and with it every later sender and waiter. `Dispatch` runs as the host signal handler. For a signal the guest has blocked it called `MarkPending`, which locks the pending mutex and inserts into a `std::deque`. Neither is safe in a signal handler: - If the signal interrupts the thread inside `malloc` or `free`, the insertion re-enters the allocator and the thread never returns from it. - If the signal interrupts the thread while it holds the pending mutex, the handler waits for a lock its own thread owns. In both cases the pending mutex stays held or contended, so every later `kill`, `sigwait` and `sigpending` on the process queues behind it. The fix keeps the handler to operations that are safe there: - The handler records the signal in a per-signal atomic count and in the pending word, and writes one byte to a pipe. - A relay thread reads the pipe, takes the pending mutex and notifies the waiters. A wait that checked the set under the mutex therefore still sees either the signal or the notification. - Windows keeps `MarkPending`: there the CRT calls the handler from `raise`, on the raising thread and outside any interrupted code. `guest_blocked_signal_allocator` is the regression test (POSIX hosts). 64 threads block `SIGTERM` and loop on `malloc`/`free` while the main thread sends each of them the host signal four times; the test fails if a worker never leaves the allocator. #19463 also changes `Signals.cpp` (ktimer delivery). It does not touch the handler path, but the two will need a rebase against each other. ### Tested Head `ea6760b516` on `main` `9b7afdd507`. The `main` column is `main` with only the new test added. **Linux 6.18, GCC 16.1, Release.** `guest_blocked_signal_allocator`, 30 runs per build: | Build | This change | `main` | |---|---|---| | plain | 30 of 30 | 4 of 30; the other 26 stop with "a worker never left the allocator after the handler ran in it" | | TSan | 30 of 30 | 0 of 30, `signal-unsafe call inside of a signal` in `MarkPending` and `CurrentSignals` | | ASan + UBSan, RelWithDebInfo | 30 of 30 | 30 of 30 | | ASan + UBSan, Release (the Sanitizers workflow's configuration) | 30 of 30 | 30 of 30 | Under ASan the test passes on `main` as well: ASan's allocator does not deadlock on re-entry, so those builds do not show the defect. The 18 tests of the signal, itimer, ktimer and pselect set, one run each: | Build | This change | `main` | |---|---|---| | plain | 18 of 18 | 17 of 18 (the new test) | | ASan + UBSan, both configurations | 18 of 18 | 18 of 18 | | TSan | 17 of 18 | 14 of 18 | - TSan on `main` fails `guest_signals`, `guest_broken_pipe`, `guest_signal_handler_mask` and the new test. With this change `guest_broken_pipe` and `guest_signal_handler_mask` pass, and the `signal-unsafe call` reports are gone. - `guest_signals` still fails under TSan with a lock-order inversion in `DiscardPendingIfIgnored`. That is a separate defect, present on `main`, and not addressed here. **Windows, WinLibs GCC 15, Release:** the 16 tests of the same set that exist on Windows pass in 3 of 3 runs. The handler path is unchanged there. `tools/check_conventions.py` passes. Not tested: macOS, and no title was run. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
PrivacyOnion commented 2026-11-17 13:55:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-17T13:55:55Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against ea6760b516:

  • Conventions: tools/check_conventions.py passed.
  • Build: guest_blocked_signal_allocator_tests built cleanly.
  • CTest (guest_blocked_signal_allocator):
    1/1 Test #5416: guest_blocked_signal_allocator ...   Passed    5.37 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libkernel/System/src/Signals.cpp reverted to main and the new tests kept, the suite fails:
    1/1 Test #5416: guest_blocked_signal_allocator ...***Failed   15.65 sec
    0% tests passed, 1 tests failed out of 1
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified signal-handler safety: Dispatch -> NotePendingLwp uses only lock-free atomic compare_exchange and fetch_or, avoiding heap allocation and mutex acquisition in signal context.
    • Verified wake relay pipe creation in EnsureWakeRelay: pipe descriptors are flagged FD_CLOEXEC, write end set to O_NONBLOCK, and reader thread runs RunWakeRelay without allocating memory inside the signal handler.
    • Verified TakePendingLocked: correctly decrements lwp count with compare_exchange, drains queued codes, and synchronizes word bit clearing with double-check against concurrent increments.
    • Verified DiscardPendingIfIgnored: zeroes lwp atomic counter alongside clearing queued deque and clearing pending word bit under pending.lock.
    • Verified test coverage in GuestBlockedSignalAllocator.cpp: exercises multiple threads concurrently allocating/freeing memory while SIGTERM is sent and blocked, asserting all pending signals arrive after unblocking.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5939736490 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391#pullrequestreview-5939736490). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-17T13:55:55Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `ea6760b516`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `guest_blocked_signal_allocator_tests` built cleanly. - **CTest** (`guest_blocked_signal_allocator`): ``` 1/1 Test #5416: guest_blocked_signal_allocator ... Passed 5.37 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libkernel/System/src/Signals.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/1 Test #5416: guest_blocked_signal_allocator ...***Failed 15.65 sec 0% tests passed, 1 tests failed out of 1 ``` Restoring the change makes it pass again. - **Code reading**: - Verified signal-handler safety: Dispatch -> NotePendingLwp uses only lock-free atomic compare_exchange and fetch_or, avoiding heap allocation and mutex acquisition in signal context. - Verified wake relay pipe creation in EnsureWakeRelay: pipe descriptors are flagged FD_CLOEXEC, write end set to O_NONBLOCK, and reader thread runs RunWakeRelay without allocating memory inside the signal handler. - Verified TakePendingLocked: correctly decrements lwp count with compare_exchange, drains queued codes, and synchronizes word bit clearing with double-check against concurrent increments. - Verified DiscardPendingIfIgnored: zeroes lwp atomic counter alongside clearing queued deque and clearing pending word bit under pending.lock. - Verified test coverage in GuestBlockedSignalAllocator.cpp: exercises multiple threads concurrently allocating/freeing memory while SIGTERM is sent and blocked, asserting all pending signals arrive after unblocking. Looks Good To Me
MarcZX10 commented 2026-11-20 16:35:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T16:35:36Z.

Review: COMMENTED


Reviewed — comments

The signal handler path avoids the pending mutex and allocator on POSIX, but setup and wake-relay failures are not handled safely.

What I ran

Reviewed head ea6760b516c7a05ab51f6f9642a76dfa07fe8784. No commands or tests were run. Read core/libs/prx/libkernel/CMakeLists.txt and core/libs/prx/libkernel/System/src/Signals.cpp; review/files.json and the excluded test source were unavailable through the reader.

Results

Check Result Note
Source review passed Changed implementation inspected
Tests not run Author-reported results not independently confirmed

Findings

Blocking

None verified.

Non-blocking

  • EnsureWakeRelay ignores fcntl failures and publishes the writer after starting the relay. If setting O_NONBLOCK fails, the signal handler's write can block when the pipe fills; if FD_CLOEXEC setup fails, descriptors can leak into child processes. Consider checking these calls and failing setup before installing the handler. (core/libs/prx/libkernel/System/src/Signals.cpp:179-182)
  • WakeFromHandler ignores write errors other than EINTR, including a full pipe. The relay's one-byte-per-read design normally ensures a pending notification, but explicitly documenting or handling saturation would make the wake-up guarantee easier to verify. (core/libs/prx/libkernel/System/src/Signals.cpp:185-190)

Not verified

The new regression test source was excluded by rule and could not be read; review/files.json was also unavailable. No build, test suite, negative control, Windows or macOS run was performed. Author-reported test results in the PR description are not independent verification.

To get this to a good state

Nothing is required. Optional: check descriptor setup failures and clarify the full-pipe wake behavior.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5996059620 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391#pullrequestreview-5996059620). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T16:35:36Z. **Review:** COMMENTED --- # Reviewed — comments The signal handler path avoids the pending mutex and allocator on POSIX, but setup and wake-relay failures are not handled safely. ## What I ran Reviewed head `ea6760b516c7a05ab51f6f9642a76dfa07fe8784`. No commands or tests were run. Read `core/libs/prx/libkernel/CMakeLists.txt` and `core/libs/prx/libkernel/System/src/Signals.cpp`; `review/files.json` and the excluded test source were unavailable through the reader. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Changed implementation inspected | | Tests | not run | Author-reported results not independently confirmed | ## Findings ### Blocking None verified. ### Non-blocking - `EnsureWakeRelay` ignores `fcntl` failures and publishes the writer after starting the relay. If setting `O_NONBLOCK` fails, the signal handler's `write` can block when the pipe fills; if `FD_CLOEXEC` setup fails, descriptors can leak into child processes. Consider checking these calls and failing setup before installing the handler. (`core/libs/prx/libkernel/System/src/Signals.cpp:179-182`) - `WakeFromHandler` ignores write errors other than `EINTR`, including a full pipe. The relay's one-byte-per-read design normally ensures a pending notification, but explicitly documenting or handling saturation would make the wake-up guarantee easier to verify. (`core/libs/prx/libkernel/System/src/Signals.cpp:185-190`) ## Not verified The new regression test source was excluded by rule and could not be read; `review/files.json` was also unavailable. No build, test suite, negative control, Windows or macOS run was performed. Author-reported test results in the PR description are not independent verification. ## To get this to a good state Nothing is required. Optional: check descriptor setup failures and clarify the full-pipe wake behavior.
MarcZX10 commented 2026-11-20 20:59:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T20:59:15Z.

Review: COMMENTED


Reviewed — comments

The change addresses the allocator and pending-lock hazards with an atomic pending count and a wake relay; I found one potential loss of wakeups when the nonblocking pipe fills.

What I ran

Reviewed head e74538c7ecdd305569d4d8e79017f6ada9ad4423 against the prepared diff. I did not run commands or tests.

Results

Check Result Note
Diff and changed lines passed Both included changed files read
Tests not run Only author-reported results available
Build not run No local build performed

Findings

Blocking

None.

Non-blocking

  • core/libs/prx/libkernel/System/src/Signals.cpp:193: when the nonblocking pipe is full, write fails with EAGAIN and WakeFromHandler drops that wake byte. A relay may drain bytes already in the pipe, but if a signal is recorded after the relay's last drain and its write gets EAGAIN, a waiter can remain asleep despite pending state. Consider ensuring a wake is retried or otherwise guaranteed when the pipe is full, while keeping the handler async-signal-safe.

Not verified

  • The excluded core/libs/tests/GuestBlockedSignalAllocator.cpp was not read; it was excluded by the review bundle rule.
  • No tests, build, macOS run, or physical-console behavior were verified. The description's test results are author-reported.
  • Signals.cpp and CMakeLists.txt were read; these are all files listed as reviewed in the manifest.

To get this to a good state

Nothing is required. Consider the optional pipe-full wake handling noted above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5999307157 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391#pullrequestreview-5999307157). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T20:59:15Z. **Review:** COMMENTED --- # Reviewed — comments The change addresses the allocator and pending-lock hazards with an atomic pending count and a wake relay; I found one potential loss of wakeups when the nonblocking pipe fills. ## What I ran Reviewed head `e74538c7ecdd305569d4d8e79017f6ada9ad4423` against the prepared diff. I did not run commands or tests. ## Results | Check | Result | Note | |---|---|---| | Diff and changed lines | passed | Both included changed files read | | Tests | not run | Only author-reported results available | | Build | not run | No local build performed | ## Findings ### Blocking None. ### Non-blocking - `core/libs/prx/libkernel/System/src/Signals.cpp:193`: when the nonblocking pipe is full, `write` fails with `EAGAIN` and `WakeFromHandler` drops that wake byte. A relay may drain bytes already in the pipe, but if a signal is recorded after the relay's last drain and its write gets `EAGAIN`, a waiter can remain asleep despite pending state. Consider ensuring a wake is retried or otherwise guaranteed when the pipe is full, while keeping the handler async-signal-safe. ## Not verified - The excluded `core/libs/tests/GuestBlockedSignalAllocator.cpp` was not read; it was excluded by the review bundle rule. - No tests, build, macOS run, or physical-console behavior were verified. The description's test results are author-reported. - `Signals.cpp` and `CMakeLists.txt` were read; these are all files listed as reviewed in the manifest. ## To get this to a good state Nothing is required. Consider the optional pipe-full wake handling noted above.
MarcZX10 commented 2026-11-22 04:54:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T04:54:54Z.

Review: COMMENTED


Reviewed — comments

Changes are needed to address the concurrency concerns below before this change is ready for approval.

What I ran

Reviewed head 8160336c8dcc12842afb1e13480613ab95daca96. No tests or builds were run; author-reported results in the description were not independently verified.

Results

Check Result Note
Changed code review passed Both changed files and relevant signal paths read
Tests and build not run No execution environment available

Findings

Blocking

None verified.

Non-blocking

  • Signals.cpp:197 caps the LWP count at 1024, but MarkPending also applies that cap to the combined LWP and queued signals at Signals.cpp:257. The new NotePendingLwp path does not check or reserve space against queued[guest], so a full queue can still accumulate 1024 LWP entries. Please confirm the intended per-signal limit and enforce it across both sources if they share that limit.
  • Signals.cpp:221 allows concurrent callers to each create a pipe and relay thread while wakeWriter is still -1; the last store wins and leaves earlier descriptors and relay threads alive. Serialize one-time setup or publish a single initialized instance.
  • Signals.cpp:240 retries interrupted writes but ignores other errors, including EAGAIN when the nonblocking pipe is full. A write failure can leave a waiter asleep despite a pending signal. Ensure a full pipe implies a relay notification is already pending, and handle other failures consistently.

Sources

Not verified

  • The added test source is listed in the description as excluded by rule and was not read. The changed line ranges in CMakeLists.txt and Signals.cpp were read; no changed files were excluded by the review manifest. The description-named test source was not present in the directory listing, so its contents and whether it is available outside the listed paths are not verified.
  • No tests, build, macOS run, or physical-console behavior were independently verified. The author reports Linux and Windows runs in the PR description.

To get this to a good state

Nothing is required for merge based on verified blocking defects. Optional: clarify and enforce the shared pending-signal cap, make relay initialization single-instance, and account for non-EINTR pipe write failures.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6010460102 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391#pullrequestreview-6010460102). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T04:54:54Z. **Review:** COMMENTED --- # Reviewed — comments Changes are needed to address the concurrency concerns below before this change is ready for approval. ## What I ran Reviewed head `8160336c8dcc12842afb1e13480613ab95daca96`. No tests or builds were run; author-reported results in the description were not independently verified. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Both changed files and relevant signal paths read | | Tests and build | not run | No execution environment available | ## Findings ### Blocking None verified. ### Non-blocking - `Signals.cpp:197` caps the LWP count at 1024, but `MarkPending` also applies that cap to the combined LWP and queued signals at `Signals.cpp:257`. The new `NotePendingLwp` path does not check or reserve space against `queued[guest]`, so a full queue can still accumulate 1024 LWP entries. Please confirm the intended per-signal limit and enforce it across both sources if they share that limit. - `Signals.cpp:221` allows concurrent callers to each create a pipe and relay thread while `wakeWriter` is still `-1`; the last store wins and leaves earlier descriptors and relay threads alive. Serialize one-time setup or publish a single initialized instance. - `Signals.cpp:240` retries interrupted writes but ignores other errors, including `EAGAIN` when the nonblocking pipe is full. A write failure can leave a waiter asleep despite a pending signal. Ensure a full pipe implies a relay notification is already pending, and handle other failures consistently. ## Sources - [Signals.cpp at reviewed head](https://github.com/boykopovar/AnyPS5/blob/8160336c8dcc12842afb1e13480613ab95daca96/core/libs/prx/libkernel/System/src/Signals.cpp) - [CMakeLists.txt at reviewed head](https://github.com/boykopovar/AnyPS5/blob/8160336c8dcc12842afb1e13480613ab95daca96/core/libs/prx/libkernel/CMakeLists.txt) ## Not verified - The added test source is listed in the description as excluded by rule and was not read. The changed line ranges in `CMakeLists.txt` and `Signals.cpp` were read; no changed files were excluded by the review manifest. The description-named test source was not present in the directory listing, so its contents and whether it is available outside the listed paths are not verified. - No tests, build, macOS run, or physical-console behavior were independently verified. The author reports Linux and Windows runs in the PR description. ## To get this to a good state Nothing is required for merge based on verified blocking defects. Optional: clarify and enforce the shared pending-signal cap, make relay initialization single-instance, and account for non-`EINTR` pipe write failures.
ligmaSec commented 2026-12-03 15:57:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T15:57:18Z.

Review: COMMENTED


I ran guest_blocked_signal_allocator with the patch applied on Linux. It passed the allocator and blocked-signal regression fixture.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6173366879 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22391#pullrequestreview-6173366879). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T15:57:18Z. **Review:** COMMENTED --- I ran `guest_blocked_signal_allocator` with the patch applied on Linux. It passed the allocator and blocked-signal regression fixture. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/22391:upstream-pr/22391'
git switch 'upstream-pr/22391'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/22391'
git switch 'upstream-pr/22391'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/22391'
git switch 'upstream-pr/22391'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/22391'
git switch 'main'
git merge --squash 'upstream-pr/22391'
git switch 'main'
git merge --ff-only 'upstream-pr/22391'
git switch 'main'
git merge 'upstream-pr/22391'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!22391
No description provided.