From 7c0f99e8d4c337c3e4dbb77f7f8387909d8c0f99 Mon Sep 17 00:00:00 2001 From: Ickhee Woo Date: Fri, 1 Sep 2017 11:10:07 +0900 Subject: [PATCH] version up to 0.5.87 : fixed mod/smack of db path for security policy Change-Id: Id050b89d5c16798dd5817809d7307f3191118716 Signed-off-by: Ickhee Woo --- aarch64/bin/push_tool | Bin 19488 -> 19488 bytes aarch64/bin/pushd | Bin 320352 -> 320352 bytes aarch64/lib64/libpush.so.0.2.12 | Bin 83760 -> 83760 bytes packaging/push.spec | 11 +++++------ x86/bin/push_tool | Bin 17984 -> 17984 bytes x86/bin/pushd | Bin 338288 -> 338288 bytes x86/lib/libpush.so.0.2.12 | Bin 91928 -> 91928 bytes x86_64/bin/push_tool | Bin 18848 -> 18848 bytes x86_64/bin/pushd | Bin 323600 -> 323600 bytes x86_64/lib64/libpush.so.0.2.12 | Bin 84856 -> 84856 bytes 10 files changed, 5 insertions(+), 6 deletions(-) diff --git a/aarch64/bin/push_tool b/aarch64/bin/push_tool index 744295e8e325d8b15624bda942e805c0b7edf62a..5c8c3467454b0ecfb8a315564b5f80fc19b19c30 100755 GIT binary patch delta 45 zcmV+|0Mh@Um;s=e0kBL06diCJ@Ndjo^)Gi(0<%BR^d9tgi?d(?z(E8791CuufPheuUvtTse zKHrL2-2g}*&tl%r2&C(Cn8R6s^z{Pf=aN8re;2bqACTss$y{#)r29`Z^Roi!`4^a< zYXIr?pUm!@K>9orOFu|oJUa`!7?4hvWw|Z@r0w-srn3R*>n1F=%UE7>dunc%xXt3h F0RZVoHf;a^ delta 170 zcmaEGO!&bu;SD}aA`IpK*QXzv{h_xmzQ}~lsl!0Q^L}#zQ+omvBM>ufPheuUvtTsa zKHrL2-2g}*&tl%r2&C(Cn8R6s^z{Pf=aN8re;2bqACTss$y{#)r29`Z^Roi!`4^a< zYXIr?pUm!@K>9orOFu|oJUa`!7?4hvWw|Z@r0w-srn3R*>n1F=%UFul)Q@bJxXt3h F0RRp#IA#C< diff --git a/aarch64/lib64/libpush.so.0.2.12 b/aarch64/lib64/libpush.so.0.2.12 index 32fe0b4d578eeaca5f6ba3a671e189e7d66bf28d..568a689858220f7479029bf08a4305eb6a288d76 100644 GIT binary patch delta 69 zcmdnc$GQQC7BGtZIP=52E@Kndn&;cUJeLd(%J_O{!{#lFR___jH^2WNF3D)Vot=xZ YoCQeN^D+K3U=ev<@Me3BJ>wR30EJl|X#fBK delta 69 zcmdnc$GQQC7BGq&exnreztQEBQyq(4H*aCIde3OK`TYlRNk+5n>|BiH YEI_)RkMXAgOTt2z9ouW{8Mm+l0QY4ZIRF3v diff --git a/packaging/push.spec b/packaging/push.spec index 8d96a44..f106026 100644 --- a/packaging/push.spec +++ b/packaging/push.spec @@ -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 diff --git a/x86/bin/push_tool b/x86/bin/push_tool index 7375cb89f1b0cd1b5e3a871c32920723dc88dafa..e73105225aef375d7387e199b2779f22ccad80a6 100755 GIT binary patch delta 44 zcmV+{0Mq}#i~+!m0kD_>6MlBy;!VaLu^XkV#bAznH)1K1v#S9OKLlbq#Xz&XK!gRs C*b@W* delta 44 zcmV+{0Mq}#i~+!m0kD_>6D5$12Xt%J@VXu2GA!CUk2TI=v#S9OKLl`vj(4-XK!gRa C3KHc2 diff --git a/x86/bin/pushd b/x86/bin/pushd index 92d0b2f9b227b893edb409c4ce59c869f577b381..38ede260b6ea06438ff1d6888b5d0f84adef8640 100755 GIT binary patch delta 188 zcmexxN#w&Nkqt8#MRuNPalaVjnfXlr=9PV~!_9R$R;_AY!`Qxt5rmnxuVG|nn$Kvy zef* zzJ3AoWeXtPe3N-MBcs`L``gUzK<@F|%=~gd`ub1i->g9T@_*)hQ+_l3l*H8B{5<`F z%)E5H=V6ezw|=NosV&kTrW3UFmAVCWL(F|Xukb97h}5& dkj__UtmXjHuk{(P8nXDeMdxfklE@gs3ILke9RdIV delta 74 zcmbPnj&;U4)(t9*B07KU_e2>9a57syOQ=!uaa?>pT(jANak~X0<2p`8v+d8h7~5rl cbiO)cH3yJ>tos8Jj+wwgLYe+5Q4bV6&J4z&-?;VcapZTtP$# D!qpQa diff --git a/x86_64/bin/pushd b/x86_64/bin/pushd index 9e4197665e3ae8d7d6b77ee7f71862ae30c06234..1f3bad03e75895db7e11d045293af0e83b4b51ab 100755 GIT binary patch delta 169 zcmbR6KzPCf;SDWJA{I8e%A9w~qJA9rRorxG@3zyCR%@DPFtyKMVgzEQ?K7B|#T*&U zx370*-fsh>^Bb72GcuY_cW+{D2XfChF{jG|Y4b(Q`D{RX`3mOs=0H090kbgP z`M5fePUmG|2l4ZTSnN50^m=I)dk!G|UYR9b4oHVPv5515$tAU*#n z^Ko?`ozBa`4&vtvvDkA0>Gjeq_8dU^y)sL>9FPuoViD&9$p^6TPG@O*&tSg2;W^6$ F4gmFbI4J-C diff --git a/x86_64/lib64/libpush.so.0.2.12 b/x86_64/lib64/libpush.so.0.2.12 index 38f110b120fd6edbfc13ce437e6247535d840ba6..7086b1e47da24c923a57bb625d089c9f9e5431e8 100644 GIT binary patch delta 69 zcmew{jrGSg)(tlpMM8EO>vg+DUA2x93~3U1pI5g+JbCjQMyr>M=9|@D=gTpgZ=cS| ZD9#C_*9$S8G+=4Iqs_a$#+mUCI{@H{8hZc$ delta 69 zcmV-L0J{J9mIe5h1+drw6cG`}T-i*mtZ@`Oy{59vWVe>ngtP1cI_Uv6vnT6s9sxGD bmk9wE2>~{@uMz>tFa$)()6BPgLjn8;RplN3 -- 2.7.4