Repository navigation
Conversation
Prospero Vibrate (PPSA99920 v1.0) imports preadv (ZaRzaapAZwM), pwritev (FCcmRZhWtOk) and sync (Y2OqwJQ3lr8) from libkernel. On main its first stop is pthread_sigmask (JZKw5+Wrnaw, boykopovar#2106); with boykopovar#2106 merged it stops at FAIL: unresolved ELF import ZaRzaapAZwM from libkernel.prx preadv and pwritev go through sceKernelPreadv and sceKernelPwritev and return -1 with the guest errno on failure. sync calls sceKernelSync. With boykopovar#2106 and this change the title has no absent imports and reaches its entry point. It then stops at an access violation reading 0x28 on a stack-protector load of %fs:0x28 that the relinker left unpatched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 10, 2026
Owner
Author
|
Covered upstream: preadv and pwritev by boykopovar#3005, sync by boykopovar#3104 (both merged). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Exports the POSIX
preadv,pwritevandsyncfrom libkernel.preadvandpwritevgo through the existingsceKernelPreadvandsceKernelPwritev, which already have Windows and POSIX implementations, and return -1 with the guest errno on failure.synccallssceKernelSync.Why
Prospero Vibrate (PPSA99920 v1.0) imports all three from libkernel. Its absent imports on
mainb5f5362 are exactly these three pluspthread_sigmask(boykopovar#2106). Each one is the title's next stop in turn:mainFAIL: unresolved ELF import JZKw5+Wrnaw from libkernel.prx(pthread_sigmask)main+ boykopovar#2106ZaRzaapAZwM(preadv)main+ boykopovar#2106 + preadvFCcmRZhWtOk(pwritev)main+ boykopovar#2106 + preadv + pwritevY2OqwJQ3lr8(sync)main+ boykopovar#2106 + this PRTransferring control to ELF entry pointAfter the entry point, the title (a .NET NativeAOT program) reads
/proc/self/mountinfo,/proc/meminfoand the CPU cache sizes and starts its.NET Finalizerthread. It then stops with an access violation reading 0x28, on a stack-protector load of%fs:0x28that the relinker left unpatched. That is a separate relinker issue.Tested
Windows 11, WinLibs GCC 15.2.0 r7.
guest_file_vector:pwritevandpreadvat an offset through two iovecs, checking the file contents. A negative offset gives -1 with EINVAL and a bad descriptor -1 with EBADF.guest_kernel_sync:sync()clears a recorded entry of a deleted file.check_conventions.pypassed.mainwith feat(libkernel): implement pthread_sigmask boykopovar/AnyPS5#2106 merged locally only for the evidence runs.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository🤖 Generated with Claude Code