Commit d5f9c220 authored by fire855's avatar fire855
Browse files

sepolicy: add memsicd3416x support

parent 2d71788b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
/system/bin/msensord                                            u:object_r:msensord_exec:s0
/system/bin/qmc6983d                                            u:object_r:qmc6983d_exec:s0
/system/bin/mxg2320d                                            u:object_r:mxg2320d_exec:s0
/system/bin/memsicd3416x                                        u:object_r:memsicd3416x_exec:s0
/system/bin/mtk_agpsd                                           u:object_r:mtk_agpsd_exec:s0
/system/bin/nvram_daemon                                        u:object_r:nvram_daemon_exec:s0
/system/bin/pq                                                  u:object_r:pq_exec:s0
+7 −0
Original line number Diff line number Diff line
type memsicd3416x_exec, exec_type, file_type;
type memsicd3416x, domain, domain_deprecated;

init_daemon_domain(memsicd3416x)

allow memsicd3416x msensor_device:chr_file rw_file_perms;
allow memsicd3416x gsensor_device:chr_file rw_file_perms;
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -7,5 +7,6 @@ allow msensord msensord_daemon_sysfs:file r_file_perms;

allow msensord ctl_qmc6983d_prop:property_service set;
allow msensord ctl_mxg2320d_prop:property_service set;
allow msensord ctl_memsicd3416x_prop:property_service set;

unix_socket_connect(msensord, property, init)
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ type mtk_md_prop, property_type, mtk_property_type;
type mnld_prop, property_type, mtk_property_type;
type ctl_qmc6983d_prop, property_type;
type ctl_mxg2320d_prop, property_type;
type ctl_memsicd3416x_prop, property_type;
type ctl_ccci_fsd_prop, property_type;
type ctl_gsm0710muxd_prop, property_type;
type ctl_gsm0710muxdmd2_prop, property_type;
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ gps.clock.type u:object_r:mnld_prop:s0
gps.gps.version     u:object_r:mnld_prop:s0
ctl.qmc6983d        u:object_r:ctl_qmc6983d_prop:s0
ctl.mxg2320d        u:object_r:ctl_mxg2320d_prop:s0
ctl.memsicd3416x    u:object_r:ctl_memsicd3416x_prop:s0
ctl.ccci_fsd        u:object_r:ctl_ccci_fsd_prop:s0
ctl.gsm0710muxd     u:object_r:ctl_gsm0710muxd_prop:s0
ctl.gsm0710muxd-s   u:object_r:ctl_gsm0710muxd_prop:s0