Executable path retrieval moved to security-server
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 24 May 2013 15:24:46 +0000 (17:24 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:10:17 +0000 (17:10 +0100)
commitb6db91a3a387cad3dcf7f41d93d55c0951a64b5a
tree8e237a2a34830d0216a60ea4ba99f2e0993b39ff
parent987a0cd286a18308a275d924313bd2c25b954c83
Executable path retrieval moved to security-server

[Issue#] SSDWSSP-274
[Feature/Bug] N/A
[Problem] security_server_check_privilege_by_sockfd should not require root privileges
[Cause] The function reads /proc/[pid]/exe
[Solution] Executable retrieval moved to security-server.

[Verification] Build & install. Run security-server-tests-client-smack --regexp=tc06_check_privilege_by_sockfd
Security server logs should contain valid executable path in lines starting with SS_SMACK

Change-Id: Ib06414e80c9ee992108b7c49b33914e9047e5871
src/client/security-server-client.c
src/communication/security-server-comm.c
src/include/security-server-comm.h
src/server/security-server-main.c