Commit 872d7702 authored by TARKZiM's avatar TARKZiM Committed by Bernhard Thoben
Browse files

kitakami-common: sepolicy: Add more ims policies

parent 713b1fdd
......@@ -21,3 +21,5 @@ type fpc_data_file, file_type;
# Camera
type sysfs_camera, sysfs_type, fs_type;
# Socket
type ims_socket, file_type;
......@@ -75,6 +75,12 @@
/system/vendor/bin/mm-pp-daemon u:object_r:ppd_exec:s0
/system/vendor/bin/perfd u:object_r:perfd_exec:s0
/system/vendor/bin/timekeep u:object_r:timekeep_exec:s0
/system/vendor/bin/imsdatadaemon u:object_r:ims_exec:s0
/system/vendor/bin/imsqmidaemon u:object_r:ims_exec:s0
/system/vendor/bin/ims_rtp_daemon u:object_r:ims_exec:s0
/system/vendor/(lib|lib64)/libril-wrapper\.so u:object_r:hal_ril_wrapper_exec:s0
/dev/socket/ims_qmid u:object_r:ims_socket:s0
/dev/socket/ims_datad u:object_r:ims_socket:s0
/dev/socket/ims_rtpd u:object_r:ims_socket:s0
......@@ -2,3 +2,5 @@ type timekeep_prop, property_type;
type tee_prop, property_type;
type ta_prop, property_type;
type display_prop, property_type;
type qcom_ims_prop, property_type;
type rcs_prop, property_type;
......@@ -3,3 +3,6 @@ sys.listeners.registered u:object_r:tee_prop:s0
persist.sys.timeadjust u:object_r:timekeep_prop:s0
persist.service.bdroid.bdaddr u:object_r:bluetooth_prop:s0
persist.tareset.notfirstboot u:object_r:ta_prop:s0
net.r_rmnet u:object_r:net_radio_prop:s0
rcs. u:object_r:rcs_prop:s0
sys.ims. u:object_r:qcom_ims_prop:s0
allow radio gpuservice:binder call;
allow radio system_app_data_file:dir getattr;
# Grant access to ims socket that is created by ims_qmid, ims_datad
allow radio ims_socket:sock_file write;
# Connect to ims service.
allow radio ims:unix_stream_socket connectto;
# Access RCS properties
set_prop(radio, rcs_prop)
com.sony.timekeep u:object_r:timekeep_service:s0
rcs u:object_r:radio_service:s0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment