From a0b4cfdb0bf132f0142eddda6801852d6c3fdcf9 Mon Sep 17 00:00:00 2001 From: Mohit Aggarwal Date: Fri, 22 Mar 2019 14:07:22 +0530 Subject: msm8996-common: Change uid/gid of time_daemon Squashed of the following 2 commits: time-services: Remove time_daemon rc definition Now time_daemon service will start from local rc file so patch removes rc definition from init.qcom.rc file. Change-Id: Ia18ffa726c9c7ad6be5193219438b2266c15ae13 time-services: Start time_daemon service from common rc Currently, time_daemon service is running after statsd service which is causing some xTS failure. The patch moves time_daemon service definition to common rc file so that daemon can start early. Change-Id: I7ff7a7a3b7ac5077a95157c1785bfb844b92d7dd Change-Id: I4b46501099fb0e82109b3cabf8440fa0490d507b --- rootdir/etc/init.qcom.rc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7393667..673865c 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -479,8 +479,9 @@ service qseecomd /vendor/bin/qseecomd service time_daemon /vendor/bin/time_daemon class main - user root - group root + user system + group system + capabilities SYS_TIME writepid /dev/cpuset/system-background/tasks # Start camera server as daemon -- cgit v1.2.3