blob: 1e58f1452c8523acde70bbf2db5c99a1d607ca52 [file] [log] [blame]
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +00001/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
2
Andy Mastf2740192014-12-16 11:05:54 -08003# Themes
d34d79eda9e2016-07-20 11:02:12 -07004/data/system/theme(/.*)? u:object_r:themeservice_app_data_file:s0
Andy Mastf2740192014-12-16 11:05:54 -08005
myfluxi12daaee2014-11-22 19:33:26 +01006/system/bin/sysinit u:object_r:sysinit_exec:s0
7
Michael Bestas047385a2016-12-05 14:05:22 +02008/system/etc/init\.d/90userinit u:object_r:userinit_exec:s0
9/data/local/userinit\.sh u:object_r:userinit_data_exec:s0
Georg Veichtlbauer2ccd36c2015-02-04 18:17:31 +010010
codeworkx053b1802015-12-29 21:51:32 +010011# For EXFAT/F2FS/NTFS partitions marked "formattable"
12/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080013/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
codeworkx053b1802015-12-29 21:51:32 +010014/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080015
Tom Marshall39a42442014-11-26 13:26:14 -080016# For minivold in recovery
17/sbin/minivold u:object_r:vold_exec:s0
18
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000019#############################
20# performance-related sysfs files (CM)
Steve Kondik7a929492016-04-30 02:30:54 -070021/sys/devices/system/cpu.*/cpufreq(/.*)? u:object_r:sysfs_devices_system_cpu:s0
22/sys/block/mmcblk.*/queue/scheduler u:object_r:sysfs_devices_system_iosched:s0
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000023
Steve Kondikfdf1aff2014-05-11 02:57:57 -070024/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
Ricardo Cerqueira09159ac2014-11-26 21:34:15 +000025
26#############
27# Superuser's control sockets
Ricardo Cerqueiraa7dfa182014-12-16 19:27:32 +000028/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
Ricardo Cerqueirafa63e502014-11-27 18:17:06 +000029
30# Expansion of these hooks is a bit unconventional
Michael Bestas047385a2016-12-05 14:05:22 +020031/cache/com\.cyanogenmod\.keyhandler\.dex u:object_r:dalvikcache_data_file:s0
Roman Birg20114d62014-12-08 15:02:48 -080032
33# Lockscreen wallpaper
34/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0
Steve Kondika3855012015-09-06 13:53:29 -070035
36# Persistent properties
Ricardo Cerqueirab0266052015-10-05 19:51:45 +010037/persist/properties(/.*)? u:object_r:persist_property_file:s0
Steve Kondikb5dbbdf2015-09-15 04:09:03 -070038
39# LiveDisplay
40/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
41/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
Michael Bestas3ada2012016-12-05 14:11:28 +020042/sys/devices/virtual/graphics/fb0/hbm u:object_r:livedisplay_sysfs:s0
Steve Kondikb5dbbdf2015-09-15 04:09:03 -070043/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
44/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
Zhao Wei Liewde1ad362016-04-30 14:57:22 +080045/sys/devices/virtual/graphics/fb0/color_enhance u:object_r:livedisplay_sysfs:s0
dhacker29076a1ea2015-12-06 22:53:52 -050046
47# fsck
48/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
49/system/bin/fsck\.exfat u:object_r:fsck_exec:s0
Dan Pasanen2b8c4b22016-06-06 08:21:44 -050050
51# bash
52/system/xbin/bash u:object_r:shell_exec:s0