[Tizen][PushD] Privilege fix with manifest & fix memory leak (chase up to Private... 53/43353/1 accepted/tizen/mobile/20150709.054310 accepted/tizen/tv/20150709.054324 accepted/tizen/wearable/20150709.054344 submit/tizen/20150709.012503
authorHaJun, Sung <hajun.sung@samsung.com>
Wed, 8 Jul 2015 09:04:31 +0000 (18:04 +0900)
committerHaJun, Sung <hajun.sung@samsung.com>
Wed, 8 Jul 2015 09:04:31 +0000 (18:04 +0900)
Change-Id: Iaea8b43736e7988af7ac715f14eac65f8ed4ced8
Signed-off-by: HaJun, Sung <hajun.sung@samsung.com>
14 files changed:
aarch64/bin/push_tool
aarch64/bin/pushd
aarch64/lib64/libpush.so.0.2.12
arm/bin/push_tool
arm/bin/pushd
arm/lib/libpush.so.0.2.12
libpush.manifest
packaging/push.spec [changed mode: 0755->0644]
packaging/pushd.service [changed mode: 0755->0644]
push-bin.manifest
push-tool.manifest
x86/bin/push_tool
x86/bin/pushd
x86/lib/libpush.so.0.2.12

index 68aaef6..8e19627 100755 (executable)
Binary files a/aarch64/bin/push_tool and b/aarch64/bin/push_tool differ
index e718c94..43f2631 100755 (executable)
Binary files a/aarch64/bin/pushd and b/aarch64/bin/pushd differ
index 13f84af..66af5de 100644 (file)
Binary files a/aarch64/lib64/libpush.so.0.2.12 and b/aarch64/lib64/libpush.so.0.2.12 differ
index 4ba0cf1..574c23d 100755 (executable)
Binary files a/arm/bin/push_tool and b/arm/bin/push_tool differ
index 1f48a30..a96c2a7 100755 (executable)
Binary files a/arm/bin/pushd and b/arm/bin/pushd differ
index eca88f6..d6b452a 100644 (file)
Binary files a/arm/lib/libpush.so.0.2.12 and b/arm/lib/libpush.so.0.2.12 differ
index f2b785f..97e8c31 100644 (file)
@@ -2,8 +2,4 @@
        <request>
                <domain name="_"/>
        </request>
-        <assign>
-                <filesystem path="/usr/lib/libpush.so.0.2.12" label="_"/>
-                <filesystem path="/usr/lib/libpush.so.0" label="_"/>
-        </assign>
 </manifest>
old mode 100755 (executable)
new mode 100644 (file)
index 8febd04..b00d139
@@ -2,7 +2,7 @@
 
 Name:       push
 Summary:    Push services and client library
-Version:    0.4.09
+Version:    0.4.17
 Release:    1
 Group:      Application Framework/Service
 License:    Apache-2.0
old mode 100755 (executable)
new mode 100644 (file)
index bc11369..97e8c31 100644 (file)
@@ -1,52 +1,5 @@
 <manifest>
-       <define>
-               <domain name="push-service" policy="restricted" plist="push-bin"/>
-               <request>
-                       <smack request="system::use_internet" type="rw"/>
-                       <smack request="sys-assert::core" type="rwxat"/>
-                       <smack request="telephony_framework::api_modem" type="r"/>
-                       <smack request="telephony_framework::api_sim" type="r"/>
-                       <smack request="telephony_framework::api_network" type="r"/>
-                       <smack request="telephony_framework::properties" type="rw"/>
-                       <smack request="pkgmgr::info" type = "r"/>
-                       <smack request="pkgmgr::db" type = "rlx"/>
-                       <smack request="data-provider-master::notification" type="rw"/>
-                       <smack request="data-provider-master::notification.client" type="w"/>
-                       <smack request="data-provider-master::badge" type="rw"/>
-                       <smack request="data-provider-master::badge.client" type="w"/>
-                       <smack request="connman" type="rw" />
-                       <smack request="connman::get" type="rw" />
-                       <smack request="connman::profile" type="rw" />
-                       <smack request="net-config" type="rw" />
-                       <smack request="deviced::display" type="rw" />
-                       <smack request="secure-storage" type="rw" />
-                       <smack request="security-server::api-privilege-by-pid" type="w"/>
-                       <smack request="alarm-server::alarm" type = "w"/>
-                       <smack request="device::app_logging" type = "rw"/>
-                       <smack request="device::sys_logging" type = "rw"/>
-                       <smack request="push-service::db" type = "rw"/>
-                       <smack request="system::vconf" type = "rwxat"/>
-                       <smack request="system::vconf_inhouse" type = "rl"/>
-                       <smack request="system::vconf_network" type = "rl"/>
-                       <smack request="system::vconf_setting" type = "rl"/>
-                       <smack request="badge::db" type = "rl"/>
-                       <smack request="aul::launch" type = "x"/>
-               </request>
-               <permit>
-                       <smack permit="system::use_internet" type="w"/>
-                       <smack permit="dbus" type="rx"/>
-               </permit>
-               <provide>
-                       <label name="push-service::db"/>
-                       <label name="push-service::push"/>
-               </provide>
-       </define>
        <request>
                <domain name="_"/>
        </request>
-       <assign>
-               <filesystem path="/etc/init.d/pushd" label="_" exec_label="none"/>
-               <filesystem path="/etc/rc.d/rc3.d/S90pushd" label="_" exec_label="none"/>
-               <filesystem path="/etc/rc.d/rc5.d/S90pushd" label="_" exec_label="none"/>
-       </assign>
 </manifest>
index 8773fef..97e8c31 100644 (file)
@@ -1,9 +1,5 @@
 <manifest>
-       <define>
-               <domain name="push-tool" policy="restricted" plist="push-tool"/>
-               <request>
-                       <smack request="push-service::db" type="rw"/>
-                       <smack request="push-service::push" type="w"/>
-               </request>
-       </define>
+       <request>
+               <domain name="_"/>
+       </request>
 </manifest>
index 5bd9329..35b174b 100755 (executable)
Binary files a/x86/bin/push_tool and b/x86/bin/push_tool differ
index 24c1d10..5909f68 100755 (executable)
Binary files a/x86/bin/pushd and b/x86/bin/pushd differ
index 1af4fde..c3bf3dc 100644 (file)
Binary files a/x86/lib/libpush.so.0.2.12 and b/x86/lib/libpush.so.0.2.12 differ