Commit Graph
4980 Commits
Author SHA1 Message Date
Yunus Shaikh 3cd3328124 feat(libSceNet): forward sceNetSocketInternal and the Ex socket options to their public twins
sceNetSocketInternal, sceNetGetsockoptEx and sceNetSetsockoptEx threw.
Their argument lists, restored with the rest of the firmware exports in
4d6942f1e, are the same as sceNetSocket, sceNetGetsockopt and
sceNetSetsockopt, so they now call those. Nothing in the tree records
how the console tells the entry points apart (for example by the
calling process); the debt file says so.

Tested: guest_sce_net_tests creates a datagram socket through
sceNetSocketInternal, sets SO_REUSEADDR and SO_RCVTIMEO through
sceNetSetsockoptEx and reads them back through sceNetGetsockoptEx and
sceNetGetsockopt with the same values. On a closed socket and on -1,
and for an unsupported family and type, each Ex/Internal call returns
the same error and errno as its public twin.
2026-10-22 01:36:24 +00:00
Yunus Shaikh 528ede377d Merge #9494 and #9515 into feat/libscenet-ex-forwards
Base for the libSceNet Ex/Internal forwards: upstream main 94fbb8cea with fix/libscenet-inet-text-rules (ef49574f5) and fix/libkernel-getsockopt-net-sockets (aea804d9f).
2026-10-22 01:31:01 +00:00
Yunus Shaikh aea804d9fd fix(libkernel): getsockopt reads options of libSceNet sockets
setsockopt reaches a socket created with sceNetSocket through the option setter libSceNet registers, but getsockopt looked the descriptor up only among libkernel's own sockets and failed, so a title could set an option on such a socket through the BSD call and not read it back. libSceNet now registers an option getter with libkernel next to its setter, which answers through sceNetGetsockopt, so SO_RCVTIMEO and SO_SNDTIMEO come back as a struct timeval.
2026-10-21 16:57:33 -07:00
Yunus Shaikh ef49574f5a Merge main into fix/libscenet-inet-text-rules 2026-10-21 15:49:51 -07:00
boykopovar a6dcea9279 Merge pull request #9137 from boykopovar/fix/funcs-abi-debt-2026-10-20
fix(libs): libs funcs abi debt 2026 10 20
Corrected signatures or behaviour of 1,702 existing exported functions across 96 libraries. Added 85 typed export wrappers. Unimplemented functions retain NotImplemented_nid_no_patch(__func__).
2026-10-22 00:32:11 +03:00
Adrià 0c6a5bd593 Merge pull request #8519 from MarrasFederico/fix/agc-zero-stride-oob-select
fix(agc): follow RDNA 2's range checks for zero-stride vertex fetches
2026-10-21 21:54:30 +02:00
Adrià 415fd7136b Merge pull request #8991 from Tamalero/fix/shader-image-table-split-tsharp-halves
fix(recompiler): match image-table T# halves offset before and after readfirstlane
2026-10-21 21:53:27 +02:00
Dean 3594eee9f3 Merge pull request #6604 from notaxeltv/fix/recompiler-default-past-num-interp
fix(recompiler): fill missing pixel interpolators as DEFAULT
2026-10-22 08:31:15 +13:00
Adrià f0de89a506 Merge pull request #9026 from milescoviello/perf/depth-plane-unit-stores
perf(agc): store only the depth plane units a read overlaps
2026-10-21 21:29:26 +02:00
Adrià 1698d1ea6a Merge pull request #8642 from MarcZX10/codex/color-compare-format-support-7934
fix(agc): match measured color comparison formats
2026-10-21 21:02:30 +02:00
boykopovar 2f678e9046 docs: record retained activation and pad no-op behavior 2026-10-21 21:56:06 +03:00
boykopovar 6036bc6512 fix(zlib): restore validation errors and finalization behavior 2026-10-21 21:56:06 +03:00
boykopovar 8b75d497c0 fix(kernel): reject unimplemented internal pool statistics 2026-10-21 21:56:05 +03:00
boykopovar 77835951cd fix(ssl): defer private key parsing and allow separate identity loads 2026-10-21 21:56:04 +03:00
boykopovar 350c6eb323 fix(font): restore typography validation and reject unsupported shaping 2026-10-21 21:56:03 +03:00
boykopovar e7a1e5594a fix(ssl): restore ca query errors and sdk unload boundary 2026-10-21 21:56:02 +03:00
boykopovar 1e6077d1fa fix(voice): restore port info frame sizes and output bounds 2026-10-21 21:56:00 +03:00
boykopovar 09fb692fa1 fix(voice): restore port format validation and resource limits 2026-10-21 21:55:34 +03:00
boykopovar 0f668a2ea8 fix(voice): restore start memory checks and lifecycle errors 2026-10-21 21:55:33 +03:00
boykopovar f4447aa252 fix(kernel): restore coredump registration and file flag validation 2026-10-21 21:55:33 +03:00
boykopovar b9fb0d2897 fix(kernel): restore signed coredump attachment lengths 2026-10-21 21:55:32 +03:00
boykopovar f76db36d9f fix(hmd2): restore buffer size query pair return type 2026-10-21 21:55:31 +03:00
boykopovar fe4016f612 fix(voice): restore initialization and thread parameter validation 2026-10-21 21:55:30 +03:00
boykopovar ee76c0cd98 fix(kernel): restore coredump buffer validation and data type argument 2026-10-21 21:55:30 +03:00
boykopovar cf717cd80f fix(videorecording): restore info selectors and unopened errors 2026-10-21 21:55:26 +03:00
boykopovar c54adfb288 fix(ult): restore thread diagnostic context and fiber callback type 2026-10-21 21:55:09 +03:00
boykopovar 90e4e930ae fix(audiopropagation): define source and system diagnostic layouts 2026-10-21 21:55:09 +03:00
boykopovar f2ee3065f1 fix(videorecording): define query parameter output layout 2026-10-21 21:55:07 +03:00
boykopovar 2411c836ce fix(videorecording): type native video output mode query 2026-10-21 21:54:56 +03:00
boykopovar 2ee0131006 fix(vrsetupdialog): restore result type and error precedence 2026-10-21 21:54:55 +03:00
boykopovar b35e344585 fix(systemservice): restore browser launch signature and validation 2026-10-21 21:54:54 +03:00
boykopovar b4ac752769 fix(ssl): implement native peek reads and flag validation 2026-10-21 21:54:52 +03:00
boykopovar 31925119d5 fix(ssl): bind certificate name views to certificate lifetime 2026-10-21 21:54:31 +03:00
boykopovar d33bde8ed3 fix(ssl): restore validity and fingerprint validation order 2026-10-21 21:54:30 +03:00
boykopovar e37638505d fix(ssl): restore native pem encoding and buffer semantics 2026-10-21 21:54:29 +03:00
boykopovar 060a3b6bf9 fix(ssl): restore certificate name copy bounds and errors 2026-10-21 21:54:27 +03:00
boykopovar 83f1f63e85 fix(ssl): restore serial number truncation and errors 2026-10-21 21:54:25 +03:00
boykopovar 2ee602e66f fix(ssl): restore alpn clearing and validation 2026-10-21 21:54:24 +03:00
boykopovar 34123d4e29 fix(font): restore encoded glyph identifiers and validation 2026-10-21 21:54:23 +03:00
boykopovar 512ae7f80f fix(font): use 32-bit resolution in driver callbacks 2026-10-21 21:54:22 +03:00
boykopovar 5f980378c4 fix(font): restore device cache ownership and detach outputs 2026-10-21 21:54:22 +03:00
boykopovar f55e936f92 fix(appcontent): validate entitlement padding by sdk version 2026-10-21 21:54:21 +03:00
boykopovar 20a2488b4b fix(appcontent): restore initialization guards and validation 2026-10-21 21:54:20 +03:00
boykopovar dd5b81e1df fix(netctlapdialog): restore parameter and lifecycle validation 2026-10-21 21:54:20 +03:00
boykopovar 94e579a37a fix(netctlap): restore option and result validation order 2026-10-21 21:54:19 +03:00
boykopovar ff128a51a1 fix(logindialog): restore validation and result layout 2026-10-21 21:54:18 +03:00
boykopovar d109d51f43 fix(opus): restore decoder validation errors and precedence 2026-10-21 21:54:18 +03:00
boykopovar f414adb3d6 docs(kernel): close thread sanitizer signature debt 2026-10-21 21:54:17 +03:00
boykopovar 340429d151 fix(videorecording): restore parameter layouts and handle widths 2026-10-21 21:54:16 +03:00
boykopovar b688c4044b fix(share): validate extended capture parameters 2026-10-21 21:54:03 +03:00