Commit Graph
6475 Commits
Author SHA1 Message Date
ChronyyxandClaude Opus 5.5 07798774b6 fix(relinker): frame red-zone leaves whose only push is rbp
The check that refuses leaves without pushes that push or pop also refused
`push rbp; mov rbp, rsp` leaves without other pushes, whose `pop rbp` it
counted, since rbp is not in their list of pushes. A unit test and an
execution test now cover such a leaf with a 4-byte prologue and a 2-byte
exit. The debt entry also notes that the check refuses shrink-wrapped leaves
whose later pushes and pops balance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 03:23:34 -04:00
ChronyyxandClaude Opus 5.5 c697fb0ba9 feat(relinker): frame red-zone leaves whose prologue or exit is shorter than a jump
--frame-red-zone replaces a leaf's prologue and each exit with a 5-byte jump
to a stub, so it skipped leaves whose pushes or pop-and-ret exit were shorter
than that, and leaves with neither pushes nor an allocation. A short prologue
now takes in the straight-line instructions after it and a short exit those
before it, re-encoded in the stub with the moved displacement. Widening stops
at branches, rets, RIP-relative instructions, pushes and pops, and the leaf is
skipped when a branch targets the instructions taken in or the first
instruction of a widened prologue, or when a leaf without pushes pushes or
pops.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 02:47:12 -04:00
Dean af49a07885 Merge pull request #10691 from MarcZX10/marc/sweep-np-signaling
feat(libSceNpSignaling): implement sceNpSignalingDeactivateConnection
2026-10-25 19:30:19 +13:00
Dean 9a2020c220 Merge pull request #10425 from Retr0G28/fix/sendfile-nonregular-einval
fix(libkernel): fail sendfile with EINVAL for a file that is not a regular file
2026-10-25 19:29:21 +13:00
Dean 61fc572cee Merge pull request #10434 from Retr0G28/fix/linkat-directory-descriptor
fix(libkernel_sys): resolve linkat paths relative to a directory descriptor
2026-10-25 19:16:10 +13:00
Dean 74986c28bd Merge pull request #10559 from xTRACKGOD/fix/trace-digest-interval-identity
fix(tools): detect host and title changes in interval digests
2026-10-25 19:15:31 +13:00
Dean e599efd64d Merge pull request #10572 from ZSWolt/fix/libscenet-usleep-negative-log
fix(libSceNet): print the console's line for a negative sceNetUsleep
2026-10-25 19:06:10 +13:00
Dean fa33658dcd Merge pull request #10762 from AlexFigas/feat/np-close-event-flag
feat(libSceNpCommon): forward sceNpCloseEventFlag to sceKernelCloseEventFlag
2026-10-25 19:05:08 +13:00
Dean 8523ec776f Merge pull request #10673 from MarcZX10/marc/signatures-libscebgft
feat(libSceBgft): declare GetPatchProgress and GetTaskInfo with known signatures
2026-10-25 19:03:03 +13:00
Dean e7e3e9c198 Merge pull request #9844 from JJenkx/windows/libc-exp2f-msun
fix(libc): compute exp2f with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-25 16:36:34 +13:00
Dean 25c1aa1e79 Merge pull request #10187 from hypermoist/feat/spsyscallwrapper-getpid-select
feat(libSceSpSysCallWrapper): forward sceSpGetPid and sceSpSelect
2026-10-25 15:59:02 +13:00
Dean d8db8faef5 Merge pull request #9519 from Ondra97/codex/feat-freetype-outline-copy
feat(libSceFreeType): implement FT_Outline_Copy
2026-10-25 15:24:07 +13:00
Dean a2a67c726e Merge pull request #9059 from mehmetbayoglu/feat/libkernel-tls-get-addr
feat(libkernel): implement __tls_get_addr
2026-10-25 15:23:44 +13:00
Dean dc15ed6537 Merge pull request #9529 from 2Swagger/feat/libressl-error-queue
feat(libSceLibreSsl): implement the per-thread error queue
2026-10-25 15:17:22 +13:00
Dean d7878da690 Merge pull request #9169 from slopgobblercobbler/fix/socket-addr-validation
fix(libkernel): validate address family against socket family in bind
2026-10-25 15:17:00 +13:00
Ondra97 e3536381dc test(libSceFreeType): integrate outline copies into existing coverage 2026-10-25 02:44:39 +01:00
Ondra97 78bbd4bca6 chore(libSceFreeType): isolate outline copy test registration 2026-10-25 02:44:39 +01:00
Ondra97 a09cae07d8 chore(libSceFreeType): avoid overlapping integration edits 2026-10-25 02:44:39 +01:00
Ondra97 bd50dfb19d feat(libSceFreeType): implement FT_Outline_Copy 2026-10-25 02:44:39 +01:00
Dean 941ace5f34 Merge pull request #10272 from Felipebmaitan/feat/jobmanager-linux-reference
test(job-manager): run original-module fixtures on Linux
2026-10-25 14:43:13 +13:00
Dean 50a4f824fc Merge pull request #10186 from orezraey/fix/libscecescs-jis-encode-measured-ps5
fix(libSceCesCs): encode EUC-JP and Shift-JIS as measured on a PS5
2026-10-25 14:21:32 +13:00
Dean 1ee0382ccc Merge pull request #8951 from xdCloudy/feat/ps5-ssl-exports
feat(libSceSsl): declare PS5 pending exports
2026-10-25 14:21:09 +13:00
slopgobblercobbler 7239ebb63e fix(libkernel): validate address family against socket family in bind 2026-10-25 02:14:14 +01:00
Dean 096d770143 Merge pull request #10231 from Felipebmaitan/feat/jobmanager-owned-state
fix(job-manager): keep scheduling state in caller memory
2026-10-25 14:10:59 +13:00
Dean f4aabbb122 Merge pull request #10129 from orezraey/fix/libc-strftime-measured-ps5
fix(libc): format strftime and asctime fields as measured on a PS5
2026-10-25 14:02:08 +13:00
Dean c6b318cfd9 Merge pull request #9165 from MaxLikesCode/fix/pthread-timed-self-lock
fix(libkernel): time out timed locks of a lock the caller already holds
2026-10-25 14:01:45 +13:00
Dean 6bc12fcdf6 Merge pull request #10021 from klosixgaming-arch/fix/font-writing-line-horizontal
fix(libSceFont): resolve a default string direction at creation
2026-10-25 14:00:47 +13:00
Dean 3f97477838 Merge pull request #9338 from MaxLikesCode/feat/usbd-device-calls
feat(libSceUsbd): pass the device, packet size, alternate setting and halt calls through to libusb
2026-10-25 13:59:56 +13:00
Dean 471e062346 Merge pull request #10185 from orezraey/fix/libscecescs-mbcs-strings-measured-ps5
fix(libSceCesCs): terminate and count MBCS string conversions as measured on a PS5
2026-10-25 13:59:06 +13:00
SwagandClaude Opus 5.5 fe8520917a Merge upstream/main into feat/libressl-error-queue
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 20:29:59 -04:00
memob cf27259538 feat(libkernel): implement __tls_get_addr
Resolve a FreeBSD/ELF tls_index {module, offset} the way the relinker's
DTPMOD64 values are laid out: on Windows through the PE _tls_index the
module word points at and the thread's ThreadLocalStoragePointer, on
Linux through glibc's __tls_get_addr.
2026-10-24 20:29:20 -04:00
Dean b7865bbb6b Merge pull request #8344 from Retr0G28/fix/socketpair-getpeername-enotconn
fix(libkernel): return ENOTCONN from getpeername once a socketpair peer closed
2026-10-25 13:28:30 +13:00
klosixgaming-arch 0e46a0c497 fix(libSceFont): resolve a default string direction at creation
A string created from a text source in the default horizontal form (0x10)
reported 0x10. TEKKEN: DARK RESURRECTION (PPSA31371) passes the reported form
to sceFontCreateWritingLine, which only accepts 0x11 and 0x12, so the call
failed and the layout width was 0.

