Ricardo Cerqueira | ac8d095 | 2013-11-06 03:00:16 +0000 | [diff] [blame] | 1 | /cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0 |
| 2 | |
Ricardo Cerqueira | c75446d | 2015-02-05 22:33:47 +0000 | [diff] [blame] | 3 | /cache/recovery(/.*)? u:object_r:recovery_cache_file:s0 |
| 4 | |
Ricardo Cerqueira | 15df17f | 2014-11-09 17:20:54 +0000 | [diff] [blame] | 5 | # 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 Mast | f274019 | 2014-12-16 11:05:54 -0800 | [diff] [blame] | 9 | # Themes |
| 10 | /data/system/theme(/.*)? u:object_r:theme_data_file:s0 |
| 11 | |
myfluxi | 12daaee | 2014-11-22 19:33:26 +0100 | [diff] [blame] | 12 | /system/bin/sysinit u:object_r:sysinit_exec:s0 |
| 13 | |
Georg Veichtlbauer | 2ccd36c | 2015-02-04 18:17:31 +0100 | [diff] [blame] | 14 | /system/etc/init.d/90userinit u:object_r:userinit_exec:s0 |
Emerson Pinter | dc699fb | 2015-02-12 19:20:19 -0200 | [diff] [blame] | 15 | /data/local/userinit.sh u:object_r:userinit_data_exec:s0 |
Georg Veichtlbauer | 2ccd36c | 2015-02-04 18:17:31 +0100 | [diff] [blame] | 16 | |
codeworkx | 053b180 | 2015-12-29 21:51:32 +0100 | [diff] [blame^] | 17 | # For EXFAT/F2FS/NTFS partitions marked "formattable" |
| 18 | /system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0 |
Keith Mok | fcfc13a | 2015-12-15 13:24:34 -0800 | [diff] [blame] | 19 | /system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0 |
codeworkx | 053b180 | 2015-12-29 21:51:32 +0100 | [diff] [blame^] | 20 | /system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0 |
Keith Mok | fcfc13a | 2015-12-15 13:24:34 -0800 | [diff] [blame] | 21 | |
Tom Marshall | 39a4244 | 2014-11-26 13:26:14 -0800 | [diff] [blame] | 22 | # For minivold in recovery |
| 23 | /sbin/minivold u:object_r:vold_exec:s0 |
| 24 | |
Ricardo Cerqueira | ac8d095 | 2013-11-06 03:00:16 +0000 | [diff] [blame] | 25 | ############################# |
| 26 | # performance-related sysfs files (CM) |
Steve Kondik | 002b4f0 | 2014-04-05 14:05:13 -0700 | [diff] [blame] | 27 | /sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0 |
Dan Pasanen | afbfad5 | 2015-01-05 17:56:19 -0600 | [diff] [blame] | 28 | /sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0 |
Ricardo Cerqueira | ac8d095 | 2013-11-06 03:00:16 +0000 | [diff] [blame] | 29 | |
Steve Kondik | fdf1aff | 2014-05-11 02:57:57 -0700 | [diff] [blame] | 30 | /data/hostapd(/.*)? u:object_r:wifi_data_file:s0 |
Ricardo Cerqueira | 09159ac | 2014-11-26 21:34:15 +0000 | [diff] [blame] | 31 | |
| 32 | ############# |
| 33 | # Superuser's control sockets |
Ricardo Cerqueira | a7dfa18 | 2014-12-16 19:27:32 +0000 | [diff] [blame] | 34 | /dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0 |
Ricardo Cerqueira | fa63e50 | 2014-11-27 18:17:06 +0000 | [diff] [blame] | 35 | |
| 36 | # Expansion of these hooks is a bit unconventional |
| 37 | /cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0 |
Roman Birg | 20114d6 | 2014-12-08 15:02:48 -0800 | [diff] [blame] | 38 | |
| 39 | # Lockscreen wallpaper |
| 40 | /data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0 |
Steve Kondik | a385501 | 2015-09-06 13:53:29 -0700 | [diff] [blame] | 41 | |
| 42 | # Persistent properties |
Ricardo Cerqueira | b026605 | 2015-10-05 19:51:45 +0100 | [diff] [blame] | 43 | /persist/properties(/.*)? u:object_r:persist_property_file:s0 |
Steve Kondik | b5dbbdf | 2015-09-15 04:09:03 -0700 | [diff] [blame] | 44 | |
| 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 |
dhacker29 | 076a1ea | 2015-12-06 22:53:52 -0500 | [diff] [blame] | 50 | |
| 51 | # fsck |
| 52 | /system/bin/fsck\.ntfs u:object_r:fsck_exec:s0 |
| 53 | /system/bin/fsck\.exfat u:object_r:fsck_exec:s0 |