c75446d072
/cache/recovery is used by 2 domains: recovery and updater apps. Separate its perms from the rest of /cache and grant them to those 2 clients Change-Id: Iacde60744c07423f9876c2f8e3da900543e38ddf
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
|
|
|
|
/cache/recovery(/.*)? u:object_r:recovery_cache_file:s0
|
|
|
|
# Auditd is a logging daemon. Put it into logd's context
|
|
/system/bin/auditd u:object_r:logd_exec:s0
|
|
/data/misc/audit(/.*)? u:object_r:auditd_log:s0
|
|
|
|
# Themes
|
|
/data/system/theme(/.*)? u:object_r:theme_data_file:s0
|
|
|
|
/system/bin/sysinit u:object_r:sysinit_exec:s0
|
|
|
|
/system/etc/init.d/90userinit u:object_r:userinit_exec:s0
|
|
|
|
# For minivold in recovery
|
|
/sbin/minivold u:object_r:vold_exec:s0
|
|
|
|
#############################
|
|
# performance-related sysfs files (CM)
|
|
/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
|
|
/sys/block/mmcblk.*/queue/scheduler -- u:object_r:sysfs_devices_system_iosched:s0
|
|
|
|
/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
|
|
/data/misc/radio(/.*)? u:object_r:radio_data_file:s0
|
|
|
|
#############
|
|
# Superuser's control sockets
|
|
/dev/socket/su-daemon(/.*)? u:object_r:superuser_device:s0
|
|
|
|
# Expansion of these hooks is a bit unconventional
|
|
/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0
|
|
|
|
# Lockscreen wallpaper
|
|
/data/system/users/[0-9]+/keyguard_wallpaper u:object_r:wallpaper_file:s0
|