diff options
author | jooseong.lee <jooseong.lee@samsung.com> | 2014-05-09 18:02:59 +0900 |
---|---|---|
committer | jooseong lee <jooseong.lee@samsung.com> | 2014-05-09 02:02:37 -0700 |
commit | 72941e39419267e52c675c0cfec97710ee40052c (patch) | |
tree | 3785042f5a6e3ec1c07e0cd6cb12bfb85fdabae5 | |
parent | 27bbf892e0f237c6ed297b78c55690994e0f60d5 (diff) | |
download | shortcut-tizen_3.0.2014.q3_common.tar.gz shortcut-tizen_3.0.2014.q3_common.tar.bz2 shortcut-tizen_3.0.2014.q3_common.zip |
Modification about smack label of db file belong to process.tizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20140516.060908accepted/tizen/mobile/20140602.132445accepted/tizen/ivi/20140521.164853accepted/tizen/common/20140519.224149tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.m14.2_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
[Problem]
Most db files have 'floor' label. Because these are created when binary is built.
No process can write db (since 'floor' label allows only read and execute)
[Solution]
Modify smack label based on below condition and three domain model
Condition1. Assign domain of process creates db files
Condition2. Assign domain of process uses db files.
Change-Id: I4e7ae01dc4b386e5df73713459917806b9d5ef5a
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
-rw-r--r-- | packaging/libshortcut.manifest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/libshortcut.manifest b/packaging/libshortcut.manifest index 017d22d..bae3b87 100644 --- a/packaging/libshortcut.manifest +++ b/packaging/libshortcut.manifest @@ -2,4 +2,7 @@ <request> <domain name="_"/> </request> + <assign> + <filesystem path="/opt/dbspace/.shortcut_service.db*" label="User" /> + </assign> </manifest> |