diff options
author | Sooraj Sasindran <sasindran@google.com> | 2016-10-27 18:02:12 -0700 |
---|---|---|
committer | Sooraj Sasindran <sasindran@google.com> | 2017-01-03 16:08:01 -0800 |
commit | c2c7bbca006bd32774ea6ca8c0cc4f8ab0b1bbd7 (patch) | |
tree | 6098c11376a986733ecc2a8902adfe2281493952 /init.angler.rc | |
parent | 0c22ba9231d29059d8380877984d8a6a351b28ca (diff) | |
download | angler-c2c7bbca006bd32774ea6ca8c0cc4f8ab0b1bbd7.tar.gz |
Enable qcril db in angler
Enable pre built qcril db on angler
This db will contain the custom emergency numbers
[ 72.739594] init: Service radio-sh does not have a SELinux domain
defined.
[ 10.766726] type=1400 audit(31933229.150:6): avc: denied { search }
for pid=563 comm="init.radio.sh" name="radio" dev="dm-1" ino=4079624
scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0
tclass=dir permissive=0
[ 72.950256] type=1400 audit(31933766.836:6): avc: denied { write }
for pid=597 comm="cp" name="radio" dev="dm-1" ino=4079624
scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0
tclass=dir permissive=0
[ 71.945441] type=1400 audit(31934841.890:6): avc: denied { getattr }
for pid=584 comm="init.radio.sh" path="/system/bin/sh" dev="dm-0"
ino=489 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:shell_exec:s0
tclass=file permissive=0
[ 11.330693] type=1400 audit(31935225.246:7): avc: denied { getattr }
for pid=558 comm="init.radio.sh" path="/system/bin/toybox" dev="dm-0"
ino=521 scontext=u:r:init-radio-sh:s0
tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=0
[ 73.562786] type=1400 audit(31935678.370:6): avc: denied { create }
for pid=591 comm="cp" name="qcril.db" scontext=u:r:init-radio-sh:s0
tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0
[ 73.594002] type=1400 audit(31935678.393:7): avc: denied { write }
for pid=575 comm="init.radio.sh" name="db_check_done" dev="dm-1"
ino=4079657 scontext=u:r:init-radio-sh:s0
tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0
Test: verified that updated numbers are available after image update
BUG=31815511
Change-Id: I81169c2da46d9b2b4481d39a5672421a603db406
Diffstat (limited to 'init.angler.rc')
-rwxr-xr-x | init.angler.rc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/init.angler.rc b/init.angler.rc index a928ffd..817f133 100755 --- a/init.angler.rc +++ b/init.angler.rc @@ -220,6 +220,14 @@ on post-fs-data chmod 0440 /persist/data/st_offset chmod 0440 /persist/data/st_xtalk + # File flags for prebuilt ril db file + write /data/misc/radio/prebuilt_db_support 1 + chown radio radio /data/misc/radio/prebuilt_db_support + chmod 0400 /data/misc/radio/prebuilt_db_support + write /data/misc/radio/db_check_done 0 + chown radio radio /data/misc/radio/db_check_done + chmod 0660 /data/misc/radio/db_check_done + chown system system /sys/class/kgsl/kgsl-3d0/devfreq/max_freq chmod 0660 /sys/class/kgsl/kgsl-3d0/devfreq/max_freq chown system system /sys/class/kgsl/kgsl-3d0/devfreq/min_freq @@ -457,6 +465,12 @@ service mcfg-sh /system/bin/init.mcfg.sh group radio system oneshot +service radio-sh /system/bin/init.radio.sh + class late_start + user radio + group root radio + oneshot + service oem_qmi_server /vendor/bin/oem_qmi_server class main user root |