system-controller: try to get launching user for an app using ail and pid.
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>
Wed, 24 Sep 2014 12:20:22 +0000 (14:20 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:17 +0000 (18:37 +0200)
commit34d61e5e21f5c24680830823c3d624a06beae289
tree7d867513113f26747de3bb75d4210f981b29d93a
parentb2223617b7f14d53f5f8d91240a6d136efe60b35
system-controller: try to get launching user for an app using ail and pid.

With the latest ail we need to retreive the launching user for an app
using the PID to get the category right. If the user  is not found this
way, we consider the default user ('app') as the launching user and fall
back to look up and use the UID of that instead.

Change-Id: Iaa1d9091598cd7b28dff0ee67e67d357325f152d
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
src/plugins/system-controller/application-tracker/application-tracker.c