diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2021-10-08 16:59:36 +0300 |
|---|---|---|
| committer | LuK1337 <priv.luk@gmail.com> | 2021-10-09 15:21:27 +0200 |
| commit | 33bd69ab62733efe8f764cab475d71d6e1deb9f9 (patch) | |
| tree | dc5b7f4ea992db4a915e05ed3d821bb4d44ac4a6 | |
| parent | d283f8e61bdc99f0b211d98ed2971f709ffa244a (diff) | |
common: Kill sysfs_io_sched_tuneable
Change-Id: I49bb16cd8539f80b50974ceb6af9fa6a92e7cbeb
| -rw-r--r-- | common/private/file.te | 1 | ||||
| -rw-r--r-- | common/private/file_contexts | 6 | ||||
| -rw-r--r-- | common/private/init.te | 6 |
3 files changed, 0 insertions, 13 deletions
diff --git a/common/private/file.te b/common/private/file.te index 23167ce..76521e5 100644 --- a/common/private/file.te +++ b/common/private/file.te @@ -1,2 +1 @@ -type sysfs_io_sched_tuneable, fs_type, sysfs_type; type adbroot_data_file, file_type, data_file_type, core_data_file_type; diff --git a/common/private/file_contexts b/common/private/file_contexts index aa7cd43..6fdf6bf 100644 --- a/common/private/file_contexts +++ b/common/private/file_contexts @@ -1,9 +1,3 @@ -# I/O Scheduler -/sys/devices(/platform)?/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[a-f0-9]+/block/mmcblk[0-9]/queue(/.*)? u:object_r:sysfs_io_sched_tuneable:s0 -/sys/devices(/platform)?/soc(\.[0-9])?/[a-f0-9]+\.sdhci/mmc_host/mmc[0-9]/mmc[0-9]:[a-f0-9]+/block/mmcblk[0-9]/queue(/.*)? u:object_r:sysfs_io_sched_tuneable:s0 -/sys/devices(/platform)?/soc(\.[0-9])?/[a-f0-9]+\.ufshc/host[0-9]/target[0-9]+:[0-9]+:[0-9]+/[0-9]+:[0-9]+:[0-9]+:[0-9]+/block/sd[a-z]+/queue(/.*)? u:object_r:sysfs_io_sched_tuneable:s0 -/sys/devices/virtual/block/dm-[a-z0-9]+/queue(/.*)? u:object_r:sysfs_io_sched_tuneable:s0 - # OTA packages /data/lineageos_updates(/.*)? u:object_r:ota_package_file:s0 diff --git a/common/private/init.te b/common/private/init.te deleted file mode 100644 index 9eca0e5..0000000 --- a/common/private/init.te +++ /dev/null @@ -1,6 +0,0 @@ -allow init sysfs_dm:dir relabelfrom; -allow init sysfs_dm:file relabelfrom; - -allow init { - sysfs_io_sched_tuneable -}:file { setattr w_file_perms }; |
