Merge "Update selinux-policy for ModemService." into udc-d1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6636bd227b
@@ -18,6 +18,7 @@ type persist_modem_file, file_type, vendor_persist_type;
|
||||
# Modem
|
||||
type modem_efs_file, file_type;
|
||||
type modem_userdata_file, file_type;
|
||||
type sysfs_modem, sysfs_type, fs_type;
|
||||
|
||||
# Exynos Firmware
|
||||
type vendor_fw_file, vendor_file_type, file_type;
|
||||
|
||||
@@ -6,3 +6,6 @@ genfscon sysfs /firmware/devicetree/base/chosen u:obje
|
||||
|
||||
# GPS
|
||||
genfscon sysfs /devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby u:object_r:sysfs_gps:s0
|
||||
|
||||
# Modem
|
||||
genfscon sysfs /devices/platform/cp-tm1/cp_temp u:object_r:sysfs_modem:s0
|
||||
|
||||
@@ -5,6 +5,9 @@ init_daemon_domain(modem_svc_sit)
|
||||
hwbinder_use(modem_svc_sit)
|
||||
binder_call(modem_svc_sit, rild)
|
||||
|
||||
# Grant sysfs_modem access
|
||||
allow modem_svc_sit sysfs_modem:file rw_file_perms;
|
||||
|
||||
# Grant radio device access
|
||||
allow modem_svc_sit radio_device:chr_file rw_file_perms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user