fix(libSceNet): accept MSG_NOSIGNAL in send and sendto #2835

Closed
danzaio wants to merge 1 commit from upstream-pr/2835 into main
danzaio commented 2026-10-10 16:18:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-10T16:18:40Z.


PR body draft — fix/np-send-nosignal (DRAFT, needs Dan's sentence)

TODO Dan: one sentence in your words for the top of ### What (CONTRIBUTING requires it).

What

[TBD Dan's sentence.]

sceNetSend and sceNetSendto rejected every flag with EOPNOTSUPP, so a caller passing FreeBSD's MSG_NOSIGNAL (0x20000) could not send at all. The guard accepts that one flag now and keeps failing the rest. shadPS4 already passes 0x20000 down to sendto. Every other flag still fails as before.

Tested

ctest -R guest_sce_net passes, covering a send with MSG_NOSIGNAL set plus the still-rejected flags. Rebase onto current main pending at open time.

Checklist

  • Based on current main; no other open PR implements the same functions (branch base is f8c2f07, rebase at open time)
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • 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
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4812664927 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2835). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-10T16:18:40Z. --- # PR body draft — fix/np-send-nosignal (DRAFT, needs Dan's sentence) > TODO Dan: one sentence in your words for the top of ### What (CONTRIBUTING requires it). ### What [TBD Dan's sentence.] sceNetSend and sceNetSendto rejected every flag with EOPNOTSUPP, so a caller passing FreeBSD's MSG_NOSIGNAL (0x20000) could not send at all. The guard accepts that one flag now and keeps failing the rest. shadPS4 already passes 0x20000 down to sendto. Every other flag still fails as before. ### Tested `ctest -R guest_sce_net` passes, covering a send with MSG_NOSIGNAL set plus the still-rejected flags. Rebase onto current main pending at open time. ### Checklist - [ ] Based on current `main`; no other open PR implements the same functions (branch base is f8c2f07, rebase at open time) - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [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] AI-assisted: yes
github-actions[bot] commented 2026-10-10 16:18:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T16:18:51Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6099604507 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2835#issuecomment-6099604507). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T16:18:51Z. --- 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.

Pull request closed

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!2835
No description provided.