Commit Graph
7 Commits
Author SHA1 Message Date
Omar ElmahyandPrivacyOnion 634936c9fe test(libSceNetCtlAp): cover uninitialized argument precedence in sceNetCtlAp
Verify that sceNetCtlAp APIs (ClearEvent, RegisterCallback, GetResult,
GetInfo, GetState, GetConnectInfo, UnregisterCallback) consistently return
kErrNotInitialized (0x80412994) prior to initialization even when passed null
or invalid arguments, including negative callback IDs.

Co-authored-by: PrivacyOnion <[email protected]>
2026-10-27 16:39:33 +00:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
Federico Marras 41d4640c06 fix(libSceNetCtlAp): clear the callback id when registration slots are full 2026-10-24 10:45:41 +02:00
Dean 278ec2d356 Merge pull request #8279 from mugurc/fix/libs-macos-build-main
fix(libs): build getifaddrs and two tests on macOS hosts
2026-10-24 07:31:38 +13:00
boykopovar 94e579a37a fix(netctlap): restore option and result validation order 2026-10-21 21:54:19 +03:00
mugurc 57e3e7c645 fix(libs): build getifaddrs and two tests on macOS hosts
Three recent changes use what only Linux has, so libc and two tests no
longer compile on macOS:

- The AF_LINK entries that getifaddrs lists on Linux use linux/if_link.h,
  netpacket/packet.h, sockaddr_ll and rtnl_link_stats, and were built on
  every host but Windows. They are now built on Linux only: macOS lists
  the IPv4 and IPv6 addresses as before, as Windows does, and the
  interface test checks the AF_LINK entries on Linux only.
- The NetCtlAp test loops over a braced list without including
  <initializer_list>, which libc++ does not pull in through the test's
  other headers.
- The import block test backs its 16 KiB views with memfd_create. The
  views case is now built on Linux only; macOS runs the case without
  views, as Windows does.
2026-10-20 10:29:01 +03:00
Federico Marras d8b425f1bf feat(libSceNetCtlAp): implement the access-point service that never starts 2026-10-19 20:26:24 +02:00