Pass it's own uid when calling not 'usr' prefixed api 04/64904/2 accepted/tizen/common/20160411.130023 accepted/tizen/ivi/20160411.051425 accepted/tizen/mobile/20160411.051559 accepted/tizen/tv/20160411.051453 accepted/tizen/wearable/20160411.051548 submit/tizen/20160411.024425
authorSangyoon Jang <s89.jang@samsung.com>
Wed, 6 Apr 2016 06:17:30 +0000 (15:17 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Fri, 8 Apr 2016 12:44:06 +0000 (21:44 +0900)
commita7c96d041a040f1c70bfeedd64b02d859bfcdc8c
tree00ceb4adf40219037582d60f1be80a21ff86b68b
parent181ab6d8752719e486ef06d80c3d0099dae2a5b3
Pass it's own uid when calling not 'usr' prefixed api

If the caller is a regular user, pass it's own uid, but if the caller is
a non-regular user(root or system daemon), pass tizenglobalapp user's
uid.

Change-Id: I78d66ebb0e8521e185b97b8cdb53c7fb6de3622a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
client/src/pkgmgr.c