Introduce convenience function for setting application security. 77/27977/5
authorRafal Krypa <r.krypa@samsung.com>
Tue, 23 Sep 2014 18:08:36 +0000 (20:08 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 27 Oct 2014 13:54:06 +0000 (14:54 +0100)
commit78096a5c5be875ec3e737553b6b0ffb422d3fb6b
tree6a881d4a3d350682160edd5472d94ba478174e54
parentc36017da697f08ee75d4cd42cec9a5429a991404
Introduce convenience function for setting application security.

There are already three security-manager functions that a launcher should
call before launching the application. In the common case they will just
be called in sequence.
Provide an API function that handles all aspects for application process
preparation: set the Smack label, set additional groups and drop
capabilities.

Change-Id: I5c8346c5f834f8a4fb106169866de42578265da8
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/client/client-security-manager.cpp
src/include/security-manager.h