msm8974-common: sepolicy: Adapt to global sepolicy merges

* Several items merged globally caused duplicate definition of paths
  that were previously labeled here.

This reverts commit 27afbf1dc6.
This reverts commit 7fb5a8c6cb.
This partially reverts commit bb196ad94b.
This partially reverts commit c39a735ab5.

Change-Id: I901e5aa78058e1a465f110cde31fb7d76eaf3d51
This commit is contained in:
Kevin F. Haggerty 2019-01-21 14:27:20 -07:00
parent 99b3981287
commit 9aa32ce3c9
No known key found for this signature in database
GPG Key ID: 6D95512933112729
3 changed files with 0 additions and 6 deletions

View File

@ -16,7 +16,6 @@ type sysfs_sec_thermistor, fs_type, sysfs_type;
type sysfs_sec_touchkey, fs_type, sysfs_type; type sysfs_sec_touchkey, fs_type, sysfs_type;
type sysfs_sec_tsp, fs_type, sysfs_type; type sysfs_sec_tsp, fs_type, sysfs_type;
type sysfs_usb_otg, fs_type, sysfs_type; type sysfs_usb_otg, fs_type, sysfs_type;
type sysfs_usb_storage_gadget, fs_type, sysfs_type;
type sysfs_wifi_writeable, fs_type, sysfs_type; type sysfs_wifi_writeable, fs_type, sysfs_type;
type bt_fw_file, file_type; type bt_fw_file, file_type;

View File

@ -46,12 +46,10 @@
# sysfs - block/storage # sysfs - block/storage
/sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[0-9]+/block/mmcblk[0-9]/bkops_en u:object_r:sysfs_io_sched_tuneable:s0 /sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[0-9]+/block/mmcblk[0-9]/bkops_en u:object_r:sysfs_io_sched_tuneable:s0
/sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[0-9]+/block/mmcblk[0-9]/stat u:object_r:sysfs_disk_stat:s0
/sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/power(/.*)? u:object_r:sysfs_mmc_host:s0 /sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/power(/.*)? u:object_r:sysfs_mmc_host:s0
# sysfs - cpu/perf # sysfs - cpu/perf
/sys/devices/system/soc/soc0(/.*)? u:object_r:sysfs_socinfo:s0 /sys/devices/system/soc/soc0(/.*)? u:object_r:sysfs_socinfo:s0
/sys/module/msm_pm/modes/cpu[0-9](/.*)? u:object_r:sysfs_msm_perf:s0
# sysfs - graphics/panel # sysfs - graphics/panel
/sys/class/mhl(/.*)? u:object_r:sysfs_graphics:s0 /sys/class/mhl(/.*)? u:object_r:sysfs_graphics:s0
@ -66,7 +64,6 @@
# sysfs - leds # sysfs - leds
/sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0 /sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/max[a-z0-9]+-led/leds(/.*)? u:object_r:sysfs_leds:s0 /sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/max[a-z0-9]+-led/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/leds-qpnp-[0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
# sysfs - mdnie # sysfs - mdnie
/sys/devices/virtual/mdnie/mdnie(/.*)? u:object_r:sysfs_mdnie:s0 /sys/devices/virtual/mdnie/mdnie(/.*)? u:object_r:sysfs_mdnie:s0
@ -91,5 +88,4 @@
/sys/devices/virtual/sensors(/.*)? u:object_r:sysfs_sensors:s0 /sys/devices/virtual/sensors(/.*)? u:object_r:sysfs_sensors:s0
# sysfs - usb # sysfs - usb
/sys/devices/msm_dwc3/[a-f0-9]+\.dwc3/gadget/lun[0-9]+(/.*)? u:object_r:sysfs_usb_storage_gadget:s0
/sys/devices/virtual/host_notify/usb_otg(/.*)? u:object_r:sysfs_usb_otg:s0 /sys/devices/virtual/host_notify/usb_otg(/.*)? u:object_r:sysfs_usb_otg:s0

View File

@ -36,7 +36,6 @@ allow init {
sysfs_sensors sysfs_sensors
sysfs_socinfo sysfs_socinfo
sysfs_usb_otg sysfs_usb_otg
sysfs_usb_storage_gadget
sysfs_wifi_writeable sysfs_wifi_writeable
}:file setattr; }:file setattr;