blob: f9650f864094d42e8b9fe9ca4a377dffea590233 [file] [log] [blame]
Alberto97d3359a02014-11-30 17:20:55 +01001/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
2
Ricardo Cerqueira66d1be52015-02-05 22:33:47 +00003/cache/recovery(/.*)? u:object_r:recovery_cache_file:s0
4
Alberto97d3359a02014-11-30 17:20:55 +01005# 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
9/system/bin/sysinit u:object_r:sysinit_exec:s0
10
Keith Mok60ff62f2015-12-15 13:24:34 -080011# For F2FS partitions marked "formattable"
12/system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0
Tom Marshall4ad487b2014-11-26 13:26:14 -080013# For minivold in recovery
14/sbin/minivold u:object_r:vold_exec:s0
15
Georg Veichtlbauer01911cc2015-02-04 18:17:31 +010016/system/etc/init.d/90userinit u:object_r:userinit_exec:s0
Emerson Pinter9837fb52015-02-12 19:20:19 -020017/data/local/userinit.sh u:object_r:userinit_data_exec:s0
Georg Veichtlbauer01911cc2015-02-04 18:17:31 +010018
Alberto97d3359a02014-11-30 17:20:55 +010019#############################
20# performance-related sysfs files (CM)
Alberto97d3359a02014-11-30 17:20:55 +010021/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
Dan Pasaneneb9dc522015-01-05 17:56:19 -060022/sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0
Alberto97d3359a02014-11-30 17:20:55 +010023
24/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
Ricardo Cerqueirab8038cd2014-11-26 21:34:15 +000025
26#############
Ricardo Cerqueira62227002014-11-27 18:17:06 +000027# Expansion of these hooks is a bit unconventional
28/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
Steve Kondikfc5d13a2015-09-06 13:53:29 -070029
30# Persistent properties
Ricardo Cerqueira028ec232015-10-05 19:51:45 +010031/persist/properties(/.*)? u:object_r:persist_property_file:s0
Steve Kondikc0f9ac12015-09-15 04:09:03 -070032
33# LiveDisplay
34/sys/devices/virtual/graphics/fb0/aco u:object_r:livedisplay_sysfs:s0
35/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
36/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
37/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0