Repository navigation
feat(libkernel): implement getuid, geteuid, getgid, getegid and issetugid - #1650
Conversation
|
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.
|
|
Two homebrew catalog titles stop on these at load on Linux Of the 38 catalog apps we ran, 26 import Edit: with this PR merged onto f145139 (same sandbox), both apps get past these: ProsperoTV's next stop is |
|
Thanks for testing it with the catalog titles. The remaining failures ( |
|
Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
No title was run. 🤖 Addressed by Claude Code |
|
Thanks @popcoder565 for the Windows run: it builds and the full suite passes. There are no pending changes here. |
|
Checked: build + full ctest (518/518) on top of current main, CI green on the head, no other open PR implements these exports. The returned values (0, root identity; Please add a small guest test in a follow-up PR that pins the five return values, so a later change to them shows up in ctest. |
What
Part of #1578.
getuid,geteuid,getgidandgetegidare absent imports that block 20 to 23 of the 34 relinking catalog titles, andissetugidblocks 15; none had an open PR.They return 0, the root identity of a jailbroken process, and
issetugidreturns 0 (credentials never changed). The host user and group are not exposed to the guest. The values are not verified on a console, so they are recorded inTechnicalDebt.md; the NIDs resolve by name (getpidis exported the same way).Tested
Linux: full build,
libkernel.prxexports the five symbols;tools/check_conventions.py --base upstream/mainpasses. No title run.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repository