Nicholas Flintham | 3e2481d | 2014-11-14 23:19:24 +0000 | [diff] [blame] | 1 | /cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0 |
| 2 | |
Ricardo Cerqueira | 2ed344f | 2015-02-05 22:33:47 +0000 | [diff] [blame] | 3 | /cache/recovery(/.*)? u:object_r:recovery_cache_file:s0 |
| 4 | |
Nicholas Flintham | 3e2481d | 2014-11-14 23:19:24 +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 | |
myfluxi | fd7f70a | 2014-11-22 19:33:26 +0100 | [diff] [blame] | 9 | /system/bin/sysinit u:object_r:sysinit_exec:s0 |
| 10 | |
Georg Veichtlbauer | 9949900 | 2015-02-04 18:17:31 +0100 | [diff] [blame] | 11 | /system/etc/init.d/90userinit u:object_r:userinit_exec:s0 |
Emerson Pinter | d0918c1 | 2015-02-12 19:20:19 -0200 | [diff] [blame] | 12 | /data/local/userinit.sh u:object_r:userinit_data_exec:s0 |
Georg Veichtlbauer | 9949900 | 2015-02-04 18:17:31 +0100 | [diff] [blame] | 13 | |
Tom Marshall | 17834ae | 2014-11-26 13:26:14 -0800 | [diff] [blame] | 14 | # For minivold in recovery |
| 15 | /sbin/minivold u:object_r:vold_exec:s0 |
| 16 | |
Lars Greiss | 2564453 | 2013-11-19 09:26:39 +0100 | [diff] [blame] | 17 | ############################# |
Nicholas Flintham | 3e2481d | 2014-11-14 23:19:24 +0000 | [diff] [blame] | 18 | # performance-related sysfs files (CM) |
Nicholas Flintham | 3e2481d | 2014-11-14 23:19:24 +0000 | [diff] [blame] | 19 | /sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0 |
Dan Pasanen | ad997aa | 2015-01-05 17:56:19 -0600 | [diff] [blame] | 20 | /sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0 |
Lars Greiss | 2564453 | 2013-11-19 09:26:39 +0100 | [diff] [blame] | 21 | |
Nicholas Flintham | 3e2481d | 2014-11-14 23:19:24 +0000 | [diff] [blame] | 22 | /data/hostapd(/.*)? u:object_r:wifi_data_file:s0 |
| 23 | /data/misc/radio(/.*)? u:object_r:radio_data_file:s0 |
Ricardo Cerqueira | b3dce3f | 2014-11-26 21:34:15 +0000 | [diff] [blame] | 24 | |
| 25 | ############# |
| 26 | # Superuser's control sockets |
Ricardo Cerqueira | 51ecbf7 | 2014-12-16 19:27:32 +0000 | [diff] [blame] | 27 | /dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0 |
Ricardo Cerqueira | 42b4a66 | 2014-11-27 18:17:06 +0000 | [diff] [blame] | 28 | |
| 29 | # Expansion of these hooks is a bit unconventional |
| 30 | /cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0 |
Roman Birg | eada94e | 2014-12-08 15:02:48 -0800 | [diff] [blame] | 31 | |
| 32 | # Lockscreen wallpaper |
| 33 | /data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0 |