blob: 4540a41b094d5315099e0c19dd435a098515d489 [file] [log] [blame]
Avijit Kanti Das3cc43812014-10-08 11:24:23 -07001###################################
2# Dev nodes
3#
4/dev/adsprpc-smd u:object_r:qdsp_device:s0
5/dev/cpu_dma_latency u:object_r:device_latency:s0
6/dev/diag u:object_r:diag_device:s0
7/dev/hsicctl.* u:object_r:hsic_device:s0
8/dev/kgsl-3d0 u:object_r:gpu_device:s0
9/dev/mhi_pipe_.* u:object_r:mhi_device:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070010/dev/msm_.* u:object_r:audio_device:s0
11/dev/msm_dsps u:object_r:sensors_device:s0
12/dev/msm_thermal_query u:object_r:thermal_device:s0
13/dev/nfc-nci u:object_r:nfc_device:s0
14/dev/qseecom u:object_r:qseecom_device:s0
15/dev/radio0 u:object_r:fm_radio_device:s0
16/dev/rtc0 u:object_r:rtc_device:s0
17/dev/sensors u:object_r:sensors_device:s0
18/dev/smd.* u:object_r:smd_device:s0
19/dev/smem_log u:object_r:smem_log_device:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070020/dev/ttyHSL0 u:object_r:console_device:s0
21/dev/ttyHS[0-9]* u:object_r:serial_device:s0
22/dev/usb_ext_chg u:object_r:hvdcp_device:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -070023/dev/media([0-9])+ u:object_r:camera_device:s0
24/dev/jpeg[0-9]* u:object_r:camera_device:s0
25/dev/v4l-subdev.* u:object_r:camera_device:s0
Jie Cheng1e820232014-10-17 10:19:15 +080026/dev/vm_bms u:object_r:vm_bms_device:s0
27/dev/battery_data u:object_r:battery_data_device:s0
Nikhilesh Reddy63535202014-08-29 11:29:35 -070028/dev/block/bootdevice/by-name/modemst1 u:object_r:modem_efs_partition_device:s0
29/dev/block/bootdevice/by-name/modemst2 u:object_r:modem_efs_partition_device:s0
30/dev/block/bootdevice/by-name/fsg u:object_r:modem_efs_partition_device:s0
31/dev/block/bootdevice/by-name/fsc u:object_r:modem_efs_partition_device:s0
Avijit Kanti Das226cc032014-10-06 19:09:05 -070032/dev/block/bootdevice/by-name/ssd u:object_r:ssd_device:s0
Biswajit Paul64f83f62014-10-13 14:36:16 -070033/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +053034/dev/ccid_bridge u:object_r:usb_uicc_device:s0
35/dev/block/bootdevice/by-name/mdm1m9kefs1 u:object_r:efs_boot_dev:s0
36/dev/block/bootdevice/by-name/mdm1m9kefs2 u:object_r:efs_boot_dev:s0
37/dev/block/bootdevice/by-name/mdm1m9kefs3 u:object_r:efs_boot_dev:s0
38/dev/block/bootdevice/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
39/dev/subsys_.* u:object_r:ssr_device:s0
40/dev/esoc.* u:object_r:esoc_device:s0
41/dev/ks_hsic_bridge u:object_r:ksbridgehsic_device:s0
42/dev/efs_hsic_bridge u:object_r:efsbridgehsic_device:s0
43/dev/block/platform/msm_sdcc.1/by-name/misc u:object_r:misc_partition:s0
44/dev/block/platform/msm_sdcc.1/by-name/bootselect u:object_r:bootselect_device:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -070045/dev/ipa u:object_r:ipa_dev:s0
46/dev/wwan_ioctl u:object_r:ipa_dev:s0
47/dev/ipaNatTable u:object_r:ipa_dev:s0
Avijit Kanti Dasd01b3b32014-10-21 10:30:09 -070048/dev/block/mmcblk0 u:object_r:mmc_block_device:s0
Ravi Kumar Siddojigari22287b82014-10-15 20:15:43 +053049
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070050###################################
51# Dev socket nodes
52#
Biswajit Paul64f83f62014-10-13 14:36:16 -070053/dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0
54/dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0
55/dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0
56/dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070057/dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0
58/dev/socket/cnd u:object_r:cnd_socket:s0
59/dev/socket/nims u:object_r:cnd_socket:s0
60/dev/socket/thermal-send-client u:object_r:thermal_socket:s0
61/dev/socket/thermal-recv-client u:object_r:thermal_socket:s0
62/dev/socket/thermal-recv-passive-client u:object_r:thermal_socket:s0
Avijit Kanti Dase0405802014-09-08 18:23:18 -070063/dev/socket/ims_qmid u:object_r:ims_socket:s0
64/dev/socket/ims_datad u:object_r:ims_socket:s0
65/dev/socket/ims_rtpd u:object_r:ims_socket:s0
jinwuf1e16bf2014-10-14 18:36:18 +080066/dev/socket/perfd(/.*)? u:object_r:mpctl_socket:s0
67/dev/socket/qlogd u:object_r:qlogd_socket:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -070068/dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -070069/dev/socket/dpmd u:object_r:dpmd_socket:s0
Tatenda Chipeperekwa6bc33de2014-10-24 17:43:23 -070070/dev/socket/pps u:object_r:pps_socket:s0
Avijit Kanti Das2d70e6f2014-07-24 01:06:21 -070071
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070072###################################
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053073# System files
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070074#
75/system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0
76/system/bin/PktRspTest u:object_r:diag_exec:s0
77/system/bin/audiod u:object_r:audiod_exec:s0
Jie Cheng50191782014-10-15 18:11:22 +080078/system/bin/charger_monitor u:object_r:charger_monitor_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070079/system/bin/cnd u:object_r:cnd_exec:s0
80/system/bin/diag_callback_client u:object_r:diag_exec:s0
81/system/bin/diag_dci_sample u:object_r:diag_exec:s0
82/system/bin/diag_klog u:object_r:diag_exec:s0
83/system/bin/diag_mdlog u:object_r:diag_exec:s0
84/system/bin/diag_qshrink4_daemon u:object_r:diag_exec:s0
85/system/bin/diag_socket_log u:object_r:diag_exec:s0
86/system/bin/diag_uart_log u:object_r:diag_exec:s0
87/system/bin/irsc_util u:object_r:irsc_util_exec:s0
Avijit Kanti Das808ae2f2014-10-21 17:11:11 -070088/system/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070089/system/bin/mpdecision u:object_r:mpdecision_exec:s0
Vince Leung358d6f32014-10-16 15:10:52 -070090/system/bin/perfd u:object_r:perfd_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070091/system/bin/msm_irqbalance u:object_r:msm_irqbalanced_exec:s0
Avijit Kanti Dasf2b7a742014-10-24 18:32:44 -070092/system/bin/imsdatadaemon u:object_r:ims_exec:s0
93/system/bin/imsqmidaemon u:object_r:ims_exec:s0
94/system/bin/ims_rtp_daemon u:object_r:ims_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070095/system/bin/netmgrd u:object_r:netmgrd_exec:s0
96/system/bin/qmuxd u:object_r:qmuxd_exec:s0
97/system/bin/sensors.qcom u:object_r:sensors_exec:s0
98/system/bin/sns.* u:object_r:sensors_test_exec:s0
99/system/bin/test_diag u:object_r:diag_exec:s0
100/system/bin/thermal-engine u:object_r:thermal-engine_exec:s0
Jie Cheng1e820232014-10-17 10:19:15 +0800101/system/bin/vm_bms u:object_r:vm_bms_exec:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -0700102/system/bin/mm-qcamera-daemon u:object_r:mm-qcamerad_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700103/system/rfs.* u:object_r:rfs_system_file:s0
Mohit Aggarwalbe45ae92014-08-29 12:54:56 -0700104/system/bin/time_daemon u:object_r:time_daemon_exec:s0
Nikhilesh Reddy63535202014-08-29 11:29:35 -0700105/system/bin/rmt_storage u:object_r:rmt_storage_exec:s0
Manu Gautam61f2c322014-08-29 12:21:05 -0700106/system/bin/hvdcp u:object_r:hvdcp_exec:s0
Avijit Kanti Das226cc032014-10-06 19:09:05 -0700107/system/bin/qseecomd u:object_r:qseecomd_exec:s0
Avijit Kanti Das4d6d0442014-10-10 17:19:07 -0700108/system/bin/hostapd_cli u:object_r:hostapd_exec:s0
Avijit Kanti Das282098d2014-10-21 14:46:20 -0700109/system/bin/adsprpcd u:object_r:adsprpcd_exec:s0
Avijit Kanti Das4d6d0442014-10-10 17:19:07 -0700110/system/bin/wpa_cli u:object_r:wpa_exec:s0
111/system/bin/cnss-daemon u:object_r:wpa_exec:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530112/system/bin/mdm_helper u:object_r:mdm_helper_exec:s0
113/system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0
114/system/bin/ks u:object_r:mdm_helper_exec:s0
115/system/bin/pm-service u:object_r:per_mgr_exec:s0
116/system/bin/usb_uicc_client u:object_r:usb_uicc_daemon_exec:s0
117/system/bin/qcom-system-daemon u:object_r:qcomsysd_exec:s0
jinwuf1e16bf2014-10-14 18:36:18 +0800118/system/xbin/qlogd u:object_r:qlogd_exec:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700119/system/bin/ipacm u:object_r:ipacm_exec:s0
120/system/bin/ipacm-diag u:object_r:ipacm-diag_exec:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -0700121/system/bin/dpmd u:object_r:dpmd_exec:s0
Ameya Thakur37b34bc2014-10-20 14:58:24 -0700122/system/bin/ssr_setup u:object_r:ssr_setup_exec:s0
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +0530123
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700124###################################
125# sysfs files
126#
127/sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0
128/sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
129/sys/devices/.*bcl.*(/.*)? u:object_r:sysfs_thermal:s0
130/sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
131/sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
132/sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
133/sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0
134/sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
135/sys/devices/system/cpu/cpu0/rq-stats/* u:object_r:sysfs_rqstats:s0
Biswajit Paul977e5062014-10-14 20:34:55 -0700136/sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0
137/sys/devices/virtual/graphics/fb([0-2])+/product_description u:object_r:sysfs_graphics:s0
138/sys/devices/virtual/graphics/fb([0-2])+/vendor_name u:object_r:sysfs_graphics:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700139/sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
140/sys/devices/virtual/hsicctl/hsicctl[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
141/sys/devices/virtual/smdpkt/smdcntl1[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
142/sys/devices/virtual/smdpkt/smdcntl[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
143/sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0
144/sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0
145/sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0
146/sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0
Manu Gautam61f2c322014-08-29 12:21:05 -0700147/sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
Biswajit Paul977e5062014-10-14 20:34:55 -0700148/sys/devices/virtual/graphics/fb([0-2])+/hpd u:object_r:sysfs_graphics:s0
149/sys/class/graphics/fb([0-2])+/mdp/caps u:object_r:sysfs_graphics:s0
150/sys/class/graphics/fb([0-2])+/ad u:object_r:sysfs_graphics:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530151/sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0
152/sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_hsic_host_rdy:s0
153/sys/bus/esoc(/.*)? u:object_r:sysfs_esoc:s0
154/sys/bus/msm_subsys(/.*)? u:object_r:sysfs_ssr:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530155/sys/module/ccid_bridge(/.*)? u:object_r:sysfs_usb_uicc:s0
Ameya Thakur37b34bc2014-10-20 14:58:24 -0700156/sys/bus/msm_subsys/devices/subsys0/restart_level u:object_r:sysfs_ssr_toggle:s0
157/sys/bus/msm_subsys/devices/subsys1/restart_level u:object_r:sysfs_ssr_toggle:s0
158/sys/bus/msm_subsys/devices/subsys2/restart_level u:object_r:sysfs_ssr_toggle:s0
159/sys/bus/msm_subsys/devices/subsys3/restart_level u:object_r:sysfs_ssr_toggle:s0
160/sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0
161/sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +0530162
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700163###################################
164# data files
165#
166/data/connectivity(/.*)? u:object_r:cnd_data_file:s0
167/data/data_test(/.*)? u:object_r:data_test_data_file:s0
168/data/diag_log(/.*)? u:object_r:diag_data_file:s0
169/data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0
170/data/rfs.* u:object_r:rfs_data_file:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -0700171/data/camera(/.*)? u:object_r:camera_socket:s0
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -0700172/data/system/sensors(/.*)? u:object_r:sensors_data_file:s0
Mohit Aggarwalbe45ae92014-08-29 12:54:56 -0700173/data/time/* u:object_r:time_data_file:s0
Ravi Kumar Siddojigari22287b82014-10-15 20:15:43 +0530174/data/nfc(/.*)? u:object_r:nfc_data_file:s0
Vince Leung06bd7d82014-10-15 15:15:57 -0700175/data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0
176/data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0
Avijit Kanti Das808ae2f2014-10-21 17:11:11 -0700177/data/misc/display(/.*)? u:object_r:display_config:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700178/data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -0700179/data/dpm(/.*)? u:object_r:dpmd_data_file:s0
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +0530180
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700181###################################
182# persist files
183#
184/persist(/.*)? u:object_r:persist_file:s0
185/persist/sensors(/.*)? u:object_r:sensors_persist_file:s0
Arthur Shuai1453db22014-10-15 21:00:53 +0800186
187###################################
188# oem files
189#
190/oem(/.*)? u:object_r:system_file:s0