Hi all,
I have an app, which will work on rooted phones. The app consist of a
java ui and native binary, which requires a root privilege.
I was planning to chown this binary to root and set a setid bit on it.
But it does not seem to take any effect, when I run this binary as an
app user, getuid() gives me a user id of this app, not of the root.
Also tried to do setuid(0) from the binary but getting "permission
denied".
Same binary works just fine on linux. Any ideas?
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to