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
# Commands run by the launchd job com.hakios.demo (see com.hakios.demo.plist).
# The user database (RC_JOBS=rc.jobs.users). Darwin has no flat-file user lookup left: getpwuid and
# getpwnam go over Mach to com.apple.system.libinfo.muser, which usermanagerd serves, and a program
# 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. Darwin'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 Darwin: 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
/bin/ps -U mobile -o user,uid,pid,comm