Hi,

I’m trying to come up with a proof of concept to set file capabilities on 
Android. The capability support on Android is limited — not all APIs in the 
libcap2 package for Linux seem to exist.

Are all Linux defined file capabilities supported on Android, including 
security? If so, how do I do the equivalent of getcap and setcap once I 
adb-shell into the device? The goal really is build a simple program (for 
example - an executable that allows the user to change uid to root via 
CAP_SETUID) using the SDK/NDK tools.

Thank you for the help.

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to