From 4afed3125c0ddbf7b19ab244bb54cdc1e39d357f Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 24 Nov 2019 19:29:52 +0200 Subject: sdm660-common: sepolicy: Remove deprecated power HAL stats policies Change-Id: If1b846c96c7c029afe73b9676e42b38cd2889dc8 --- sepolicy/vendor/file.te | 1 - sepolicy/vendor/genfs_contexts | 3 --- sepolicy/vendor/hal_power_default.te | 1 - sepolicy/vendor/kernel.te | 1 - 4 files changed, 6 deletions(-) delete mode 100644 sepolicy/vendor/kernel.te diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te index 3901f9c..f2e1ab4 100644 --- a/sepolicy/vendor/file.te +++ b/sepolicy/vendor/file.te @@ -1,4 +1,3 @@ -type debugfs_wlan, debugfs_type, fs_type; type ir_dev_file, file_type; type sysfs_touchpanel, fs_type, sysfs_type; type sysfs_fingerprint, fs_type, sysfs_type; diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index baf0bae..f0c4efa 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -22,9 +22,6 @@ genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi: genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/button-backlight1 u:object_r:sysfs_graphics:s0 genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/white u:object_r:sysfs_graphics:s0 -# Power -genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0 - # RTC genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-00/800f000.qcom,spmi:qcom,pm660@0:qcom,pm660_rtc/rtc u:object_r:sysfs_rtc:s0 diff --git a/sepolicy/vendor/hal_power_default.te b/sepolicy/vendor/hal_power_default.te index d09d621..f3999d7 100644 --- a/sepolicy/vendor/hal_power_default.te +++ b/sepolicy/vendor/hal_power_default.te @@ -1,3 +1,2 @@ allow hal_power_default sysfs_touchpanel:dir search; allow hal_power_default sysfs_touchpanel:file rw_file_perms; -r_dir_file(hal_power_default, debugfs_wlan) diff --git a/sepolicy/vendor/kernel.te b/sepolicy/vendor/kernel.te deleted file mode 100644 index 9ba3537..0000000 --- a/sepolicy/vendor/kernel.te +++ /dev/null @@ -1 +0,0 @@ -allow kernel debugfs_wlan:dir search; -- cgit v1.2.3