feat(libkernel): implement sceKernelFcntl #3078
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3078"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T21:50:55Z.
What
Carry screamm's explicitly offered
sceKernelFcntlimplementation from issue #3048. It delegates supported socketF_GETFL/F_SETFLoperations to the existingfcntlexport, translates guest errors toSCE_KERNEL_ERROR_*, and throws for regular-file descriptors whose flags are not tracked. The source commit author is preserved.Tested
The contributor reports Windows 11 Pro 26220 / WinLibs GCC 15.2.0 / Release full build including
libs;guest_kernel_fcntlpassed 3/3 andctest -j8 -E "^agc_|video_out"passed 389/389. The reporter did not report Linux runtime tests. After rebasing onto currentmain, this session configured a Linux Release build, builtlibkernelandguest_kernel_fcntl_tests, and ranguest_kernel_fcntl5 times successfully; conventions andgit diff --checkpassed.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 repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T21:51:15Z.
Progress report (
2b83151→9902f13)📈 System libraries: 84.9% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceKernelFcntlImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T22:11:40Z.
Checked on Linux:
guest_kernel_fcntlpasses and fails without the change (negative check), plus the neighbouringguest_dup,guest_fstatfsandguest_kill; the nid-alias check is clean. The only conflict with main was theTechnicalDebt.mdline adjacency, so I rebased and moved the line off the end of the section. Merging once CI is green.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T22:16:46Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL489