AnyPS5/core/libs/prx/libkernel/File
jdmagic 12b18af550 fix(libkernel): close() closes libSceNet sockets
A libSceNet socket is a kernel descriptor on the console, so titles close it
with close(). libSceNet keeps its sockets in its own table, and libkernel's
close passed their numbers to the CRT, which reported an invalid parameter
and left the socket open. libSceNet now registers a closer with libkernel,
as it registers its poller for select. PPSA01289 (Sackboy: A Big Adventure)
closes its P2P socket this way each time it tears its network session down,
leaking one open socket per attempt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 19:23:24 -04:00
..
include Merge pull request #3555 from lisn0/feat/linux-named-shared-memory 2026-10-11 23:55:30 +02:00
src fix(libkernel): close() closes libSceNet sockets 2026-10-11 19:23:24 -04:00