Initial Commit4

This commit is contained in:
MandySingh3
2017-04-03 03:20:44 +05:30
parent bc8e833c07
commit 7beda1dfbc
214 changed files with 50630 additions and 45 deletions

16
sepolicy/mmi_boot.te Normal file
View File

@@ -0,0 +1,16 @@
type mmi_boot, domain, domain_deprecated;
type mmi_boot_exec, exec_type, file_type;
init_daemon_domain(mmi_boot)
# shell scripts need to execute /system/bin/sh
allow mmi_boot shell_exec:file rx_file_perms;
allow mmi_boot toolbox_exec:file rx_file_perms;
allow mmi_boot radio_data_file:dir { add_name search write };
allow mmi_boot radio_data_file:file { create setattr };
allow mmi_boot radio_data_file:file rw_file_perms;
allow mmi_boot self:capability chown;
allow mmi_boot self:capability dac_override;
allow mmi_boot sysfs_socinfo:file write;
set_prop(mmi_boot, hw_rev_prop);