security-manager-tests: prepare for security-manager integration with cynara 11/61011/7
authorRafal Krypa <r.krypa@samsung.com>
Thu, 7 Apr 2016 09:33:59 +0000 (11:33 +0200)
committerZbigniew Jasinski <z.jasinski@samsung.com>
Thu, 7 Apr 2016 10:29:01 +0000 (03:29 -0700)
commit643654d61c6452f88d5704c54d0411680696d715
tree36f22c9738b2fb699d0db6a7ccccee0b4a5c8fdd
parent450f7fee28c099a37969614051d03a1d38223eb7
security-manager-tests: prepare for security-manager integration with cynara

Security-manager will soon requires the caller to hold appropriate privilege.
Tests must always call security-manager APIs with Smack label which has
privilege.

This change makes sure that privileged operations from security-tests
are always called with proper Smack label.

It also adapts for the only part of security-manager that already checks
permission of the caller - privacy-manager APIs. The permissions
required for calling privacy-manager APIs have changed, so security-tests
must change them too.

Change-Id: Ib5e046dbf7fef8e8187b2f7f5700f236ef73bbda
packaging/security-tests.manifest
src/security-manager-tests/security_manager_tests.cpp