blob: d02cc9184925af29627e83ab154b08ca7c8de6bb [file] [log] [blame]
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +00001/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
2
Ricardo Cerqueirac75446d2015-02-05 22:33:47 +00003/cache/recovery(/.*)? u:object_r:recovery_cache_file:s0
4
Andy Mastf2740192014-12-16 11:05:54 -08005# Themes
d34d79eda9e2016-07-20 11:02:12 -07006/data/system/theme(/.*)? u:object_r:themeservice_app_data_file:s0
Andy Mastf2740192014-12-16 11:05:54 -08007
myfluxi12daaee2014-11-22 19:33:26 +01008/system/bin/sysinit u:object_r:sysinit_exec:s0
9
Georg Veichtlbauer2ccd36c2015-02-04 18:17:31 +010010/system/etc/init.d/90userinit u:object_r:userinit_exec:s0
Emerson Pinterdc699fb2015-02-12 19:20:19 -020011/data/local/userinit.sh u:object_r:userinit_data_exec:s0
Georg Veichtlbauer2ccd36c2015-02-04 18:17:31 +010012
codeworkx053b1802015-12-29 21:51:32 +010013# For EXFAT/F2FS/NTFS partitions marked "formattable"
14/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080015/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
codeworkx053b1802015-12-29 21:51:32 +010016/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080017
Tom Marshall39a42442014-11-26 13:26:14 -080018# For minivold in recovery
19/sbin/minivold u:object_r:vold_exec:s0
20
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000021#############################
22# performance-related sysfs files (CM)
Steve Kondik7a929492016-04-30 02:30:54 -070023/sys/devices/system/cpu.*/cpufreq(/.*)? u:object_r:sysfs_devices_system_cpu:s0
24/sys/block/mmcblk.*/queue/scheduler u:object_r:sysfs_devices_system_iosched:s0
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000025
Steve Kondikfdf1aff2014-05-11 02:57:57 -070026/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
Ricardo Cerqueira09159ac2014-11-26 21:34:15 +000027
28#############
29# Superuser's control sockets
Ricardo Cerqueiraa7dfa182014-12-16 19:27:32 +000030/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
Ricardo Cerqueirafa63e502014-11-27 18:17:06 +000031
32# Expansion of these hooks is a bit unconventional
33/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
Roman Birg20114d62014-12-08 15:02:48 -080034
35# Lockscreen wallpaper
36/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0
Steve Kondika3855012015-09-06 13:53:29 -070037
38# Persistent properties
Ricardo Cerqueirab0266052015-10-05 19:51:45 +010039/persist/properties(/.*)? u:object_r:persist_property_file:s0
Steve Kondikb5dbbdf2015-09-15 04:09:03 -070040
41# LiveDisplay
42/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
43/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
44/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
45/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
Zhao Wei Liewde1ad362016-04-30 14:57:22 +080046/sys/devices/virtual/graphics/fb0/color_enhance u:object_r:livedisplay_sysfs:s0
dhacker29076a1ea2015-12-06 22:53:52 -050047
48# fsck
49/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
50/system/bin/fsck\.exfat u:object_r:fsck_exec:s0
Dan Pasanen2b8c4b22016-06-06 08:21:44 -050051
52# bash
53/system/xbin/bash u:object_r:shell_exec:s0