From 0d9e3093de369667797ef321616d236b601ae3f3 Mon Sep 17 00:00:00 2001 From: Yinchu Chen Date: Fri, 25 Aug 2023 04:22:06 +0000 Subject: Increase the number of service supplementary group 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 Change-Id: I231d9f6c82e93c08bc97ca32df70e5b28760acbc --- init/service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3