Fix TIVI-2638 Enable SmackExecLabel=User for messageport 79/15579/2
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Thu, 23 Jan 2014 12:37:19 +0000 (14:37 +0200)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Fri, 24 Jan 2014 07:59:57 +0000 (09:59 +0200)
commit6e1101774b0b9f08340482e00111d7bc0cb77ade
treed6de2f7b8baea980cf00060d98b4a3e9c8d688e1
parent76aeb444185b5629831bd4bebf47b5d40eec09e6
Fix TIVI-2638 Enable SmackExecLabel=User for messageport

Support for invoking messageport daemon by systemd with correct smack label.

This commit is also having the supported changes :
 - Stop using session bus for invoking, and fix tests in non-session-bus case.
 - change in daemon socket location : /run/user/@usern_name@ -> /tmp.
   As user specific folder is not created at the time of daemon startup

Change-Id: Ibd885e522970aa63241792258e4a32a0bf32cfbb
configure.ac
messageportd.service.in [new file with mode: 0644]
packaging/message-port.spec
tests/test-app.c
tests/test-app.cpp