summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2015-10-30 02:46:02 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2015-10-30 02:46:02 (GMT)
commitf4b6dfbed5104504344038b3b522391ac8d19d81 (patch)
tree79768df97dd37c35b4f049770b7ad46e4a74401e
parent811c8790cfc2a5cf3806558be7aecac544037ebb (diff)
parente47b1858448b8ad1124c344d23f4b193add44445 (diff)
downloadconnman-accepted/tizen/mobile/20151030.063205.zip
connman-accepted/tizen/mobile/20151030.063205.tar.gz
connman-accepted/tizen/mobile/20151030.063205.tar.bz2
-rwxr-xr-xsrc/service.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 1ee4c4c..adbb1bc 100755
--- a/src/service.c
+++ b/src/service.c
@@ -472,6 +472,7 @@ connman_service_is_user_allowed(struct connman_service *service, uid_t uid)
return true;
}
+#if !defined TIZEN_EXT
static GList *connman_service_get_login_users()
{
struct utmpx *utmp;
@@ -497,9 +498,13 @@ static GList *connman_service_get_login_users()
return user_list;
}
+#endif
static bool is_service_owner_user_login(struct connman_service *service)
{
+#if defined TIZEN_EXT
+ return true;
+#else
GList *list, *user_list;
bool ret = false;
@@ -529,6 +534,7 @@ static bool is_service_owner_user_login(struct connman_service *service)
g_list_free(user_list);
return ret;
+#endif
}
int __connman_service_load_modifiable(struct connman_service *service)