Commit Graph
7963 Commits
Author SHA1 Message Date
hypermist dfa27f30c2 Merge remote-tracking branch 'upstream/main' into fix/agc-semaphore-memory-firmware
# Conflicts:
#	core/libs/prx/libSceAgc/Misc/src/Semaphore.cpp
#	core/libs/prx/libSceAgc/Unimplemented.cpp
#	core/libs/prx/libSceAgc/tests/Semaphore.cpp
#	docs/dev/debt/libSceAgc.md
2026-10-22 16:19:38 +13:00
hypermist 4e6f90febe Merge remote-tracking branch 'upstream/main' into fix/np-session-signaling-lookups
# Conflicts:
#	core/libs/prx/libSceNpSessionSignaling/Export.cpp
#	docs/dev/debt/libSceNpSessionSignaling.md
2026-10-22 16:17:43 +13:00
ShinMalphur 24b7977241 Merge branch 'main' into feat/net-ether-address-parser 2026-10-22 09:44:29 +06:30
hypermist fd3ce4b0c5 Merge remote-tracking branch 'upstream/main' into feat/web-browser-dialog-cookies
# Conflicts:
#	core/libs/prx/libSceWebBrowserDialog/Export.cpp
#	docs/dev/debt/libSceWebBrowserDialog.md
2026-10-22 16:05:14 +13:00
Yunus Shaikh db33bdb16a feat(libkernel): add scePthreadMutexattrSetkind
The SCE name moves from a libkernel_sys stub to libkernel. Kinds
MutexType::ErrorCheck (1) to MutexType::Adaptive (4) are the mutex
types FreeBSD 11 libthr's pthread_mutexattr_setkind_np stores, and are
set through scePthreadMutexattrSettype, which maps the same values onto
those types. Other kinds and a null or uninitialized attribute throw, as
their console answer is not known.

guest_kernel_sys_pthread_np_kind round-trips kinds 2, 3, 4 and 1
through pthread_mutexattr_gettype, checks that kind 1 makes a second
lock return EDEADLK and kind 2 lets it succeed, and checks the throws
for kinds 0, 5 and -1 (the type unchanged) and for a destroyed or null
attribute.
2026-10-22 03:02:46 +00:00
Yunus Shaikh 0d81fe5712 feat(libkernel): add pthread_rwlockattr_settype_np
The POSIX name moves from a libkernel_sys stub to libkernel and stores the
type through its SCE twin scePthreadRwlockattrSettype, converting the
result as the other POSIX rwlock calls do.

