New Security Server security_server_open_for function.
authorZbigniew Jasinski <z.jasinski@samsung.com>
Wed, 9 Oct 2013 09:56:51 +0000 (11:56 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:13:23 +0000 (17:13 +0100)
commit01d0d84a29db868f6050ba935476829338357e23
tree4af542746ed7944a7c5892379d4258e92301ad2b
parent2d04b4124c24667c7808d0b52b2d1a381c6bc919
New Security Server security_server_open_for function.

This function allows to create, if doesn't exist, or open existing file by
Security Server on behalf of calling process in secured directory.

[Issue#]        SSDWSSP-398
[Bug/Feature]   New SS API function.
[Cause]         DataControl issues.
[Solution]      Proposal for DataControl issues.
[Verification]  Build and run new tests:
                security-server-tests-server --output=text --regexp='open_for'

Change-Id: I9eaa69d37c20a2eb8aa3f8ba9e3aa6ef6291bae7
17 files changed:
packaging/security-server.spec
src/CMakeLists.txt
src/include/security-server.h
src/server2/client/client-common.cpp
src/server2/client/client-common.h
src/server2/client/client-open-for.cpp [new file with mode: 0644]
src/server2/common/protocols.cpp
src/server2/common/protocols.h
src/server2/main/generic-socket-manager.cpp
src/server2/main/server2-main.cpp
src/server2/service/open-for-manager.cpp [new file with mode: 0644]
src/server2/service/open-for-manager.h [new file with mode: 0644]
src/server2/service/open-for.cpp [new file with mode: 0644]
src/server2/service/open-for.h [new file with mode: 0644]
systemd/CMakeLists.txt
systemd/security-server-open-for.socket [new file with mode: 0644]
systemd/security-server.service