diff options
author | jooseong.lee <jooseong.lee@samsung.com> | 2014-05-09 18:25:40 +0900 |
---|---|---|
committer | jooseong lee <jooseong.lee@samsung.com> | 2014-05-09 02:25:33 -0700 |
commit | d3de22614f6a78045cd28c17023aafab70c318cb (patch) | |
tree | 80dd63cbbb69634253c962eb29a219a3a657cf77 /oma-dm-agent.manifest | |
parent | fc78afa3fb099367aeeb51a56df13ea23e58dfb3 (diff) | |
download | oma-dm-agent-tizen.tar.gz oma-dm-agent-tizen.tar.bz2 oma-dm-agent-tizen.zip |
[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>
Diffstat (limited to 'oma-dm-agent.manifest')
-rwxr-xr-x | oma-dm-agent.manifest | 5 |
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> |