Commit 104e34a3 authored by DerTeufel's avatar DerTeufel Committed by fire855
Browse files

sepolicy: add fever magnetometer

parent be3314c8
Loading
Loading
Loading
Loading

sepolicy/akmd09911.te

0 → 100644
+7 −0
Original line number Diff line number Diff line
type akmd09911_exec , exec_type, file_type;
type akmd09911 ,domain;

init_daemon_domain(akmd09911)

allow akmd09911 msensor_device:chr_file rw_file_perms;
allow akmd09911 gsensor_device:chr_file rw_file_perms;
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
/(system|system\/vendor|vendor)/bin/qmc6983d                    u:object_r:qmc6983d_exec:s0
/(system|system\/vendor|vendor)/bin/mxg2320d                    u:object_r:mxg2320d_exec:s0
/(system|system\/vendor|vendor)/bin/memsicd3416x                u:object_r:memsicd3416x_exec:s0
/(system|system\/vendor|vendor)/bin/akmd09911                   u:object_r:akmd09911_exec:s0
/(system|system\/vendor|vendor)/bin/mtk_agpsd                   u:object_r:mtk_agpsd_exec:s0
/(system|system\/vendor|vendor)/bin/nvram_daemon                u:object_r:nvram_daemon_exec:s0
/(system|system\/vendor|vendor)/bin/pq                          u:object_r:pq_exec:s0
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ allow msensord msensord_daemon_sysfs:file r_file_perms;
set_prop(msensord, ctl_qmc6983d_prop)
set_prop(msensord, ctl_mxg2320d_prop)
set_prop(msensord, ctl_memsicd3416x_prop)
set_prop(msensord, ctl_akmd09911_prop)
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ 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_akmd09911_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
@@ -7,6 +7,7 @@ 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.akmd09911       u:object_r:ctl_akmd09911_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