Change implementation of have_smack()
authorRafal Krypa <r.krypa@samsung.com>
Fri, 12 Apr 2013 16:31:04 +0000 (18:31 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 17 Apr 2013 19:36:03 +0000 (21:36 +0200)
commitf1cb4760f34f506a2d46994f688b71cfb9320e27
tree451c4500be3debc087fb6204ea11f5421afa56c5
parentb354a3a70a13fb70bb9ceabff1bf3dae58153bb1
Change implementation of have_smack()

[Issue#]       N/A
[Feature]      More reliable checking whether Smack is available in runtime.
[Cause]        Code reuse.
[Solution]     Use function provided in libsmack to check usability of smackfs.
[Verification] Run tests from security-tests.

Change-Id: Ib237a0a6ddbcdd966daac35bc8c416338c501af2
src/privilege-control.c