Add smackfs check to Installer service. 69/22669/2
authorMarcin Lis <m.lis@samsung.com>
Mon, 9 Jun 2014 15:55:09 +0000 (17:55 +0200)
committerMarcin Lis <m.lis@samsung.com>
Tue, 10 Jun 2014 08:46:51 +0000 (10:46 +0200)
commit9d7d2f242d036ed8f07e4afa108709524b1af409
tree7ef3a9be439d0ec34fd13c87565d5d6bace709a6
parentaf33bcce7f9788be9545175dd41340e10b376dbd
Add smackfs check to Installer service.

The app installation was failing under the non-smack environment.
One additional check for the existence of the smack is now added to
prevent the Installer from applying smack rules to the kernel, when
there is no smack security enabled.

The same kind of check is also added to uninstall-app functionality.

Change-Id: I9ed29e7d60e34639173317ac83c1f5314100d6e4
Signed-off-by: Marcin Lis <m.lis@samsung.com>
src/server/service/smack-rules.cpp