Searched refs:AID_USER_OFFSET (Results 1 – 9 of 9) sorted by relevance
21 return uid / AID_USER_OFFSET; in multiuser_get_user_id()25 return uid % AID_USER_OFFSET; in multiuser_get_app_id()29 return (user_id * AID_USER_OFFSET) + (app_id % AID_USER_OFFSET); in multiuser_get_uid()
159 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in get_supplementary_gids()217 if ((UID_MAX - info.uid) / AID_USER_OFFSET < (uid_t)userId) { in main()222 uid_t userAppId = (AID_USER_OFFSET * userId) + info.uid; in main()
211 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
105 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in GetSupplementaryGids()
349 uid_t userId = uid % AID_USER_OFFSET; in UidToNameLocked()
123 constexpr int BASE_UID = AID_USER_OFFSET * 5;