From 5de232abfcb829237305b39330eb70b9e57bd5e1 Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Thu, 30 May 2019 10:52:07 +0900 Subject: [PATCH] Change UID range for regular users from [5000 ~ 5999] to [5000 ~ 9999] Change-Id: Ic78d1065c804ecc1838a2f334bf652ada4aa0809 Refs: https://wiki.tizen.org/Security/User_and_group_ID_assignment_policy --- data/tizen/etc/gumd/gumd-tizen-common.conf | 4 ++-- src/common/gum-config.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/tizen/etc/gumd/gumd-tizen-common.conf b/data/tizen/etc/gumd/gumd-tizen-common.conf index 07dcc3c..ff3c89a 100755 --- a/data/tizen/etc/gumd/gumd-tizen-common.conf +++ b/data/tizen/etc/gumd/gumd-tizen-common.conf @@ -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 diff --git a/src/common/gum-config.c b/src/common/gum-config.c index 66623d2..0c4e7a7 100755 --- a/src/common/gum-config.c +++ b/src/common/gum-config.c @@ -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 -- 2.7.4