Extensions to security_server_open_for function.
authorZbigniew Jasinski <z.jasinski@samsung.com>
Tue, 26 Nov 2013 14:05:38 +0000 (15:05 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:13:25 +0000 (17:13 +0100)
commit44ccb0e50657634a3d570098a9bc2e8a65186025
treef6f401747e44ba0327d847acd6f956b1761ba781
parent793f7c87668870a6e30e2bbb7a33c97413803563
Extensions to security_server_open_for function.

Base function extended by new argument 'reader_label':

* int security_server_sharedfile_open(const char *filename, const char *reader_label, int *fd);

Introduced two new functions:

* int security_server_sharedfile_reopen(const char *filename, int *fd);
* int security_server_sharedfile_delete(const char *filename);

[Issue#]        SSDWSSP-398
[Bug/Feature]   New SS API functions.
[Cause]         *open_for* needed more security.
[Solution]      Added new functions.
[Verification]  Build and run new tests:
                security-server-tests-server --output=text --regexp='open_for'

Change-Id: I00dcf1c24c4a2186942b2dff4511e6667a6c5188
packaging/security-server.manifest
src/include/security-server.h
src/server/client/client-open-for.cpp
src/server/common/protocols.h
src/server/service/open-for-manager.cpp
src/server/service/open-for-manager.h
src/server/service/open-for.cpp