feat(libkernel_sys): implement _dup2 export #13253
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13253"
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 iAbdulrrahman on 2026-10-30T08:09:07Z.
What
Implement
_dup2(W8f1adVl+48) inlibkernel_sysby forwarding tolibkernel'sdup2_nid_postfixas defined in FreeBSD 11.4 libclib/libc/sys/dup2.cand POSIX.1-2008. Add unit tests inGuestKernelSysDup.cppcovering invalid descriptors, identity descriptor duplication, and pipe duplication.Tested
Windows 11,
ctest --test-dir build -R guest_kernel_sys_dup --repeat until-fail:3 -V(passed 3/3 iterations).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:50:14Z.
Review: COMMENTED
Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (
Unblocks: noneis allowed), and it contained no code review.