Fix data control api.
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Fri, 17 May 2013 12:06:14 +0000 (14:06 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:09:36 +0000 (17:09 +0100)
commit4e5f13d2cc2f20fe9b6e2d591b59411bdcea5bab
tree3bec89e1030c5d01333f857cc5d50edbf83685b1
parent8f68a58fdf78c911f7566366e0855cae700c83a2
Fix data control api.

Data control must return SUCCESS on images without smack.

[Issue#]   SSDWSSP-277
[Bug]      security-server_app_give_access returns error on image
           without smack.
[Cause]    On image without smack user passed "" as a client label.
           "" is not acceptable smack label.
[Solution] Function security_server_app_give_access returns SUCCESS
           when smack is turn off.

[Verification] Build. Run all tests. No changes in result should be
               noticed on smack image.

Change-Id: I0c740ecda07e3ed97f1d409c8e597bc3b1f0b773
src/client/security-server-client.c
src/util/smack-check.c