ffi-shim system snapshot uses utmpx on Android where Bionic lacks usable struct utmpx #75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The Android build failed compiling
ffi-shim.cin the system snapshot path because Android/Bionic does not provide a usablestruct utmpxAPI even though some names may be visible.Local workaround was to guard the
jsh_system_w_snapshotutmpx loop with#if defined(__ANDROID__), leaving only the header output and markinguser_filterunused on Android.Expected: Android builds should skip or replace the utmpx-backed user/session scan.
Actual: the Linux/Unix utmpx code is compiled on Android and fails.