summaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
blob: dc770f266bf759833d7441172d608c78a9b26b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_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

/system/bin/sysinit       u:object_r:sysinit_exec:s0

#############################
# performance-related sysfs files (CM)
/sys/kernel/mm/ksm(/.*)?       --          u:object_r:sysfs_writable:s0
/sys/devices/system/cpu.*/cpufreq(/.*)? --  u:object_r:sysfs_devices_system_cpu:s0
/sys/block/mmcblk0/queue/scheduler  --    u:object_r:sysfs_writable: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/com.android.settings.daemon(/.*)?   u:object_r:superuser_device:s0
/dev/com.android.settings(/.*)?   u:object_r:superuser_device:s0