Fix for complimentary groups setting.
authorRafal Krypa <r.krypa@samsung.com>
Wed, 24 Apr 2013 13:53:47 +0000 (15:53 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 29 Apr 2013 14:44:54 +0000 (16:44 +0200)
commit7822e008630699d0660f76c5e6babfe5b8d19077
treed8384a1ad691633b536b27d95947f73c3de3111c
parent4fa3ae9ae11d238b0ab623decec2a816509ababc
Fix for complimentary groups setting.

[Issue#]       N/A
[Bug]          Adding applications to additional groups depends on SMACK.
[Cause]        In AUL context app_id is unknown and it was guessed from current SMACK label.
[Solution]     Read SMACK label from file xattrs, which are available even without SMACK support in kernel.
[Verification] Build, install on non-SMACK system, reboot target, run some apps.

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