blob: 29bb03033a6d94d14bb7c80511a7866330c0efcc [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
Dinesh K Garge5bafbf2014-10-22 00:13:49 -070014/dev/qseecom u:object_r:tee_device:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070015/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
Subash Abhinov Kasiviswanathan9d9c0b52014-10-28 11:30:03 -060022/dev/ttyGS0 u:object_r:gadget_serial_device:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070023/dev/usb_ext_chg u:object_r:hvdcp_device:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -070024/dev/media([0-9])+ u:object_r:camera_device:s0
25/dev/jpeg[0-9]* u:object_r:camera_device:s0
26/dev/v4l-subdev.* u:object_r:camera_device:s0
Jie Cheng1e820232014-10-17 10:19:15 +080027/dev/vm_bms u:object_r:vm_bms_device:s0
28/dev/battery_data u:object_r:battery_data_device:s0
Nikhilesh Reddy63535202014-08-29 11:29:35 -070029/dev/block/bootdevice/by-name/modemst1 u:object_r:modem_efs_partition_device:s0
30/dev/block/bootdevice/by-name/modemst2 u:object_r:modem_efs_partition_device:s0
31/dev/block/bootdevice/by-name/fsg u:object_r:modem_efs_partition_device:s0
32/dev/block/bootdevice/by-name/fsc u:object_r:modem_efs_partition_device:s0
Avijit Kanti Das226cc032014-10-06 19:09:05 -070033/dev/block/bootdevice/by-name/ssd u:object_r:ssd_device:s0
Biswajit Paul64f83f62014-10-13 14:36:16 -070034/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +053035/dev/ccid_bridge u:object_r:usb_uicc_device:s0
36/dev/block/bootdevice/by-name/mdm1m9kefs1 u:object_r:efs_boot_dev:s0
37/dev/block/bootdevice/by-name/mdm1m9kefs2 u:object_r:efs_boot_dev:s0
38/dev/block/bootdevice/by-name/mdm1m9kefs3 u:object_r:efs_boot_dev:s0
39/dev/block/bootdevice/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
40/dev/subsys_.* u:object_r:ssr_device:s0
Avijit Kanti Das136e6632014-10-27 12:30:14 -070041/dev/ramdump_.* u:object_r:ramdump_device:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +053042/dev/esoc.* u:object_r:esoc_device:s0
43/dev/ks_hsic_bridge u:object_r:ksbridgehsic_device:s0
44/dev/efs_hsic_bridge u:object_r:efsbridgehsic_device:s0
Ameya Thakur371ef132014-11-07 11:50:17 -080045/dev/block/bootdevice/by-name/misc u:object_r:misc_partition:s0
46/dev/block/bootdevice/by-name/bootselect u:object_r:bootselect_device:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -070047/dev/ipa u:object_r:ipa_dev:s0
48/dev/wwan_ioctl u:object_r:ipa_dev:s0
49/dev/ipaNatTable u:object_r:ipa_dev:s0
Avijit Kanti Dasd01b3b32014-10-21 10:30:09 -070050/dev/block/mmcblk0 u:object_r:mmc_block_device:s0
Avijit Kanti Das658ff4d2014-10-26 00:30:09 -070051/dev/rmnet_ctrl.* u:object_r:rmnet_device:s0
52/dev/dpl_ctrl u:object_r:rmnet_device:s0
Samir Mehtab5f8a432014-10-30 12:49:26 +053053/dev/wcnss_ctrl u:object_r:wcnss_device:s0
54/dev/wcnss_wlan u:object_r:wcnss_device:s0
Mohan Pallaka58636a92014-11-14 14:41:22 -080055/dev/hbtp_input u:object_r:hbtp_device:s0
56/dev/jdi-bu21150 u:object_r:bu21150_device:s0
Ravi Kumar Siddojigari22287b82014-10-15 20:15:43 +053057
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070058###################################
59# Dev socket nodes
60#
Biswajit Paul64f83f62014-10-13 14:36:16 -070061/dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0
62/dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0
63/dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0
64/dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070065/dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0
66/dev/socket/cnd u:object_r:cnd_socket:s0
67/dev/socket/nims u:object_r:cnd_socket:s0
68/dev/socket/thermal-send-client u:object_r:thermal_socket:s0
69/dev/socket/thermal-recv-client u:object_r:thermal_socket:s0
70/dev/socket/thermal-recv-passive-client u:object_r:thermal_socket:s0
Avijit Kanti Dase0405802014-09-08 18:23:18 -070071/dev/socket/ims_qmid u:object_r:ims_socket:s0
72/dev/socket/ims_datad u:object_r:ims_socket:s0
73/dev/socket/ims_rtpd u:object_r:ims_socket:s0
jinwuf1e16bf2014-10-14 18:36:18 +080074/dev/socket/perfd(/.*)? u:object_r:mpctl_socket:s0
75/dev/socket/qlogd u:object_r:qlogd_socket:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -070076/dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -070077/dev/socket/dpmd u:object_r:dpmd_socket:s0
Bhavya Sokke Mallikarjunappa1224bdc2014-11-03 13:33:33 -080078/dev/socket/dpmwrapper u:object_r:dpmwrapper_socket:s0
Tatenda Chipeperekwa6bc33de2014-10-24 17:43:23 -070079/dev/socket/pps u:object_r:pps_socket:s0
Ravi Kumar Siddojigari72a1c582014-10-18 19:21:55 +053080/dev/socket/rild2 u:object_r:rild_socket:s0
81/dev/socket/rild2-debug u:object_r:rild_debug_socket:s0
82/dev/socket/rild3 u:object_r:rild_socket:s0
83/dev/socket/rild3-debug u:object_r:rild_debug_socket:s0
Avijit Kanti Das2d70e6f2014-07-24 01:06:21 -070084
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070085###################################
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053086# System files
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070087#
88/system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0
89/system/bin/PktRspTest u:object_r:diag_exec:s0
90/system/bin/audiod u:object_r:audiod_exec:s0
Jie Cheng50191782014-10-15 18:11:22 +080091/system/bin/charger_monitor u:object_r:charger_monitor_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -070092/system/bin/cnd u:object_r:cnd_exec:s0
93/system/bin/diag_callback_client u:object_r:diag_exec:s0
94/system/bin/diag_dci_sample u:object_r:diag_exec:s0
95/system/bin/diag_klog u:object_r:diag_exec:s0
96/system/bin/diag_mdlog u:object_r:diag_exec:s0
97/system/bin/diag_qshrink4_daemon u:object_r:diag_exec:s0
98/system/bin/diag_socket_log u:object_r:diag_exec:s0
99/system/bin/diag_uart_log u:object_r:diag_exec:s0
Dinesh K Garge5bafbf2014-10-22 00:13:49 -0700100/system/bin/drmdiagapp u:object_r:diag_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700101/system/bin/irsc_util u:object_r:irsc_util_exec:s0
Avijit Kanti Das808ae2f2014-10-21 17:11:11 -0700102/system/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0
Mulu He738a29d2014-10-27 16:19:16 +0800103/system/bin/mmi u:object_r:mmi_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700104/system/bin/mpdecision u:object_r:mpdecision_exec:s0
Vince Leung358d6f32014-10-16 15:10:52 -0700105/system/bin/perfd u:object_r:perfd_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700106/system/bin/msm_irqbalance u:object_r:msm_irqbalanced_exec:s0
Avijit Kanti Dasf2b7a742014-10-24 18:32:44 -0700107/system/bin/imsdatadaemon u:object_r:ims_exec:s0
108/system/bin/imsqmidaemon u:object_r:ims_exec:s0
109/system/bin/ims_rtp_daemon u:object_r:ims_exec:s0
Avijit Kanti Dasb41c5c52014-12-01 10:28:56 -0800110/system/bin/imscmservice u:object_r:imscm_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700111/system/bin/netmgrd u:object_r:netmgrd_exec:s0
112/system/bin/qmuxd u:object_r:qmuxd_exec:s0
Subash Abhinov Kasiviswanathan9d9c0b52014-10-28 11:30:03 -0600113/system/bin/port-bridge u:object_r:port-bridge_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700114/system/bin/sensors.qcom u:object_r:sensors_exec:s0
115/system/bin/sns.* u:object_r:sensors_test_exec:s0
116/system/bin/test_diag u:object_r:diag_exec:s0
117/system/bin/thermal-engine u:object_r:thermal-engine_exec:s0
Jie Cheng1e820232014-10-17 10:19:15 +0800118/system/bin/vm_bms u:object_r:vm_bms_exec:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -0700119/system/bin/mm-qcamera-daemon u:object_r:mm-qcamerad_exec:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700120/system/rfs.* u:object_r:rfs_system_file:s0
Mohit Aggarwalbe45ae92014-08-29 12:54:56 -0700121/system/bin/time_daemon u:object_r:time_daemon_exec:s0
Nikhilesh Reddy63535202014-08-29 11:29:35 -0700122/system/bin/rmt_storage u:object_r:rmt_storage_exec:s0
Avijit Kanti Dasb73cff12014-11-05 16:36:30 -0800123/system/bin/rfs_access u:object_r:rfs_access_exec:s0
Manu Gautam61f2c322014-08-29 12:21:05 -0700124/system/bin/hvdcp u:object_r:hvdcp_exec:s0
Dinesh K Garge5bafbf2014-10-22 00:13:49 -0700125/system/bin/qseecomd u:object_r:tee_exec:s0
Avijit Kanti Das4d6d0442014-10-10 17:19:07 -0700126/system/bin/hostapd_cli u:object_r:hostapd_exec:s0
Avijit Kanti Das282098d2014-10-21 14:46:20 -0700127/system/bin/adsprpcd u:object_r:adsprpcd_exec:s0
Avijit Kanti Dase0ef7852014-11-05 10:40:03 -0800128/system/bin/wpa_cli u:object_r:wcnss_service_exec:s0
129/system/bin/cnss-daemon u:object_r:wcnss_service_exec:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530130/system/bin/mdm_helper u:object_r:mdm_helper_exec:s0
131/system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0
132/system/bin/ks u:object_r:mdm_helper_exec:s0
133/system/bin/pm-service u:object_r:per_mgr_exec:s0
134/system/bin/usb_uicc_client u:object_r:usb_uicc_daemon_exec:s0
135/system/bin/qcom-system-daemon u:object_r:qcomsysd_exec:s0
jinwuf1e16bf2014-10-14 18:36:18 +0800136/system/xbin/qlogd u:object_r:qlogd_exec:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700137/system/bin/ipacm u:object_r:ipacm_exec:s0
138/system/bin/ipacm-diag u:object_r:ipacm-diag_exec:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -0700139/system/bin/dpmd u:object_r:dpmd_exec:s0
Tushar Janefalkar87c1f922014-10-21 15:16:12 -0700140/system/bin/ssr_setup u:object_r:ssr_setup_exec:s0
Avijit Kanti Das136e6632014-10-27 12:30:14 -0700141/system/bin/subsystem_ramdump u:object_r:subsystem_ramdump_exec:s0
142/system/bin/ssr_diag u:object_r:ssr_diag_exec:s0
Tushar Janefalkar87c1f922014-10-21 15:16:12 -0700143/system/bin/loc_launcher u:object_r:location_exec:s0
144/system/bin/quipc_main u:object_r:location_exec:s0
145/system/bin/ipepb u:object_r:location_exec:s0
146/system/bin/quipc_igsn u:object_r:location_exec:s0
147/system/bin/lowi-server u:object_r:location_exec:s0
148/system/bin/location-mq u:object_r:location_exec:s0
149/system/bin/xtwifi-inet-agent u:object_r:location_exec:s0
150/system/bin/xtwifi-client u:object_r:location_exec:s0
151/system/bin/gsiff_daemon u:object_r:location_exec:s0
152/system/bin/garden_app u:object_r:location_exec:s0
153/system/bin/gpsone_daemon u:object_r:location_exec:s0
154/system/vendor/bin/slim_ap_daemon u:object_r:location_exec:s0
Avijit Kanti Das658ff4d2014-10-26 00:30:09 -0700155/system/vendor/bin/qti u:object_r:qti_exec:s0
Samir Mehtab5f8a432014-10-30 12:49:26 +0530156/system/bin/wcnss_service u:object_r:wcnss_service_exec:s0
Mohan Pallaka58636a92014-11-14 14:41:22 -0800157/system/vendor/bin/hbtp_daemon u:object_r:hbtp_exec:s0
Dinesh K Garge5bafbf2014-10-22 00:13:49 -0700158
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700159###################################
160# sysfs files
161#
162/sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0
163/sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
164/sys/devices/.*bcl.*(/.*)? u:object_r:sysfs_thermal:s0
165/sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
166/sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
167/sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
168/sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0
169/sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
170/sys/devices/system/cpu/cpu0/rq-stats/* u:object_r:sysfs_rqstats:s0
Biswajit Paul977e5062014-10-14 20:34:55 -0700171/sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0
172/sys/devices/virtual/graphics/fb([0-2])+/product_description u:object_r:sysfs_graphics:s0
173/sys/devices/virtual/graphics/fb([0-2])+/vendor_name u:object_r:sysfs_graphics:s0
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700174/sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
175/sys/devices/virtual/hsicctl/hsicctl[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
176/sys/devices/virtual/smdpkt/smdcntl1[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
177/sys/devices/virtual/smdpkt/smdcntl[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
178/sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0
179/sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0
180/sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0
181/sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0
Manu Gautam61f2c322014-08-29 12:21:05 -0700182/sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
Biswajit Paul977e5062014-10-14 20:34:55 -0700183/sys/devices/virtual/graphics/fb([0-2])+/hpd u:object_r:sysfs_graphics:s0
184/sys/class/graphics/fb([0-2])+/mdp/caps u:object_r:sysfs_graphics:s0
185/sys/class/graphics/fb([0-2])+/ad u:object_r:sysfs_graphics:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530186/sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0
187/sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_hsic_host_rdy:s0
188/sys/bus/esoc(/.*)? u:object_r:sysfs_esoc:s0
189/sys/bus/msm_subsys(/.*)? u:object_r:sysfs_ssr:s0
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530190/sys/module/ccid_bridge(/.*)? u:object_r:sysfs_usb_uicc:s0
Ameya Thakur37b34bc2014-10-20 14:58:24 -0700191/sys/bus/msm_subsys/devices/subsys0/restart_level u:object_r:sysfs_ssr_toggle:s0
192/sys/bus/msm_subsys/devices/subsys1/restart_level u:object_r:sysfs_ssr_toggle:s0
193/sys/bus/msm_subsys/devices/subsys2/restart_level u:object_r:sysfs_ssr_toggle:s0
194/sys/bus/msm_subsys/devices/subsys3/restart_level u:object_r:sysfs_ssr_toggle:s0
195/sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0
196/sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +0530197
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700198###################################
199# data files
200#
201/data/connectivity(/.*)? u:object_r:cnd_data_file:s0
202/data/data_test(/.*)? u:object_r:data_test_data_file:s0
203/data/diag_log(/.*)? u:object_r:diag_data_file:s0
204/data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0
205/data/rfs.* u:object_r:rfs_data_file:s0
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -0700206/data/camera(/.*)? u:object_r:camera_socket:s0
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -0700207/data/system/sensors(/.*)? u:object_r:sensors_data_file:s0
Mohit Aggarwalbe45ae92014-08-29 12:54:56 -0700208/data/time/* u:object_r:time_data_file:s0
Ravi Kumar Siddojigari22287b82014-10-15 20:15:43 +0530209/data/nfc(/.*)? u:object_r:nfc_data_file:s0
Vince Leung06bd7d82014-10-15 15:15:57 -0700210/data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0
211/data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0
Avijit Kanti Das808ae2f2014-10-21 17:11:11 -0700212/data/misc/display(/.*)? u:object_r:display_config:s0
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700213/data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0
Susheel Yadagirid0927c62014-10-14 16:01:45 -0700214/data/dpm(/.*)? u:object_r:dpmd_data_file:s0
Dinesh K Garg09a2f192014-10-31 16:28:22 -0700215/data/misc/qsee(/.*)? u:object_r:data_qsee_file:s0
Tushar Janefalkar87c1f922014-10-21 15:16:12 -0700216/data/misc/location(/.*)? u:object_r:location_data_file:s0
Mulu He738a29d2014-10-27 16:19:16 +0800217/data/FTM_AP(/.*)? u:object_r:mmi_data_file:s0
Mohan Pallakab4053ef2014-11-25 14:01:29 -0800218/data/misc/hbtp(/.*)? u:object_r:hbtp_log_file:s0
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +0530219
Avijit Kanti Das3cc43812014-10-08 11:24:23 -0700220###################################
221# persist files
222#
223/persist(/.*)? u:object_r:persist_file:s0
224/persist/sensors(/.*)? u:object_r:sensors_persist_file:s0
Dinesh K Garge5bafbf2014-10-22 00:13:49 -0700225/persist/data(/.*)? u:object_r:persist_drm_file:s0
226/persist/data/tz(/.*)? u:object_r:persist_drm_file:s0
227/persist/data/sfs(/.*)? u:object_r:persist_drm_file:s0
Arthur Shuai1453db22014-10-15 21:00:53 +0800228
229###################################
230# oem files
231#
232/oem(/.*)? u:object_r:system_file:s0
Mohan Pallakab4053ef2014-11-25 14:01:29 -0800233
234###################################
235# etc files
236#
237/etc/firmware/hbtp/* u:object_r:hbtp_cfg_file:s0