Files
AnyPS5/docs/dev/debt/libkernel_web.md
T
DostonandClaude Opus 5.5 418e5c817b feat(libkernel_web): forward _dup2, _execve and _execvpe to libkernel_sys
The libkernel_web variants of _dup2, _execve and _execvpe threw while the
libkernel_sys exports of the same names are implemented. Forward them,
give the declarations their prototypes, and link libkernel_web against
libkernel_sys through its own CMakeLists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:14:43 +05:00

10 lines
1.1 KiB
Markdown

# libkernel_web technical debt
### Unknown function info
- 43 [libkernel_web exports](../../../core/libs/prx/libkernel_web/Export.cpp) carry the PS5 3.20 import names whose `tools/nid_names.py` hash equals their NID (`__freeze`, `__sceKernelGetGPI`, the `__sys_*` wrappers, `_dup2`, `_execve`, `_execvpe`, `_wait4`, `sceKernelGetPrefixVersion`, `sceKernelIccGetThermalAlert`). A name match does not establish their prototypes or behavior: the other 40 keep the no-parameter import-resolution convention and throw through `NotImplemented_nid_no_patch`. Source: [PS5-3.20_Libs](https://github.com/DNNDHH/PS5-3.20_Libs).
### Functional
- [`_dup2`, `_execve` and `_execvpe`](../../../core/libs/prx/libkernel_web/Export.cpp) are unverified on a console. They assume the prototypes and behavior of the libkernel_sys exports of the same names and forward to those implementations, so their errno results and the limits in the [libkernel_sys debt](libkernel_sys.md) apply. Whether the console's libkernel_web variants differ from libkernel_sys is not known. Closes when: compared with the console.