Update AID_ISOLATED_START to include new range.

The AppZygote allocates UIDs out of the [90000..98999] range.

Bug: 111434506
Test: builds
Change-Id: I7846a81077636f6f9aff2880f1c9ee01c6f98257
This commit is contained in:
Martijn Coenen 2019-01-10 08:42:32 +01:00
parent 91fa140312
commit cb88bc95fc

View file

@ -190,7 +190,8 @@
*/
#define AID_OVERFLOWUID 65534 /* unmapped user in the user namespace */
#define AID_ISOLATED_START 99000 /* start of uids for fully isolated sandboxed processes */
/* use the ranges below to determine whether a process is isolated */
#define AID_ISOLATED_START 90000 /* start of uids for fully isolated sandboxed processes */
#define AID_ISOLATED_END 99999 /* end of uids for fully isolated sandboxed processes */
#define AID_USER 100000 /* TODO: switch users over to AID_USER_OFFSET */