summaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
authorHarikrishnan Hariharan <hahariha@codeaurora.org>2018-02-20 22:06:37 +0530
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:52:33 +0200
commite4a938eaa41402852a7f773287b78c532598d178 (patch)
tree78094e87ec44cb406f4acc21f37935c1a38025cf /rootdir/etc
parent3fe332722874d85cb35130a4ce639705b6ee8520 (diff)
wayne-common: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher to gps and enable SETUID and SETGID caps for loc_launcher, so that we can start loc_launcher as gps user instead of root and still have capabilities for SETUID and SETGID. Also remove not required permissions groups for loc_launcher. Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c CRs-Fixed: 2192881
Diffstat (limited to 'rootdir/etc')
-rwxr-xr-xrootdir/etc/init.qcom.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index d6e82e6..df10c92 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -630,9 +630,9 @@ on property:sys.shutdown.requested=*
stop vendor.cnss-daemon
service vendor.loc_launcher /system/vendor/bin/loc_launcher
- #loc_launcher will start as root and set its uid to gps
class late_start
- group gps inet diag wifi
+ user gps
+ group gps
on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko