> As said above, each Android process has its uid and gid set given when
> zygote launches it. These gids are connected to permissions (eg:
> internet,bluetooth), but not all of them.
> For such type of permissions, just a gid check suffices. For other
> types, the PackageManagerService maintains a data structure that
> contains the set of given permissions. The requested permission is
> compared against this list.

Would I be able to find a list of which permissions (internet,
bluetooth, etc...) are tied to the Linux gids?
Are the permissions that are tied to the GIDs the following list or a
subset of this list?
http://developer.android.com/reference/android/Manifest.permission.html

As for the other type of permissions,
application component access by ActivityManagerService -> Is this for
something like accessing user content providers?
apks by PackageManagerService -> like Google Maps asks for permissions
for "android.permission.ACCESS_GPS" during install?

I am trying to find the separation between permission checks done by
UID/GID checks and the other types by PackageManagerService.

I think if PackageManagerService gets involved, a context switch has
to happen, and that's expensive, where if it's just GID check, no
context switch is needed.

Thanks a bunch!
-J

-- 
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