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>
Fri, 17 May 2013 14:09:52 +0000 (16:09 +0200)
commitb41857b4069ac6ef6fd1a5809e7105fd5b61b46f
treec83e259baf62140511459e50046ca303e0f79128
parent8f8d7dd5a65d31c5214a38cb191f80475063a6aa
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