Repository navigation
feat(kernel): implement file metadata ops and address conversion - #169
Merged
Merged
Conversation
Progress report (f881e02 → a4e755c)📈 System libraries: 75.31% (+0.23%, +6 implemented, -1 removed functions) ✅ 6 implemented
🗑️ 1 removed
|
oneandonlydean
added a commit
to oneandonlydean/AnyPS5
that referenced
this pull request
Sep 30, 2026
…d address conversion)
asimplestray
force-pushed
the
feat/kernel-file-ops
branch
from
September 30, 2026 16:51
fb40f73 to
a4e755c
Compare
8 of 9 tasks
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
Implements 6 generic
libkernelentry points:sceKernelChmod-> existingchmodalias;sceKernelFtruncate-> existingftruncatealias (File/src/Stdio.cpp).sceKernelTruncate(resize_file,SceErrorreturns likesceKernelRename),sceKernelUtimes(utimes/_wutime,SceErrorreturns).inet_ntop/inet_pton-> existing__inet_ntop/__inet_pton(Socket/src/Socket.cpp).rename_nid_postfixstub fromlibkernel/Unimplemented.cpp: the working errno-style implementation already lives inlibcand the stub shadowed it at link time once the filesystem test links both libraries.Rebased on current
main:sceKernelFsync(previously in this PR) is now upstream's, and theApr*Submit/Wait+shutdownstubs removed here as duplicates of newly merged implementations.Tested
Linux (GCC,
BUILD_TESTING=ON,ANYPS5_ENABLE_SPIRV_TOOLS=OFF): full build,ctest70/70 pass, including extendedguest_filesystem(chmod, truncate shrink+content, missing-file code, utimes-to-now, fsync+ftruncate on a real descriptor) and extendedguest_udp(v4/v6 pton+ntop round trips, bad family, bad text, short buffer). Patchedlibkernel.prxexports all 6 NIDs (verified withnm -D).Checklist
main; no other open PR implements the same functions (checked open PRs: none touch these).mdfiles or images added to the repository (attach them to this PR)