Reputation: 531
I am wondering how it's possible to get the granted capabilities for a file on the Android file system. libcap is not available for me, therefore, I can't use its functionalities to fetch this.
Is there any other option?
Upvotes: 1
Views: 752
Reputation: 122
You can use termux app
Run app and then install libcap. Libcap will installed locally for termux:
$ pkg install libcap -y
...
lets check it on Android 7.1.1
$ getcap /system/bin/run-as
/system/bin/run-as = cap_setgid, cap_setuid+ep
Upvotes: 0