On firmware 13.42 sceFontCreateString decides the direction for a default-form
source and sceFontStringGetWritingForm returns the stored form. The string
gets 0x12 when its first strong character is left to right, 0x11 when it is
right to left, and 0x12 when it has none. Left-to-right and right-to-left marks
count as strong, embeddings and overrides do not, and text between an isolate
initiator and its PDI is skipped. Explicit 0x11 and 0x12 sources keep their
form.

The test follows the table reported on the pull request. Which characters are
strong is decided by Unicode block ranges here, not by the full bidi class
tables.
2026-10-24 19:21:23 -05:00
MaxandClaude Opus 5.5 55ff5484d6 fix(libkernel): time out timed locks of a lock the caller already holds
scePthreadMutexTimedlock on a mutex the caller holds, and
scePthreadRwlockTimedrdlock and scePthreadRwlockTimedwrlock on a rwlock
it holds for writing, returned EDEADLK at once. The console returns
ETIMEDOUT, as the prosper console oracle measured. They now sleep until
the timeout and return ETIMEDOUT, as FreeBSD libthr does. The POSIX
timed locks call these and change with them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 02:15:31 +02:00
Felipebmaitan b31ed5dc5b test(job-manager): refresh Linux reference on current prerequisites 2026-10-24 21:06:46 -03:00
Felipebmaitan 0d4025f98f fix(job-manager): refresh compute shutdown on public headers 2026-10-24 21:06:30 -03:00
Felipebmaitan 55efb35489 fix(job-manager): refresh GPU barriers with shared API types 2026-10-24 21:06:13 -03:00
Felipebmaitan 043c7de79a fix(job-manager): refresh profiler with shared API types 2026-10-24 21:05:57 -03:00
Felipebmaitan 8ab682946a fix(job-manager): refresh owned state on current prerequisites 2026-10-24 21:05:40 -03:00
Felipebmaitan 42bff60650 fix(job-manager): share registration imports and fixture types 2026-10-24 21:05:21 -03:00
Felipebmaitan 43efd58266 fix(job-manager): reconcile lifecycle with public headers 2026-10-24 21:05:08 -03:00
Dean cf528e78c6 Merge pull request #9160 from yabanana/feat/kernel-sys-thread-queries
feat(libkernel_sys): identify the initial pthread
2026-10-25 12:57:53 +13:00
Dean c4446bbb09 Merge pull request #9332 from rooklz/fix/windows-console-base
fix(relinker): prefer 0x400000 for Windows executables
2026-10-25 12:57:28 +13:00
MaxandClaude Opus 5.5 64ae578dda feat(libSceUsbd): pass the device, packet size, alternate setting and halt calls through to libusb
sceUsbdGetDevice, sceUsbdGetDeviceSpeed, sceUsbdGetMaxPacketSize,
sceUsbdGetMaxIsoPacketSize, sceUsbdOpenDeviceWithVidPid,
sceUsbdSetInterfaceAltSetting, sceUsbdClearHalt and
sceUsbdDetachKernelDriver follow FreeBSD 11.4 libusb10.c over the host
libusb. The packet sizes and the alternate setting checks are done as
FreeBSD does them, so the library records which interfaces are claimed,
and a device stays known while a handle to it is open.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 01:50:33 +02:00
Retr0 7a0bbc4897 Merge remote-tracking branch 'origin/main' into fix/sendfile-nonregular-einval
# Conflicts:
#	core/libs/tests/GuestSendfile.cpp
2026-10-25 02:47:13 +03:00
Dean ab6c1b7324 Merge pull request #10715 from oneandonlydean/test/quarantine-frame-replay-windows
test(agc): quarantine agc_driver_frame_replay on Windows until the recorder fix (#10711)
2026-10-25 12:45:06 +13:00
Dean 761cb46f84 Merge pull request #10350 from orezraey/fix/libkernel-socket-receive-flags-measured-ps5
fix(libkernel): keep the TCP flag and IP receive options a PS5 accepts
2026-10-25 12:44:40 +13:00
Dean c15c361163 Merge pull request #10361 from orezraey/fix/libscepad-open-checks-measured-ps5
fix(libScePad): answer scePadOpen's user, index and port checks as measured on a PS5
2026-10-25 12:44:15 +13:00
hypermistandClaude Opus 5.5 a81479ebea Merge remote-tracking branch 'upstream/main' into feat/spsyscallwrapper-getpid-select
Clean merge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 12:42:14 +13:00
xdCloudy 743d6b91e6 fix(prx): drop duplicate SSL initialization stubs 2026-10-24 16:35:54 -07:00