On May 12, 11:02 pm, toto <[email protected]> wrote:
> I have a theory
> since terminal application is signed with same certificate as the
> system certificate it has the ability to perform superuser actions
> What you probably meant is that a 3rd party applications (which are
> signed with different keys) won't pass the authorization rules.
> is my theory getting close?
It's even simpler than that. In system/extras/su/su.c:
if (myuid != AID_ROOT && myuid != AID_SHELL) {
fprintf(stderr,"su: uid %d not allowed to su\n", myuid);
return 1;
}
So it should not work in the terminal application, but it should work
from "adb shell".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---