Change UID range for regular users from [5000 ~ 5999] to [5000 ~ 9999] 01/207001/2 accepted/tizen/unified/20190611.050135 submit/tizen/20190610.070257 submit/tizen/20190610.124558
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 30 May 2019 01:52:07 +0000 (10:52 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 5 Jun 2019 05:13:05 +0000 (14:13 +0900)
Change-Id: Ic78d1065c804ecc1838a2f334bf652ada4aa0809
Refs: https://wiki.tizen.org/Security/User_and_group_ID_assignment_policy

data/tizen/etc/gumd/gumd-tizen-common.conf
src/common/gum-config.c

index 07dcc3c..ff3c89a 100755 (executable)
@@ -83,8 +83,8 @@ SYS_UID_MAX=499
 UID_MIN=5000
 
 # Maximum value for the automatic uid selection.
-# Default value is: 5999
-UID_MAX=5999
+# Default value is: 9999
+UID_MAX=9999
 
 # Minimum value for the automatic gid selection for system user.
 # Default value is: 100
index 66623d2..0c4e7a7 100755 (executable)
@@ -112,7 +112,7 @@ G_DEFINE_TYPE (GumConfig, gum_config, G_TYPE_OBJECT);
 #define SYS_UID_MIN  100
 #define SYS_UID_MAX  499
 #define UID_MIN      5000
-#define UID_MAX      5999
+#define UID_MAX      9999
 
 #define SYS_GID_MIN  100
 #define SYS_GID_MAX  499