Add uid check routine at cleardata functions 90/105590/8 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121835 accepted/tizen/3.0.m2/tv/20170104.122324 accepted/tizen/3.0.m2/wearable/20170104.122938 accepted/tizen/3.0/common/20161228.071524 accepted/tizen/3.0/ivi/20161226.030254 accepted/tizen/3.0/mobile/20161226.030114 accepted/tizen/3.0/tv/20161226.030201 accepted/tizen/3.0/wearable/20161226.030227 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161223.043050
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 19 Dec 2016 05:22:47 +0000 (14:22 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 23 Dec 2016 04:38:00 +0000 (20:38 -0800)
commit5c23edb8946dd432cb3dc3a6e240925f7498ac56
tree53c609b74e468c6ca9fc95a045cc9d8dbd1380fe
parentde587e3231c733dd9dd4ef6cc1c339c023c96d7b
Add uid check routine at cleardata functions

- Calling cleardata with global uid will not be allowed
  because cleardata will only works for userdata of each user, not pkg itself

Change-Id: I1d1ff1e24f593c080060f16580a40ace17f845f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
client/include/package-manager.h
client/src/pkgmgr.c