This patch changes the permission from root to 'system_fw' uid/gid for PASS.
Basically, Tizen has the policy to reduce the number of root daemon
to protect the security issues. If PASS has the system_fw uid, it is enough
to handle the h/w resources.
Change-Id: I48aef3da083b6f1f4160ed166fdad89293acc5b6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[Unit]
-Description=System device daemon
+Description=PASS daemon
[Service]
-SmackProcessLabel=System::Privileged
+SmackProcessLabel=System
ExecStart=/usr/bin/pass
Restart=always
RestartSec=0
KillSignal=SIGUSR1
+User=system_fw
+Group=system_fw
[Install]
WantedBy=multi-user.target