sepolicy: modifications for CmHardwareService
Change-Id: I7b21b6defce2b09c929ff62279f98010e4724009
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 415856b..2673943 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -133,7 +133,6 @@
rmt.te \
sensors.te \
surfaceflinger.te \
- system_app.te \
system_server.te \
tee.te \
te_macros \
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te
deleted file mode 100644
index b246f99..0000000
--- a/sepolicy/system_app.te
+++ /dev/null
@@ -1 +0,0 @@
-allow system_app sysfs_hardware:file rw_file_perms;
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index fe6fce0..9abf8a4 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -22,3 +22,5 @@
allow system_server radio_device:chr_file r_file_perms;
allow system_server self:netlink_socket create_socket_perms;
+
+allow system_server sysfs_hardware:file rw_file_perms;