blob: 09da0f6b04fcecb3082504f9639d5436868b915b [file] [log] [blame]
# Filesystem tools
/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0
/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0
# 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
# Postinstall
/system/bin/backuptool_ab\.functions u:object_r:otapreopt_chroot_exec:s0
/system/bin/backuptool_ab\.sh u:object_r:otapreopt_chroot_exec:s0
/system/bin/backuptool_postinstall\.sh u:object_r:otapreopt_chroot_exec:s0
# ADB Root
/system/bin/adb_root u:object_r:adbroot_exec:s0
/data/adbroot(/.*)? u:object_r:adbroot_data_file:s0
# Bash
/system/xbin/bash u:object_r:shell_exec:s0