summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjooseong.lee <jooseong.lee@samsung.com>2014-05-12 03:44:17 (GMT)
committerjooseong lee <jooseong.lee@samsung.com>2014-05-12 03:44:26 (GMT)
commitbe41cb5bbf3b00430c1fff05f36c69fe3a56e127 (patch)
tree5b8e79b7a474fa6de01d47ac8014235d6c86c252
parent6feef6f347dbc4c10e4de9a5a34f1d3e4a7b7509 (diff)
downloadoma-ds-agent-be41cb5bbf3b00430c1fff05f36c69fe3a56e127.zip
oma-ds-agent-be41cb5bbf3b00430c1fff05f36c69fe3a56e127.tar.gz
oma-ds-agent-be41cb5bbf3b00430c1fff05f36c69fe3a56e127.tar.bz2
Modification about smack label of db file belong to process.refs/changes/76/20676/2
[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: Ia323fe78e73ceb584b5c81603a13fb986b897b0f Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
-rwxr-xr-xoma-ds-agent.manifest3
1 files changed, 3 insertions, 0 deletions
diff --git a/oma-ds-agent.manifest b/oma-ds-agent.manifest
index 97e8c31..2a338a6 100755
--- a/oma-ds-agent.manifest
+++ b/oma-ds-agent.manifest
@@ -2,4 +2,7 @@
<request>
<domain name="_"/>
</request>
+ <assign>
+ <filesystem path="/opt/dbspace/.omasyncagent.db*" label="System" />
+ </assign>
</manifest>