sdm660-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
This commit is contained in:
parent
9d39230981
commit
2497916c99
1 changed files with 2 additions and 2 deletions
|
@ -641,9 +641,9 @@ on property:sys.powerctl=*
|
|||
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
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
||||
on property:crypto.driver.load=1
|
||||
|
|
Loading…
Reference in a new issue