Don't delete SMACK rules file for app in function app_reset_permissions()
authorRafal Krypa <r.krypa@samsung.com>
Thu, 18 Apr 2013 15:35:15 +0000 (17:35 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 22 Apr 2013 09:02:54 +0000 (11:02 +0200)
commit5100ba86c1c6e38b064f56b5b24d8061b797f1fa
tree14edac5ea916e8c9a2afcaa2542409d9c04c3d62
parent9a3863799e1a73ce56f5abc1141b8fcf552d7376
Don't delete SMACK rules file for app in function app_reset_permissions()

[Issue#]       N/A
[Bug]          app_reset_permission() should only read the file, but it removes it afterwards.
[Cause]        Internal usage of app_revoke_permissions(), which should remove the file.
[Solution]     Create internal version of app_revoke_permissions(), that takes additional argument.
[Verification] Build, install, reboot target. Run tests, launch a widget twice.

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