From cb88bc95fca74e101cbfc36fcb37d3ab44a13dea Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Thu, 10 Jan 2019 08:42:32 +0100 Subject: [PATCH] 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 --- libcutils/include/private/android_filesystem_config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcutils/include/private/android_filesystem_config.h b/libcutils/include/private/android_filesystem_config.h index 07236120e..03edfb5dd 100644 --- a/libcutils/include/private/android_filesystem_config.h +++ b/libcutils/include/private/android_filesystem_config.h @@ -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 */