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

Closed
danzaio wants to merge 1 commit from upstream-pr/2406 into main
danzaio commented 2026-10-09 18:28:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-09T18:28:53Z.


### What

sceNetSend and sceNetSendto failed every call with a nonzero flags value, so FreeBSD code passing MSG_NOSIGNAL (0x20000) could never send. The guard now accepts that one flag and still fails the rest with EOPNOTSUPP. Same fix libkernel got in #1279.

Tested

guest_sce_net passes on Windows (MinGW 15.2.0). The closed-peer case only runs on Linux and is copied from #1279, so CI is the real proof there.

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
  • 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:4804348349 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2406). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-09T18:28:53Z. --- ### What sceNetSend and sceNetSendto failed every call with a nonzero flags value, so FreeBSD code passing MSG_NOSIGNAL (0x20000) could never send. The guard now accepts that one flag and still fails the rest with EOPNOTSUPP. Same fix libkernel got in #1279. ### Tested guest_sce_net passes on Windows (MinGW 15.2.0). The closed-peer case only runs on Linux and is copied from #1279, so CI is the real proof there. ### 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) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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-09 18:29:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T18:29:03Z.


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:6086879241 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2406#issuecomment-6086879241). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-09T18:29:03Z. --- 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!2406
No description provided.