sanders: update ramdisk

This commit is contained in:
Vachounet
2017-09-23 07:46:02 +02:00
parent dc221f605d
commit 84ed735c2b
9 changed files with 31 additions and 100 deletions

View File

@@ -5,7 +5,6 @@ type haptics_device, dev_type;
type hob_device, dev_type;
type hw_block_device, dev_type;
type graphics_fb_device, dev_type;
type laser_device, dev_type;
type synaptics_rmi_device, dev_type;
type shwi_device, dev_type;
type isdbt_device, dev_type;

View File

@@ -33,7 +33,6 @@ type netmgr_data_file, file_type, data_file_type;
type sysfs_adsp, fs_type, sysfs_type;
type sysfs_homebutton, fs_type, sysfs_type, mlstrustedobject;
type sysfs_mmi_fp, fs_type, sysfs_type;
type sysfs_mmi_laser, fs_type, sysfs_type;
type sysfs_mmi_touch, fs_type, sysfs_type;
type sysfs_capsense, fs_type, sysfs_type;

View File

@@ -9,16 +9,12 @@
/system/bin/adspd u:object_r:adspd_exec:s0
/system/bin/hci_qcomm_init u:object_r:config_bluetooth_exec:s0
/system/bin/init\.mmi\.boot\.sh u:object_r:mmi_boot_exec:s0
/system/bin/init\.mmi\.laser\.sh u:object_r:mmi_laser_exec:s0
/system/bin/init\.mmi\.touch\.sh u:object_r:mmi_touch_sh_exec:s0
/system/bin/init\.oem\.hw\.sh u:object_r:oem-hw-sh_exec:s0
/system/bin/wlan_carrier_bin\.sh u:object_r:init_wifi_exec:s0
/system/bin/motosh u:object_r:sensor_hub_exec:s0
/system/bin/akmd09912 u:object_r:akmd_exec:s0
# Camera
/sys/kernel/range(/.*)? u:object_r:sysfs_mmi_laser:s0
# CMActions
/sys/homebutton(/.*)? u:object_r:sysfs_homebutton:s0
@@ -101,7 +97,6 @@
/data/misc/netmgr(/.*)? u:object_r:netmgr_data_file:s0
# Sensors
/dev/laser u:object_r:laser_device:s0
/dev/mmi_sys_temp u:object_r:thermal_device:s0
/dev/motosh u:object_r:sensors_device:s0
/dev/motosh_as u:object_r:sensors_device:s0

View File

@@ -1,5 +1,4 @@
allow mm-qcamerad debug_prop:property_service set;
allow mm-qcamerad laser_device:chr_file { read write ioctl open };
allow mm-qcamerad persist_file:dir search;
allow mm-qcamerad persist_file:file { read getattr open };
allow mm-qcamerad system_data_file:dir read;

View File

@@ -1,15 +0,0 @@
type mmi_laser, domain, domain_deprecated;
type mmi_laser_exec, exec_type, file_type;
init_daemon_domain(mmi_laser)
# shell scripts need to execute /system/bin/sh
allow mmi_laser shell_exec:file rx_file_perms;
allow mmi_laser toolbox_exec:file rx_file_perms;
# Logs to /dev/kmsg
allow mmi_laser kmsg_device:chr_file w_file_perms;
allow mmi_laser persist_file:dir search;
allow mmi_laser persist_file:file r_file_perms;
allow mmi_laser self:capability dac_override;
allow mmi_laser sysfs_mmi_laser:file rw_file_perms;