Fix that getting command did not work for permission denied 88/165188/2 accepted/tizen/unified/20171229.070218 submit/tizen/20171228.044239
authorJiyong Min <jiyong.min@samsung.com>
Wed, 27 Dec 2017 03:05:54 +0000 (12:05 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Wed, 27 Dec 2017 03:37:48 +0000 (12:37 +0900)
commitd8d05c818eeb6d88f21f9913b247cef7bdffdf62
tree8e242b08b6e6d57e3143715642aa58fcff6d257e
parent9914f5d60b4e74737e374040f5f3355f87071fd9
Fix that getting command did not work for permission denied

[Cause]
The server process should check the safety of the command.
The check-list of the command exist in the list of the client.
So it should be checked with the data of the client.

[Solution]
The '__mc_get_data' search the command with the check-list.
The '__mc_get_data' don't care about the pid(client & server).

Change-Id: I51d68b215006e92a04586e6d635fdd15999ff3cb
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
packaging/capi-media-controller.spec
svc/media_controller_svc.c