[Request]Update SMACK manifest and rule file
authorGoo Lee <goo81.lee@samsung.com>
Fri, 3 May 2013 10:25:15 +0000 (19:25 +0900)
committerGoo Lee <goo81.lee@samsung.com>
Fri, 3 May 2013 10:33:55 +0000 (19:33 +0900)
libslp-alarm.manifest
packaging/libslp-alarm.spec

index 96b48bd..e610016 100644 (file)
@@ -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>
index 052586a..9fa6249 100644 (file)
@@ -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