I hacked together a lstopo APK, and the patch I sent earlier makes a
difference, although lstopo still doesn't fully work on Android.
The statically linked binary you sent earlier, run directly on the
shell (as root in an emulator):
Machine (1499MB total) + NUMANode L#0 (P#0 1499MB) +
Brice Goglin, on Tue 25 Oct 2016 10:56:30 +0200, wrote:
> It's not running as an
> APK, but it's running inside a shell that was launched by an APK
> (sshdroid, a ssh server shell). Not sure why this would be different?
IIRC such shells have to circumvent some OS protections to run. So
I have not tested master because the library I'm using is not
prepared for hwloc 2.
I'll try to prepare a "quick and dirty" lstopo APK to check my
permission management assumptions, and also to check master.
>On Tue, 25 Oct 2016 10:56:30 +0200
Thanks. I am applying the patch to git master and v1.11 branches.
I tested my static build of lstopo-no-graphics on Android 6 on aarch64
, it still works without disabling openat. It's not running as an
APK, but it's running inside a shell that was launched by an APK
(sshdroid, a ssh server