Security-server new API for privilege checking
authorMarcin Lis <m.lis@samsung.com>
Fri, 18 Oct 2013 16:13:43 +0000 (18:13 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:13:23 +0000 (17:13 +0100)
commit2d04b4124c24667c7808d0b52b2d1a381c6bc919
tree5988651f092d3e2a5c732836902a4f041b26b2e4
parent95134fb4d5c630f590ce9e0919f65121630b7729
Security-server new API for privilege checking

[Issue#]       SSDWSSP-527
[Feature]      Introduce two new SS API functions.
[Cause]        New API will improve the performance while checking
               app privileges.
[Solution]     Two new functions in client API enable to check whether a given
               app or caller app has enabled permission specified by name.
               Modified service: app-permissions.
               Two new sockets added to systemd and affected service.
[Verification] Build, install & run tests.
               Verify together with new libprivilege database.

Change-Id: If8d4efd30bbf22f82cd1442256ccbe7efb68a8aa
packaging/security-server.manifest
packaging/security-server.spec
src/include/security-server.h
src/server2/client/client-app-permissions.cpp
src/server2/common/protocols.cpp
src/server2/common/protocols.h
src/server2/service/app-permissions.cpp
src/server2/service/app-permissions.h
systemd/CMakeLists.txt
systemd/security-server-app-privilege-by-name.socket [new file with mode: 0644]
systemd/security-server.service