blob: 33534d7718327897b017fa15e799121395a65979 [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
Keith Mokfcfc13a2015-12-15 13:24:34 -080017# For F2FS partitions marked "formattable"
18/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
19
Tom Marshall39a42442014-11-26 13:26:14 -080020# For minivold in recovery
21/sbin/minivold u:object_r:vold_exec:s0
22
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000023#############################
24# performance-related sysfs files (CM)
Steve Kondik002b4f02014-04-05 14:05:13 -070025/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
Dan Pasanenafbfad52015-01-05 17:56:19 -060026/sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0
Ricardo Cerqueiraac8d0952013-11-06 03:00:16 +000027
Steve Kondikfdf1aff2014-05-11 02:57:57 -070028/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
Ricardo Cerqueira09159ac2014-11-26 21:34:15 +000029
30#############
31# Superuser's control sockets
Ricardo Cerqueiraa7dfa182014-12-16 19:27:32 +000032/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
Ricardo Cerqueirafa63e502014-11-27 18:17:06 +000033
34# Expansion of these hooks is a bit unconventional
35/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
Roman Birg20114d62014-12-08 15:02:48 -080036
37# Lockscreen wallpaper
38/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0
Steve Kondika3855012015-09-06 13:53:29 -070039
40# Persistent properties
Ricardo Cerqueirab0266052015-10-05 19:51:45 +010041/persist/properties(/.*)? u:object_r:persist_property_file:s0
Steve Kondikb5dbbdf2015-09-15 04:09:03 -070042
43# LiveDisplay
44/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
45/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
46/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
47/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
dhacker29076a1ea2015-12-06 22:53:52 -050048
49# fsck
50/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
51/system/bin/fsck\.exfat u:object_r:fsck_exec:s0