• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/data/cam_socket[23]           u:object_r:camera_socket:s0
2/data/diag_logs(/.*)?          u:object_r:diag_logs:s0
3/data/misc/radio(/.*)?         u:object_r:radio_data_file:s0
4/data/nfc(/.*)?                u:object_r:nfc_data_file:s0
5/data/time(/.*)?               u:object_r:time_data_file:s0
6/data/misc/location/gsiff(/.*)? u:object_r:gsiffd_data_file:s0
7/data/misc/location/quipc(/.*)? u:object_r:quipc_data_file:s0
8/data/ss-ram-dumps(/.*)?       u:object_r:ram_dump_logs:s0
9/data/adspd(/.*)?              u:object_r:adspd_data_file:s0
10/data/misc/audio_cutback(/.*)? u:object_r:audio_cutback_data_file:s0
11
12# TODO move out of /data/system
13/data/system/dropbox-add(/.*)? u:object_r:dropbox_data_file:s0
14
15# Bluetooth
16/dev/ttyHS0                    u:object_r:hci_attach_dev:s0
17
18# Audio DSP devices
19/dev/ttyHS3                    u:object_r:adspd_device:s0
20
21#Serial console
22/dev/ttyHSL0                   u:object_r:console_device:s0
23
24# GPU device
25/dev/kgsl-3d0                  u:object_r:gpu_device:s0
26/dev/kgsl                      u:object_r:gpu_device:s0
27
28# Mdm_Helper devices
29/dev/efs_hsic_bridge           u:object_r:mdm_helper_device:s0
30/dev/ks_hsic_bridge            u:object_r:mdm_helper_device:s0
31
32# factory reset protection partition
33/dev/block/platform/msm_sdcc\.1/by-name/frp           u:object_r:frp_block_device:s0
34
35# /persist
36/dev/block/platform/msm_sdcc\.1/by-name/persist   u:object_r:persist_block_device:s0
37
38# mdm1hob, mdm1dhob
39/dev/block/platform/msm_sdcc.1/by-name/mdm1hob   u:object_r:modem_hob_block_device:s0
40/dev/block/platform/msm_sdcc.1/by-name/mdm1dhob  u:object_r:modem_hob_block_device:s0
41
42# efs1, efs2, efs3 (/fsg), efsc
43/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs1  u:object_r:efs_block_device:s0
44/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs2  u:object_r:efs_block_device:s0
45/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3  u:object_r:efs_block_device:s0
46/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefsc  u:object_r:efs_block_device:s0
47
48/dev/block/platform/msm_sdcc\.1/by-name/system       u:object_r:system_block_device:s0
49/dev/block/platform/msm_sdcc\.1/by-name/recovery     u:object_r:recovery_block_device:s0
50/dev/block/platform/msm_sdcc\.1/by-name/boot         u:object_r:boot_block_device:s0
51/dev/block/platform/msm_sdcc\.1/by-name/userdata     u:object_r:userdata_block_device:s0
52/dev/block/platform/msm_sdcc\.1/by-name/metadata     u:object_r:metadata_block_device:s0
53/dev/block/platform/msm_sdcc\.1/by-name/cache        u:object_r:cache_block_device:s0
54
55# Customer Identifier
56/dev/block/platform/msm_sdcc.1/by-name/cid          u:object_r:cid_block_device:s0
57
58# tee devices
59/dev/block/mmcblk0rpmb          u:object_r:drm_block_device:s0
60/dev/block/mmcblk0p34           u:object_r:drm_block_device:s0
61
62# Used by keystore to access trustzone
63/dev/qseecom                   u:object_r:tee_device:s0
64
65# Should only be on userdebug device
66/dev/diag                       u:object_r:diag_device:s0
67/dev/ttydiag2                   u:object_r:diag_device:s0
68/dev/ramdump_.*                 u:object_r:ramdump_device:s0
69
70# MSM camera related
71/dev/media([0-9])+              u:object_r:camera_device:s0
72/dev/jpeg[0-9]*                 u:object_r:camera_device:s0
73
74/dev/bcm2079x-i2c                  u:object_r:nfc_device:s0
75
76# Radio/modem devices
77/dev/esoc-0                     u:object_r:radio_device:s0
78/dev/hsicctl([0-9])+            u:object_r:radio_device:s0
79/dev/subsys_esoc0               u:object_r:radio_device:s0
80
81/dev/sensors                    u:object_r:sensors_device:s0
82
83/dev/socket/adspdsock           u:object_r:adspd_socket:s0
84/dev/socket/sensor_ctl_socket   u:object_r:sensors_socket:s0
85/dev/socket/mpdecision(/.*)?    u:object_r:mpdecision_socket:s0
86
87#Add context for IMS Socket node
88/dev/socket/ims_qmid            u:object_r:ims_socket:s0
89/dev/socket/ims_datad           u:object_r:ims_socket:s0
90
91# Shared memory log
92/dev/smem_log                   u:object_r:shared_log_device:s0
93
94/dev/cpu_dma_latency            u:object_r:power_control_device:s0
95
96# Thermal engine
97/dev/msm_thermal_query          u:object_r:thermal_engine_device:s0
98
99# Qualcomm MSM Audio devices
100/dev/msm_acdb                      u:object_r:audio_device:s0
101/dev/msm_rtac                      u:object_r:audio_device:s0
102
103# Qualcomm MSM Interface (QMI) devices
104/dev/socket/qmux_audio(/.*)?           u:object_r:qmuxd_socket:s0
105/dev/socket/qmux_bluetooth(/.*)?       u:object_r:qmuxd_socket:s0
106/dev/socket/qmux_gps(/.*)?             u:object_r:qmuxd_socket:s0
107/dev/socket/qmux_radio(/.*)?           u:object_r:qmuxd_socket:s0
108
109/dev/v4l-subdev[0-9]*           u:object_r:video_device:s0
110
111# Persist firmware filesystem
112/persist(/.*)?                  u:object_r:persist_file:s0
113/persist/data(/.*)?             u:object_r:persist_data_file:s0
114/persist/data/tz(/.*)?          u:object_r:persist_drm_file:s0
115/persist/data/sfs(/.*)?         u:object_r:persist_drm_file:s0
116/persist/sensors(/.*)?          u:object_r:persist_sensors_file:s0
117/persist/mdm(/.*)?              u:object_r:persist_modem_file:s0
118/persist/public/hiddenmenu(/.*)? u:object_r:persist_hiddenmenu_file:s0
119
120#/system binaries
121/system/bin/adspd               u:object_r:adspd_exec:s0
122/system/bin/bdAddrLoader        u:object_r:bluetooth_loader_exec:s0
123/system/bin/bridgemgrd          u:object_r:bridge_exec:s0
124/system/vendor/bin/gsiff_daemon u:object_r:gsiffd_exec:s0
125/system/bin/init\.mmi\.touch\.sh u:object_r:mmi_touch_sh_exec:s0
126/system/bin/irsc_util           u:object_r:irsc_util_exec:s0
127/system/bin/ks                  u:object_r:mdm_helper_exec:s0
128/system/bin/mdm_helper          u:object_r:mdm_helper_exec:s0
129/system/bin/mdm_helper_proxy    u:object_r:mdm_helper_exec:s0
130/system/bin/mm-qcamera-daemon   u:object_r:camera_exec:s0
131/system/bin/mpdecision          u:object_r:mpdecision_exec:s0
132/system/bin/netmgrd             u:object_r:netmgrd_exec:s0
133/system/bin/qmuxd               u:object_r:qmux_exec:s0
134/system/bin/qseecomd            u:object_r:tee_exec:s0
135/system/bin/sensors\.qcom       u:object_r:sensors_exec:s0
136/system/bin/subsystem_ramdump   u:object_r:ss_ramdump_exec:s0
137/system/bin/thermal-engine      u:object_r:thermald_exec:s0
138/system/bin/time_daemon         u:object_r:time_exec:s0
139/system/bin/tcmd_mini           u:object_r:tcmd_exec:s0
140/system/bin/ATFWD-daemon        u:object_r:atfwd_exec:s0
141
142# Bluetooth
143/sys/class/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
144
145# Sysfs entry for the RmNet function driver
146/sys/class/android_usb/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
147/sys/devices/virtual/android_usb/android0/f_rmnet_smd_sdio/transport  --  u:object_r:sysfs_rmnet:s0
148
149# Sysfs files used by qmuxd
150/sys/devices/virtual/smdpkt/smdcntl([0-9])+/open_timeout u:object_r:sysfs_smdcntl_open_timeout:s0
151
152# mmi_touch related /sys files
153/sys/devices/f9966000\.i2c/i2c-1/1-004a(/.*)?            u:object_r:sysfs_mmi_touch:s0
154
155# Context for mpdecision
156/sys/module/msm_thermal/core_control/cpus_offlined              u:object_r:sysfs_mpdecision:s0
157/sys/devices/system/cpu/cpu0/rq-stats(/.*)?                     u:object_r:sysfs_rqstats:s0
158/sys/module/cpu_boost/parameters(/.*)?                          u:object_r:sysfs_cpuboost:s0
159
160/sys/bus/platform/drivers/xhci_msm_hsic(/.*)?            u:object_r:sysfs_xhci_msm_hsic:s0
161/sys/devices/msm_hsic_host/host_ready                    u:object_r:sysfs_msm_hsic_host:s0
162
163/sys/devices/cycapsense_prog.1/cycapsense_fw             u:object_r:sysfs_capsense_update:s0
164/sys/devices/mmi_sar_ctrl.[0-9]*/sar_wifi                u:object_r:sysfs_sar_wifi:s0
165
166/system/bin/imsdatadaemon                       u:object_r:ims_exec:s0
167/system/bin/imsqmidaemon                        u:object_r:ims_exec:s0
168
169/dev/socket/cnd  u:object_r:cnd_socket:s0
170/system/bin/cnd  u:object_r:cnd_exec:s0
171