Early rule loading - livebox issue.
authorJanusz Kozerski <j.kozerski@samsung.com>
Wed, 12 Jun 2013 10:40:52 +0000 (12:40 +0200)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 8 Jul 2013 10:03:17 +0000 (12:03 +0200)
commita8770be5e92cfce7b8ab4c06eab70cfb0deab5b1
tree7e397e3703ea7d14897f191b980d60b6b67ab33c
parente3989328c0e432930767d1b5e155220841c6cb17
Early rule loading - livebox issue.

[Issue#]        SSDWSSP-298
[Bug/Feature]   Livebox issue fix.
[Cause]         Missing rules while showing homescreen.
[Solution]      Add early-rules loading.
[Verification]  Compile. Install at least 2 widgets,
                then check if /opt/etc/smack-app-early/accesses.d/WRT file contains
                a "livebox.web-provider ~APP~ rwx" rule for every app.
                Then uninstall one app and check if rule for this app is gone.
                Others rules should remain untouched.

Change-Id: Ie94713620038ebbdcab4e2d41fc01550a6a78fdb
include/common.h
packaging/libprivilege-control.spec
src/common.c
src/privilege-control.c