Adapt to tizenorg: Change implementation of exec labels for links to binaries 60/18060/7
authorMarcin Lis <m.lis@samsung.com>
Fri, 14 Mar 2014 12:41:34 +0000 (13:41 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Wed, 7 May 2014 12:33:45 +0000 (05:33 -0700)
commit1a6a208b8e2a6bd2ac734f51c3954437311150d8
treef26c604310395a39a3a02983305e2f1c77c34b2d
parent12fae8b9461f90cd54f52623eaeecd99daa66cb8
Adapt to tizenorg: Change implementation of exec labels for links to binaries

Change hardcoded Smack xattr names to those defined in <linux/attr.h>.
Use [l]<set|get>xattr() functions instead of libsmack labelling functions.
Change the logic of get_smack_from_binary() internal function so that it
now operates on new macros.

Additionally remove unused "verify_app_type" and "is_widget" functions.

Change-Id: I406a0baa94a9936130786a55a101cef617248a39
Signed-off-by: Marcin Lis <m.lis@samsung.com>
include/privilege-control.h
src/privilege-control.c