diff options
author | nailyk-fr <nailyk_git@nailyk.fr> | 2017-04-28 15:07:40 +0200 |
---|---|---|
committer | nailyk-fr <nailyk_git@nailyk.fr> | 2017-05-10 11:15:40 +0000 |
commit | bd03c504e298e968aba8a584b37ca60692e7c2cd (patch) | |
tree | ea67de784f3393515a59ee051f2afc2e9ee5d3dc /rootdir/init.qcom.rc | |
parent | 765df75917ac3fe3da5d1dd092d8c33c0983f9d6 (diff) |
shinano-common: init: Rework permissions
* Some services where start with incorrect rights.
* Create tee /data folder
* Keystore and qseecomd are needed for encryption/decryption
and shouldnot be restarted at framework changes.
Change-Id: If1c7c0ba3602dccb8cb65dbe9193221438785c0a
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r-- | rootdir/init.qcom.rc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 5204ae8..95d3bc5 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -373,6 +373,9 @@ on post-fs-data setprop vold.post_fs_data_done 1 + # Create directory for TZ Apps + mkdir /data/misc/qsee 0770 system system + # SONY: Create a dir on data partition not to be deleted during mr and wipedata mkdir /data/persist 0770 system system @@ -419,7 +422,7 @@ on property:ro.radio.noril=true service qseecomd /system/bin/qseecomd class core user root - group drmpc root + group drmrpc root service p2p_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ @@ -457,7 +460,7 @@ on property:ro.data.large_tcp_window_size=true service loc_launcher /system/bin/loc_launcher #loc_launcher will start as root and set its uid to gps class late_start - group gps qcom_oncrpc inet net_raw qcom_diag net_admin wifi + group gps inet net_raw qcom_diag net_admin wifi service scdnotifier_nitz /system/bin/scdnotifier nitz class main |