summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjooseong.lee <jooseong.lee@samsung.com>2014-05-09 18:25:40 +0900
committerjooseong lee <jooseong.lee@samsung.com>2014-05-09 02:25:33 -0700
commitd3de22614f6a78045cd28c17023aafab70c318cb (patch)
tree80dd63cbbb69634253c962eb29a219a3a657cf77
parentfc78afa3fb099367aeeb51a56df13ea23e58dfb3 (diff)
downloadoma-dm-agent-tizen.tar.gz
oma-dm-agent-tizen.tar.bz2
oma-dm-agent-tizen.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: Ib81e8c1f09aa869d49e431296e57f36c36db63dd Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
-rwxr-xr-xoma-dm-agent.manifest5
1 files changed, 5 insertions, 0 deletions
diff --git a/oma-dm-agent.manifest b/oma-dm-agent.manifest
index a76fdba..583e16b 100755
--- a/oma-dm-agent.manifest
+++ b/oma-dm-agent.manifest
@@ -2,4 +2,9 @@
<request>
<domain name="_" />
</request>
+ <assign>
+ <filesystem path="/opt/usr/dbspace/.dm_service.db*" label="System" />
+ <filesystem path="/opt/usr/dbspace/.momanager.db*" label="System" />
+ <filesystem path="/opt/usr/dbspace/.omadmagent.db*" label="System" />
+ </assign>
</manifest>