diff options
author | Goo Lee <goo81.lee@samsung.com> | 2013-05-03 19:25:15 +0900 |
---|---|---|
committer | Goo Lee <goo81.lee@samsung.com> | 2013-05-03 19:33:55 +0900 |
commit | 6b71fcb78b2500b75854fd4f0f2070f72bdc135a (patch) | |
tree | b54bda8f8c3ef0cc0d608a0b0dcb72b8afad9a52 | |
parent | 6a0ebf779ee451c660708b4eb1056517a6286659 (diff) | |
download | libslp-alarm-6b71fcb78b2500b75854fd4f0f2070f72bdc135a.tar.gz libslp-alarm-6b71fcb78b2500b75854fd4f0f2070f72bdc135a.tar.bz2 libslp-alarm-6b71fcb78b2500b75854fd4f0f2070f72bdc135a.zip |
[Request]Update SMACK manifest and rule file
-rw-r--r-- | libslp-alarm.manifest | 8 | ||||
-rw-r--r-- | packaging/libslp-alarm.spec | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libslp-alarm.manifest b/libslp-alarm.manifest index 96b48bd..e610016 100644 --- a/libslp-alarm.manifest +++ b/libslp-alarm.manifest @@ -1,8 +1,14 @@ <manifest> <define> <domain name="libslp-alarm"/> + <provide> + <label name="libslp-alarm::db"/> + </provide> </define> + <assign> + <filesystem path="/usr/lib/*" label="_" /> + </assign> <request> - <domain name="_" /> + <domain name="libslp-alarm" /> </request> </manifest> diff --git a/packaging/libslp-alarm.spec b/packaging/libslp-alarm.spec index 052586a..9fa6249 100644 --- a/packaging/libslp-alarm.spec +++ b/packaging/libslp-alarm.spec @@ -94,6 +94,8 @@ sqlite3 /opt/dbspace/.alarm.db 'PRAGMA journal_mode = PERSIST; volume INTEGER, auto_power_on INTEGER );' +chsmack -a 'libslp-alarm::db' /opt/dbspace/.alarm.db* + # Change file owner #1.libraries #2.executables |