feat(libkernel): implement sigpending and sigsuspend #3252
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3252"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-11T03:31:51Z.
What
Implement
sigpending(NIDhpoDTzy9Yy0) andsigsuspend(NIDKZ-4qlqlpmo) inlibkernel.libkernel:sigpending: Checks pointer for null (EFAULT14); clears returned signal set (as no asynchronous pending signals queue is maintained); preserves guest errno.sigsuspend: Checks mask pointer for null (EFAULT14); returns -1 and sets*__error_nid_postfix() = 4(EINTR).GuestSignals.cppunit test suite covering null pointer rejection, sentinel errno preservation, and EINTR return.docs/dev/TechnicalDebt.md.Addresses missing signal set imports identified in issue #1578 for homebrew applications and ports.
Tested
GuestSignalspasses.python tools/check_conventions.py --base origin/mainreports 0 errors.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T03:32:01Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T03:32:12Z.
Progress report (
961b25f→0b35d74)📈 System libraries: 86.01% (+0.01%, +2 implemented functions)
✅ 2 implemented
sigpending_nid_postfixsigsuspend_nid_postfixImported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-11T06:38:49Z.
The intake check closed this automatically. @oneandonlydean @MarcZX100 @adriadam10: Could one of you please reopen or carry this when convenient? It implements
sigpendingandsigsuspend(#1578), tracked in issue #3253. It is cleanly rebased, mergeable onto currentmain(1690db9a2) withMergeable: True, and passes all conventions and unit tests.Pull request closed