daemon: remove unknown user when getting normal user list 54/35454/3
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 16 Feb 2015 06:00:01 +0000 (15:00 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 16 Feb 2015 11:46:10 +0000 (20:46 +0900)
If user does not have any types then gumd will give normal user type forced
So there were included so many noise users
This patch will collect absolute normal type users

Change-Id: Ifadd243ec6a0cc9f76dda52ee1f86fd32f66c389
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
src/daemon/core/gumd-daemon-user.c

index 3805c9f..f0b0ea1 100644 (file)
@@ -2130,8 +2130,6 @@ gumd_daemon_user_get_user_list (
         if (ut == GUM_USERTYPE_NONE) {
             if (pent->pw_uid >=sys_uid_min && pent->pw_uid <= sys_uid_max)
                 ut = GUM_USERTYPE_SYSTEM;
-            else
-                ut = GUM_USERTYPE_NORMAL;
         }
         if (ut & in_types) {
             g_variant_builder_add (&builder, "u", pent->pw_uid);