guest_kernel_sys_pthread_np_rwlockattr checks types 0, 1 and 2 through
both names, a rwlock built from the attribute, and the throws for a
destroyed or null attribute.
2026-10-22 03:02:46 +00:00
hypermist 1f8d4769b4 Merge remote-tracking branch 'upstream/main' into fix/coredump-set-user-data-type
# Conflicts:
#	core/libs/prx/libkernel/System/src/Coredump.cpp
#	core/libs/tests/GuestCoredumpUserData.cpp
2026-10-22 15:54:42 +13:00
Kraken 40c7168f9c Merge remote-tracking branch 'origin/main' into feat/libkernel-pthread-timedjoin 2026-10-22 03:48:39 +01:00
Dean 44661db263 Merge pull request #8973 from rooklz/fix/linux-console-base
fix(relinker): load Linux executables at 0x400000 by default
2026-10-22 15:24:38 +13:00
hypermist dbd82809cc Merge remote-tracking branch 'upstream/main' into feat/screenshot-state-overlay
# Conflicts:
#	core/libs/prx/libSceScreenShot/Export.cpp
#	docs/dev/debt/libSceScreenShot.md
2026-10-22 15:24:22 +13:00
hypermist 2bd2a875b2 Merge remote-tracking branch 'upstream/main' into feat/audioin-pad-embedded-mic
# Conflicts:
#	docs/dev/debt/libSceAudioIn.md
2026-10-22 15:14:15 +13:00
blu 9897260c6e Merge branch 'boykopovar:main' into pr/windows-reparse-non-link 2026-10-21 19:08:16 -07:00
Queuze 09efadc0fe fix(net): truncate TCP_NODELAY readback 2026-10-21 23:07:48 -03:00
hypermist 55de3d4572 Merge remote-tracking branch 'upstream/main' into feat/gamelivestreaming-program-info
# Conflicts:
#	core/libs/prx/libSceGameLiveStreaming/Export.cpp
#	core/libs/tests/GuestGameLiveStreaming.cpp
#	docs/dev/debt/libSceGameLiveStreaming.md
2026-10-22 15:04:34 +13:00
blu 445a549d88 Merge branch 'boykopovar:main' into fix/agc-driver-frame-dump-wait 2026-10-21 19:04:09 -07:00
blu c08e752fef Merge branch 'boykopovar:main' into feat/libkernel-sigintr 2026-10-21 19:03:58 -07:00
blu b440d11cbb Merge branch 'boykopovar:main' into feat/libc-siginterrupt 2026-10-21 19:03:47 -07:00
blu 2a796cb447 Merge branch 'boykopovar:main' into feat/libc-num-get-objects 2026-10-21 19:03:38 -07:00
hypermist 9f6a71b6a5 Merge remote-tracking branch 'upstream/main' into feat/ajm-wvorbis-header-packet
# Conflicts:
#	core/libs/prx/libSceAjm.native/Export.cpp
#	docs/dev/debt/libSceAjm.native.md
2026-10-22 15:02:48 +13:00
Queuze a84d3c46c8 feat(net): expose stream and datagram protocol 2026-10-21 23:02:48 -03:00
hypermist 1898466430 Merge remote-tracking branch 'upstream/main' into fix/libs-firmware-constants-4
# Conflicts:
#	docs/dev/debt/libSceHttpCache.md
2026-10-22 14:51:35 +13:00
hypermistandClaude Opus 5.5 e8abcba78f docs(agc): add the console's measured workload packet details
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-22 14:43:14 +13:00
hypermist bea151e189 Merge remote-tracking branch 'upstream/main' into feat/agc-acb-workload-packets
# Conflicts:
#	docs/dev/debt/libSceAgc.md
2026-10-22 14:43:07 +13:00
hypermistandClaude Opus 5.5 d1e66e95ca docs(libc): shorten the char16/char32 conversion entry
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-22 14:42:24 +13:00
Yunus Shaikh a644459114 feat(hmd): report no VR2D session without a headset
Nothing runs in VR2D without a headset, so sceHmdInternalIsGameVr2d,
IsMiniAppVr2d, IsCommonDlgVr2d and IsCommonDlgMiniAppVr2d return false,
the answer the console gives to the same four queries in libSceHmd2.
2026-10-22 01:34:36 +00:00
Yunus Shaikh 8e462a6bcc feat(hmd): refuse distortion and 2D VR command queries without a headset
sceHmdOpen never issues a handle without a headset, so the distortion
correction, wide-near correction and 2D VR command queries, and their
sceHmdDistortion* export aliases, answer as the other handle queries:
NOT_INITIALIZED before sceHmdInitialize and HANDLE_INVALID after it,
leaving the command buffer unwritten.
2026-10-22 01:33:53 +00:00
hypermist 193d3c000d Merge remote-tracking branch 'upstream/main' into fix/libc-utf8-multibyte 2026-10-22 14:30:27 +13:00
hypermist 7ef7653590 Merge remote-tracking branch 'upstream/main' into fix/audioout2-mastering-state
# Conflicts:
#	docs/dev/debt/libSceAudioOut.md
2026-10-22 14:20:02 +13:00
Queuze 4e7559ae9a fix(libSceNet): reject nonpositive socket buffers 2026-10-21 22:06:30 -03:00
xXPBSXxandClaude Sonnet 5.5 6b2be773aa docs(debt): say "several titles" in the storage image refusal entry
A fourth title reached the refusal on another GPU and OS (reported on the
PR), so the entry no longer names a count.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-22 03:01:05 +02:00
Yunus Shaikh 4d57a206c7 test(libc): check private collects against a region query under APS5_VERIFY_DIRECT_COLLECT
A private collect read from the allocation map makes no query, so it
can't see memory that code bypassing WindowsMappings changed inside a
recorded allocation. A page decommitted in place there is the case it
can't catch: GetWriteWatch still succeeds over it, so the collect
reports no writes where a query would have refused the range.

