Fixing communication problem with security-server
authorZofia Abramowska <z.abramowska@samsung.com>
Wed, 16 Jan 2013 13:44:23 +0000 (14:44 +0100)
committerZofia Abramowska <z.abramowska@samsung.com>
Wed, 16 Jan 2013 14:11:56 +0000 (15:11 +0100)
commit0f09ae2f2a7a51a3e15cf71c613a99d0bc28364d
tree4ded0de07c56a44966b48e346c57ca00da58a6a8
parentfe8ee65829849f15548897bc259c37c931d76a3b
Fixing communication problem with security-server

[Issue#] LINUXSWAP-454
[Bug] Security-server crashes
[Cause] No handling of SIGPIPE signal when writing to closed socket
[Solution] blocking SIGPIPE signal in all threads created by socket
service and handling error returned by write
[Verification] Build, run tests and check  JIRA bug(N_SE-20154)

Change-Id: Id6d15922bb9b94cb9ee565e9e90ed0e46a27e25c
socket_connection/connection/SocketStream.cpp
src/daemon/sockets/security_socket_service.cpp