Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.
C
rc.jobs.users: write down how the user-database question came out
vcvkk6568ce42d4f7
diff --git a/userland/rc.jobs.users b/userland/rc.jobs.usersindex 090d58d..a2913ff 100644--- a/userland/rc.jobs.users+++ b/userland/rc.jobs.users@@ -4,6 +4,17 @@# that cannot reach it sees every user as missing ("No user exists for uid 0" is what OpenSSH says).# ps is the probe already in the image: it calls getpwuid for every process and prints the bare uid# when there is no answer, and `ps -U NAME` is a getpwnam that fails loudly.+#+# How it came out, so nobody re-runs the argument. iOS's own database answers: all three questions+# below succeed, usermanagerd is up serving muser, and in 112 run logs not one lookup of that name+# has ever failed. What did not answer was OpenSSH from the package manager's prefix, and the reason+# is that it never asks iOS: ssh-keygen and sshd import _ie_getpwnam, _ie_getpwuid and _ie_getpwent+# from @rpath/libiosexec.1.dylib, Procursus's own shim, which reads /var/jb/etc/pwd.db and spwd.db --+# the plain /var/jb/etc/passwd is not even in its string table -- and those two files are built by+# pwd_mkdb at install time, which no hand-unpacked overlay has done. The sileo2 copy now runs+# pwd_mkdb when it grafts the prefix, every boot, and ssh works. Note what follows: a prefix binary's+# user lookups never reach com.apple.system.libinfo.muser at all, so which launchd domain+# usermanagerd sits in cannot be what decides whether sshd can resolve root./sbin/mount/bin/ps -A -o user,uid,pid,comm/bin/ps -U root -o user,uid,pid,comm