summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinchu Chen <chenyc5@motorola.com>2023-08-25 04:22:06 +0000
committerJiyong Park <jiyong@google.com>2023-08-28 09:40:22 +0900
commit0d9e3093de369667797ef321616d236b601ae3f3 (patch)
tree71a81dc40232970b63a4205522d4f99699c6af22
parent690101432dea4904b5b5c414f0551186337da242 (diff)
downloadcore-android14-gsi.tar.gz
Increase the number of service supplementary groupandroid14-gsi
OEM can add self-owned groups, but the system init cannot support if the group numbers are over than 12, relax some restrictions as appropriate. Bug: b/296826987 Merged-In: I231d9f6c82e93c08bc97ca32df70e5b28760acbc Signed-off-by: Haichao Li <liuhc3@motorola.com> Change-Id: I231d9f6c82e93c08bc97ca32df70e5b28760acbc
-rw-r--r--init/service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/service.h b/init/service.h
index 3ef890299..6e7459562 100644
--- a/init/service.h
+++ b/init/service.h
@@ -59,7 +59,7 @@
#define SVC_GENTLE_KILL 0x2000 // This service should be stopped with SIGTERM instead of SIGKILL
// Will still be SIGKILLed after timeout period of 200 ms
-#define NR_SVC_SUPP_GIDS 12 // twelve supplementary groups
+#define NR_SVC_SUPP_GIDS 32 // thirty two supplementary groups
namespace android {
namespace init {