AnyPS5/core/libs/prx/libkernel
Jan Šlégl 8f31696450 feat(libkernel): implement socketpair
AF_UNIX pairs as FreeBSD 11 makes them: SOCK_STREAM, SOCK_DGRAM and
SOCK_SEQPACKET with protocol 0, SOCK_NONBLOCK applied to both ends and
SOCK_CLOEXEC accepted, EAFNOSUPPORT for an unknown family, EOPNOTSUPP
for AF_INET and AF_INET6, EPROTONOSUPPORT for type 0 or a protocol,
EPROTOTYPE for another type, EFAULT for a null output, and nothing
written on failure. The ends are guest sockets, so send, recv,
shutdown, fcntl, poll and close work on them; getsockname and
getpeername report the unnamed AF_UNIX address, recvfrom and recvmsg
no address for a stream and the unnamed one for a datagram. On Linux
the pair is the host's socketpair; on Windows a loopback TCP connection
or two connected UDP sockets, and SOCK_SEQPACKET throws. The remaining
differences from the console are recorded in TechnicalDebt.

OpenSSL's QUIC notifier in 15 catalog titles creates such a pair.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 21:51:00 +02:00
..
Aio/src fix(libkernel): use positioned transfers for Windows AIO requests 2026-10-08 10:47:32 +02:00
AppMetadata fix(libSceAppContent): read user defined app params from param.json 2026-10-08 07:49:16 +02:00
Apr fix(libkernel): report AMPR completion events with the AMPR filter 2026-10-07 19:37:40 -04:00
DirectMemory Merge pull request #1370 from gjonn/fix/kernel-fixed-map-replaces-overlap 2026-10-08 22:35:53 +13:00
Equeue fix(libkernel): report AMPR completion events with the AMPR filter 2026-10-07 19:37:40 -04:00
EventFlag/src feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
File Merge pull request #1452 from mrk1987/fix/posix-mkdir-errors 2026-10-08 16:09:37 +02:00
Module/src fix(module): resolve the default dlsym scope against guest exports only 2026-10-08 14:30:55 +02:00
Pthread Merge pull request #1453 from mrk1987/fix/posix-pthread-setstack 2026-10-08 16:07:11 +02:00
Semaphore Merge pull request #315 from RomainROCH/codex/fix-semaphore-overflow 2026-10-04 14:01:19 +13:00
Socket feat(libkernel): implement socketpair 2026-10-08 21:51:00 +02:00
SyncOnAddress/src feat(libkernel): implement sceKernelSyncOnAddressWait8 and sceKernelSyncOnAddressWait16 2026-10-06 04:30:12 +05:30
System/src Merge pull request #1469 from arvindfroi/refactor/coredump-stopinfo-gpu-name 2026-10-08 16:37:04 +02:00
Time fix(libkernel): give each nested TimedWait its own waiter on Windows 2026-10-08 10:47:32 +02:00
CMakeLists.txt feat(libkernel): implement socketpair 2026-10-08 21:51:00 +02:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(libkernel): implement sceKernelReleaseFlexibleMemory (#952) 2026-10-07 10:20:07 +13:00