version up to 0.5.87 : fixed mod/smack of db path for security policy 91/147091/2
authorIckhee Woo <ickhee.woo@samsung.com>
Fri, 1 Sep 2017 02:10:07 +0000 (11:10 +0900)
committerIckhee Woo <ickhee.woo@samsung.com>
Fri, 1 Sep 2017 02:14:28 +0000 (11:14 +0900)
Change-Id: Id050b89d5c16798dd5817809d7307f3191118716
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
aarch64/bin/push_tool
aarch64/bin/pushd
aarch64/lib64/libpush.so.0.2.12
packaging/push.spec
x86/bin/push_tool
x86/bin/pushd
x86/lib/libpush.so.0.2.12
x86_64/bin/push_tool
x86_64/bin/pushd
x86_64/lib64/libpush.so.0.2.12

index 744295e..5c8c346 100755 (executable)
Binary files a/aarch64/bin/push_tool and b/aarch64/bin/push_tool differ
index 5778b06..e7dfd55 100755 (executable)
Binary files a/aarch64/bin/pushd and b/aarch64/bin/pushd differ
index 32fe0b4..568a689 100644 (file)
Binary files a/aarch64/lib64/libpush.so.0.2.12 and b/aarch64/lib64/libpush.so.0.2.12 differ
index 8d96a44..f106026 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       push
 Summary:    Push services and client library
-Version:    0.5.86
+Version:    0.5.87
 Release:    1
 Group:      Application Framework/Service
 License:    Apache-2.0
@@ -158,11 +158,10 @@ mkdir -p %{TZ_SYS_GLOBALUSER_DB}
 sqlite3 %{TZ_SYS_GLOBALUSER_DB}/.push.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
 chown service_fw:service_fw %{TZ_SYS_GLOBALUSER_DB}/.push.db
 chown service_fw:service_fw %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
-chmod 644 %{TZ_SYS_GLOBALUSER_DB}/.push.db
-chmod 644 %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
-
-chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db
-chsmack -a "*" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
+chmod 600 %{TZ_SYS_GLOBALUSER_DB}/.push.db
+chmod 600 %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
+chsmack -a "System" %{TZ_SYS_GLOBALUSER_DB}/.push.db
+chsmack -a "System" %{TZ_SYS_GLOBALUSER_DB}/.push.db-journal
 
 %post -n libpush
 /sbin/ldconfig
index 7375cb8..e731052 100755 (executable)
Binary files a/x86/bin/push_tool and b/x86/bin/push_tool differ
index 92d0b2f..38ede26 100755 (executable)
Binary files a/x86/bin/pushd and b/x86/bin/pushd differ
index 9904c35..262ca8c 100644 (file)
Binary files a/x86/lib/libpush.so.0.2.12 and b/x86/lib/libpush.so.0.2.12 differ
index 060514b..e8f8ca5 100755 (executable)
Binary files a/x86_64/bin/push_tool and b/x86_64/bin/push_tool differ
index 9e41976..1f3bad0 100755 (executable)
Binary files a/x86_64/bin/pushd and b/x86_64/bin/pushd differ
index 38f110b..7086b1e 100644 (file)
Binary files a/x86_64/lib64/libpush.so.0.2.12 and b/x86_64/lib64/libpush.so.0.2.12 differ