With APS5_VERIFY_DIRECT_COLLECT set, each such collect also queries its
span's regions, and Collect throws, naming the span and the switch, when
GetWriteWatch succeeded over memory that is no longer committed
private. ENVIRONMENT.md lists the switch.

windows_write_watch_verify_direct (the same test binary with
--verify-direct, the switch set) collects a recorded private allocation,
checks its write is still reported, decommits one page in place and
requires the next collect not to succeed. Without the check the collect
succeeds.

Adapts fable-void's 2760ad808.
2026-10-21 17:59:12 -07:00
Queuze 63be1c0cf5 feat(libSceNet): read reuse and broadcast flags 2026-10-21 21:56:25 -03:00
Ondra97 6f9b6bad1f feat(libSceFreeType): implement outline orientation 2026-10-22 02:41:48 +02:00
Yuri Olive 232cf9373b Merge remote-tracking branch 'origin/main' into feat/appinstutil-missing-exports
# Conflicts:
#	docs/dev/debt/libSceAppInstUtil.md
2026-10-21 21:38:15 -03:00
orezraeyandClaude Opus 5.5 da0ed3b5c3 Merge main into fix/net-utilities-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 21:25:51 -03:00
zaryabzip c13218735e feat(libSceNpTus): create TSS title contexts in the TUS context table
sceNpTssCreateNpTitleCtxA creates a context like sceNpTusCreateNpTitleCtxA,
and sceNpTssCreateNpTitleCtx checks its NpId and service label first, as
shadPS4 does; both share the TUS table, its 32-context limit and its
requests.
2026-10-22 05:25:26 +05:00
SwagandClaude Opus 5.5 ca32e706e8 feat(libSceLibreSsl): implement the per-thread error queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:15:46 -04:00
Queuze e8d989b6c0 feat(libSceNet): expose socket type and listen state 2026-10-21 21:11:41 -03:00
Queuze d805762120 feat(libSceNet): support SO_KEEPALIVE 2026-10-21 21:09:42 -03:00
orezraeyandClaude Opus 5.5 3bcc0fd719 Merge main into fix/http-uri-parse-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:51:44 -03:00
orezraeyandClaude Opus 5.5 20ec66fe21 Merge main into fix/http-status-line-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:49:58 -03:00
orezraeyandClaude Opus 5.5 eed64b8c11 Merge main into fix/http-uri-copy-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:48:42 -03:00
orezraeyandClaude Opus 5.5 718a1de062 Merge main into fix/agcdriver-workload-registration-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 20:46:45 -03:00
Ondra97 58108841b1 fix(net): return empty connected TCP receives without waiting 2026-10-22 01:46:16 +02:00
Ondra97 2236680340 fix(libSceNpAuth): reject completion queries before request start 2026-10-22 01:41:08 +02:00
Yunus Shaikh 56b2a6393f fix(libkernel): keep another thread's block of a signal a running handler also blocks
A handler's blocks are now holds kept apart from the mask sigprocmask sets, and released when the handler returns, so a sigprocmask(SIG_BLOCK) from another thread meanwhile survives even for a signal in the handler's sa_mask. sigprocmask reports the holds; SIG_UNBLOCK of a held signal releases its hold and SIG_SETMASK, which longjmp uses, releases them all, while sigsuspend's own restore keeps them.
2026-10-21 16:39:02 -07:00
Ondra97 f2173bba34 docs(ssl): remove obsolete terminated connection ownership claims 2026-10-22 01:35:46 +02:00
MarcZX10 72316ad618 fix(libc): scale large finite cosh inputs 2026-10-21 22:59:10 +00:00
MarcZX10 c9b80f0304 feat(libc): implement _Cosh 2026-10-21 22:58:44 +00:00
xXPBSXxandClaude Sonnet 5.5 c3bd7c5f63 docs(debt): note that a title call of sceAjmBatchJobSetResampleParametersEx agrees with the argument registers
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-22 00:53:16 +02:00