Commit a257f74c authored by fire855's avatar fire855
Browse files

sepolicy: add st480d sensor policy

parent 5653a3fe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
/(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/st480d                      u:object_r:st480d_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
/(system|system\/vendor|vendor)/bin/thermal_manager             u:object_r:thermal_manager_exec:s0

sepolicy/st480d.te

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

init_daemon_domain(st480d)

allow st480d msensor_device:chr_file rw_file_perms;
allow st480d gsensor_device:chr_file rw_file_perms;