summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorjooseong.lee <jooseong.lee@samsung.com>2014-05-09 21:49:59 +0900
committerjooseong lee <jooseong.lee@samsung.com>2014-05-09 05:49:42 -0700
commit94c9eaf242da3ddd35918c7d40979698ec063b2a (patch)
tree0cc337dbaf673419a9dce54d0476ba2067f30a86 /packaging
parent0d4637178db7bae58789e9eb1a74c8de1d4046d7 (diff)
downloadlibslp-alarm-94c9eaf242da3ddd35918c7d40979698ec063b2a.tar.gz
libslp-alarm-94c9eaf242da3ddd35918c7d40979698ec063b2a.tar.bz2
libslp-alarm-94c9eaf242da3ddd35918c7d40979698ec063b2a.zip
Modification about smack label of db file belong to process.HEADtizen
[Problem] Most db files have 'floor' label. Because these are created during image creation time. Therefore no process can write the dbs (since 'floor' label allows only read and execute) [Solution] Modify smack label of the db files based on condition below referring three domain model Condition1. Assign domain of process which creates db files Condition2. Assign domain of process accesses db files. Change-Id: I99fe44ceff2db79cfff0237e13574919580b8877 Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libslp-alarm.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/libslp-alarm.spec b/packaging/libslp-alarm.spec
index 764c6e9..9e5b32c 100644
--- a/packaging/libslp-alarm.spec
+++ b/packaging/libslp-alarm.spec
@@ -125,6 +125,7 @@ chmod 660 /opt/dbspace/.alarm.db-journal
#chmod 600 /opt/dbspace/.alarm.db
#chmod 600 /opt/dbspace/.alarm.db-journal
+chsmack -a 'User' /opt/dbspace/.alarm.db*
%postun -p /sbin/ldconfig