Reputation: 20936
I know that there are a number of system user IDs and a number of UIDs that corresponds to user applications. So I have the following questions:
Upvotes: 6
Views: 2884
Reputation: 3029
According to system/core/include/private/android_filesystem_config.h, 0 is for root (obviously), UIDs 1000-9999 (from AID_SYSTEM
to AID_NOBODY
) are reserved by the system. And as the documentation says, the range of UIDs, reserved for user applications is 10000-99999 (from FIRST_APPLICATION_UID
to LAST_APPLICATION_UID
).
Upd: Since Android 4.1.1 the range of UIDs, reserved for user applications is 10000-19999.
Upvotes: 10
Reputation: 12367
I think they are 4 byte integers. Not sure signed or not - in any case there is there is a enough of them ;)
Upvotes: 0