aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
authorMohit Aggarwal <maggarwa@codeaurora.org>2019-03-22 14:07:22 +0530
committerDavide Garberi <dade.garberi@gmail.com>2020-01-25 14:23:57 +0100
commita0b4cfdb0bf132f0142eddda6801852d6c3fdcf9 (patch)
tree0981c77d9499c95ce2472139c870c05026d332ea /rootdir/etc/init.qcom.rc
parent62dc4b94dfa13ac82106215ee25c715672525d69 (diff)
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
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rw-r--r--rootdir/etc/init.qcom.rc5
1 files changed, 3 insertions, 2 deletions
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