Sanitize handling of global application user. 00/29700/8
authorJan Cybulski <j.cybulski@samsung.com>
Tue, 18 Nov 2014 08:16:51 +0000 (09:16 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 18 Nov 2014 14:02:36 +0000 (15:02 +0100)
commitef881a4c8801c9f590195fe8746e5699afede719
tree642cceaa4b5f63561357792261db016bbe4e6320
parent8f29087139f303c74787fd7cc1f5fe314d79a438
Sanitize handling of global application user.

Remove inconsistency with treating both root and tizenglobalapp as global
users. For both cases uid of user TZ_SYS_GLOBALAPP_USER will be saved
in the data base to distinguish globally installed applications.
The whole code for handling global user was refactored by the way.

Change-Id: I5764e1f9675ebf3bb9091ede4fef724d053fed8d
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>
src/server/service/service.cpp