diff options
author | nailyk-fr <nailyk_git@nailyk.fr> | 2017-03-04 23:23:33 +0100 |
---|---|---|
committer | tunturn <arbiter1000@gmail.com> | 2017-03-09 11:48:31 +1100 |
commit | 592e80d23d7bc2632cbce7849c2a2b66353ce1b6 (patch) | |
tree | 3ac6477581ff1821b4816e93b0f74ad55c5fffce | |
parent | 3d834ab397234fbc75da85405def924fb77693d3 (diff) |
shinano-common: Add ril stuffs
Change-Id: Idc6306fc79c34969fbb84dab87c42d4305169037
-rw-r--r-- | rootdir/init.qcom.rc | 39 | ||||
-rw-r--r-- | sepolicy/credmgrd.te | 4 | ||||
-rw-r--r-- | sepolicy/workarounds.te | 7 |
3 files changed, 50 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index ad3d659..2015408 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -107,6 +107,9 @@ on boot mkdir /data/system/perfd 0770 root system chmod 2770 /data/system/perfd + #Create NETMGR daemon socket area + mkdir /dev/socket/netmgr 0750 radio radio + setprop ro.telephony.call_ring.multiple false # port-bridge @@ -245,6 +248,8 @@ on boot chmod 0660 /sys/devices/virtual/graphics/fb0/rgb on post-fs + #export LD_PRELOAD libNimsWrap.so + # MHL driver. To support MHL power off charge, # the insmod must be done before chargemon. insmod /system/lib/modules/mhl_sii8620_8061_drv.ko @@ -573,3 +578,37 @@ service ptt_socket_app /system/bin/ptt_socket_app group system oneshot +service imsqmidaemon /system/bin/imsqmidaemon + class main + user system + socket ims_qmid stream 0660 system radio + group radio net_raw log qcom_diag + +service imsdatadaemon /system/bin/imsdatadaemon + class main + user system + socket ims_datad stream 0660 system radio + group system wifi radio inet net_raw log qcom_diag net_admin + disabled + +on property:sys.ims.DATA_DAEMON_STATUS=1 + start ims_rtp_daemon + start imscmservice + + +service ims_rtp_daemon /system/bin/ims_rtp_daemon + class main + user system + socket ims_rtpd stream 0660 system radio + group radio net_raw diag qcom_diag log inet + disabled + +service imscmservice /system/bin/imscmservice + class main + user system + group radio net_raw diag qcom_diag log + disabled + +on property:sys.ims.QMI_DAEMON_STATUS=1 + start imsdatadaemon + diff --git a/sepolicy/credmgrd.te b/sepolicy/credmgrd.te index 82c4929..d696393 100644 --- a/sepolicy/credmgrd.te +++ b/sepolicy/credmgrd.te @@ -59,4 +59,8 @@ allow credmgrd tmpfs:lnk_file read; #credmgrd ion allow credmgrd ion_device:chr_file { ioctl open read }; +#credmgrd files: +#============= credmgrd ============== +allow credmgrd cache_file:dir search; + diff --git a/sepolicy/workarounds.te b/sepolicy/workarounds.te index ded4c69..ed9aaf6 100644 --- a/sepolicy/workarounds.te +++ b/sepolicy/workarounds.te @@ -37,3 +37,10 @@ allow wv tee_device:chr_file { ioctl open read write }; #============= mediaserver ============== allow mediaserver sensorservice_service:service_manager find; + +#============= rmt_storage ============== +allow rmt_storage self:capability dac_override; + +#============= scd ============== +allow scd socket_device:sock_file write; + |