From 9a5182c893700c917b205b62697b25c4d016ae80 Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Wed, 19 Aug 2015 10:20:17 +0900 Subject: Remove the smack_fsetlabel for system::use_internet Signed-off-by: hyunuktak Change-Id: Iae03c564dfba3b9fd35ca751856aecbfcc58d7fc --- packaging/connman.spec | 2 +- src/dnsproxy.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packaging/connman.spec b/packaging/connman.spec index f78e0a6c..9abc7a32 100755 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -1,6 +1,6 @@ Name: connman Version: 1.26 -Release: 2 +Release: 3 License: GPL-2.0+ Summary: Connection Manager Url: http://connman.net diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 185d6f17..948433df 100755 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -3917,13 +3917,6 @@ static GIOChannel *get_listener(int family, int protocol, int index) return NULL; } -#if defined TIZEN_EXT - if (smack_fsetlabel(sk, "system::use_internet", SMACK_LABEL_IPOUT) != 0) - connman_error("Failed to label system::use_internet"); - - if (smack_fsetlabel(sk, "system::use_internet", SMACK_LABEL_IPIN) != 0) - connman_error("Failed to label system::use_internet"); -#endif #if defined TIZEN_EXT /* When ConnMan crashed, * probably DNS listener cannot bind existing address */ -- cgit v1.2.3