blob: 8cea018efe05711acee4820d7fbeb2cb7d5e4bf5 [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
Ricardo Cerqueira15df17f2014-11-09 17:20:54 +00005# Auditd is a logging daemon. Put it into logd's context
6/system/bin/auditd u:object_r:logd_exec:s0
7/data/misc/audit(/.*)? u:object_r:auditd_log:s0
8
Andy Mastf2740192014-12-16 11:05:54 -08009# Themes
10/data/system/theme(/.*)? u:object_r:theme_data_file:s0
11
myfluxi12daaee2014-11-22 19:33:26 +010012/system/bin/sysinit u:object_r:sysinit_exec:s0
13
Georg Veichtlbauer2ccd36c2015-02-04 18:17:31 +010014/system/etc/init.d/90userinit u:object_r:userinit_exec:s0
Emerson Pinterdc699fb2015-02-12 19:20:19 -020015/data/local/userinit.sh u:object_r:userinit_data_exec:s0
Georg Veichtlbauer2ccd36c2015-02-04 18:17:31 +010016
codeworkx053b1802015-12-29 21:51:32 +010017# For EXFAT/F2FS/NTFS partitions marked "formattable"
18/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080019/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
codeworkx053b1802015-12-29 21:51:32 +010020/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0
Keith Mokfcfc13a2015-12-15 13:24:34 -080021
Tom Marshall39a42442014-11-26 13:26:14 -080022# For minivold in recovery
23/sbin/minivold u:object_r:vold_exec:s0
24
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000025#############################
26# performance-related sysfs files (CM)
Steve Kondik7a929492016-04-30 02:30:54 -070027/sys/devices/system/cpu.*/cpufreq(/.*)? u:object_r:sysfs_devices_system_cpu:s0
28/sys/block/mmcblk.*/queue/scheduler u:object_r:sysfs_devices_system_iosched:s0
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000029
Steve Kondikfdf1aff2014-05-11 02:57:57 -070030/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
Ricardo Cerqueira09159ac2014-11-26 21:34:15 +000031
32#############
33# Superuser's control sockets
Ricardo Cerqueiraa7dfa182014-12-16 19:27:32 +000034/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
Ricardo Cerqueirafa63e502014-11-27 18:17:06 +000035
36# Expansion of these hooks is a bit unconventional
37/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
Roman Birg20114d62014-12-08 15:02:48 -080038
39# Lockscreen wallpaper
40/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0
Steve Kondika3855012015-09-06 13:53:29 -070041
42# Persistent properties
Ricardo Cerqueirab0266052015-10-05 19:51:45 +010043/persist/properties(/.*)? u:object_r:persist_property_file:s0
Steve Kondikb5dbbdf2015-09-15 04:09:03 -070044
45# LiveDisplay
46/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
47/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
48/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
49/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
dhacker29076a1ea2015-12-06 22:53:52 -050050
51# fsck
52/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
53/system/bin/fsck\.exfat u:object_r:fsck_exec:s0