Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 1 | ################################### |
| 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 Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 10 | /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 Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 20 | /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 Das | 36fb2c1 | 2014-10-06 15:21:57 -0700 | [diff] [blame] | 23 | /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 Cheng | 1e82023 | 2014-10-17 10:19:15 +0800 | [diff] [blame] | 26 | /dev/vm_bms u:object_r:vm_bms_device:s0 |
| 27 | /dev/battery_data u:object_r:battery_data_device:s0 |
Nikhilesh Reddy | 6353520 | 2014-08-29 11:29:35 -0700 | [diff] [blame] | 28 | /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 Das | 226cc03 | 2014-10-06 19:09:05 -0700 | [diff] [blame] | 32 | /dev/block/bootdevice/by-name/ssd u:object_r:ssd_device:s0 |
Biswajit Paul | 64f83f6 | 2014-10-13 14:36:16 -0700 | [diff] [blame] | 33 | /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 |
Tarun Gupta | 4f7527d | 2014-10-13 22:54:12 +0530 | [diff] [blame] | 34 | /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 Das | 2b495d0 | 2014-10-20 17:43:13 -0700 | [diff] [blame] | 45 | /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 Das | d01b3b3 | 2014-10-21 10:30:09 -0700 | [diff] [blame] | 48 | /dev/block/mmcblk0 u:object_r:mmc_block_device:s0 |
Ravi Kumar Siddojigari | 22287b8 | 2014-10-15 20:15:43 +0530 | [diff] [blame] | 49 | |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 50 | ################################### |
| 51 | # Dev socket nodes |
| 52 | # |
Biswajit Paul | 64f83f6 | 2014-10-13 14:36:16 -0700 | [diff] [blame] | 53 | /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 Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 57 | /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 Das | e040580 | 2014-09-08 18:23:18 -0700 | [diff] [blame] | 63 | /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 |
jinwu | f1e16bf | 2014-10-14 18:36:18 +0800 | [diff] [blame] | 66 | /dev/socket/perfd(/.*)? u:object_r:mpctl_socket:s0 |
| 67 | /dev/socket/qlogd u:object_r:qlogd_socket:s0 |
Avijit Kanti Das | 2b495d0 | 2014-10-20 17:43:13 -0700 | [diff] [blame] | 68 | /dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0 |
Susheel Yadagiri | d0927c6 | 2014-10-14 16:01:45 -0700 | [diff] [blame] | 69 | /dev/socket/dpmd u:object_r:dpmd_socket:s0 |
Tatenda Chipeperekwa | 6bc33de | 2014-10-24 17:43:23 -0700 | [diff] [blame] | 70 | /dev/socket/pps u:object_r:pps_socket:s0 |
Ravi Kumar Siddojigari | 72a1c58 | 2014-10-18 19:21:55 +0530 | [diff] [blame^] | 71 | /dev/socket/rild2 u:object_r:rild_socket:s0 |
| 72 | /dev/socket/rild2-debug u:object_r:rild_debug_socket:s0 |
| 73 | /dev/socket/rild3 u:object_r:rild_socket:s0 |
| 74 | /dev/socket/rild3-debug u:object_r:rild_debug_socket:s0 |
Avijit Kanti Das | 2d70e6f | 2014-07-24 01:06:21 -0700 | [diff] [blame] | 75 | |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 76 | ################################### |
Ravi Kumar Siddojigari | b80b30a | 2014-09-04 16:28:43 +0530 | [diff] [blame] | 77 | # System files |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 78 | # |
| 79 | /system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0 |
| 80 | /system/bin/PktRspTest u:object_r:diag_exec:s0 |
| 81 | /system/bin/audiod u:object_r:audiod_exec:s0 |
Jie Cheng | 5019178 | 2014-10-15 18:11:22 +0800 | [diff] [blame] | 82 | /system/bin/charger_monitor u:object_r:charger_monitor_exec:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 83 | /system/bin/cnd u:object_r:cnd_exec:s0 |
| 84 | /system/bin/diag_callback_client u:object_r:diag_exec:s0 |
| 85 | /system/bin/diag_dci_sample u:object_r:diag_exec:s0 |
| 86 | /system/bin/diag_klog u:object_r:diag_exec:s0 |
| 87 | /system/bin/diag_mdlog u:object_r:diag_exec:s0 |
| 88 | /system/bin/diag_qshrink4_daemon u:object_r:diag_exec:s0 |
| 89 | /system/bin/diag_socket_log u:object_r:diag_exec:s0 |
| 90 | /system/bin/diag_uart_log u:object_r:diag_exec:s0 |
| 91 | /system/bin/irsc_util u:object_r:irsc_util_exec:s0 |
Avijit Kanti Das | 808ae2f | 2014-10-21 17:11:11 -0700 | [diff] [blame] | 92 | /system/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 93 | /system/bin/mpdecision u:object_r:mpdecision_exec:s0 |
Vince Leung | 358d6f3 | 2014-10-16 15:10:52 -0700 | [diff] [blame] | 94 | /system/bin/perfd u:object_r:perfd_exec:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 95 | /system/bin/msm_irqbalance u:object_r:msm_irqbalanced_exec:s0 |
Avijit Kanti Das | f2b7a74 | 2014-10-24 18:32:44 -0700 | [diff] [blame] | 96 | /system/bin/imsdatadaemon u:object_r:ims_exec:s0 |
| 97 | /system/bin/imsqmidaemon u:object_r:ims_exec:s0 |
| 98 | /system/bin/ims_rtp_daemon u:object_r:ims_exec:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 99 | /system/bin/netmgrd u:object_r:netmgrd_exec:s0 |
| 100 | /system/bin/qmuxd u:object_r:qmuxd_exec:s0 |
| 101 | /system/bin/sensors.qcom u:object_r:sensors_exec:s0 |
| 102 | /system/bin/sns.* u:object_r:sensors_test_exec:s0 |
| 103 | /system/bin/test_diag u:object_r:diag_exec:s0 |
| 104 | /system/bin/thermal-engine u:object_r:thermal-engine_exec:s0 |
Jie Cheng | 1e82023 | 2014-10-17 10:19:15 +0800 | [diff] [blame] | 105 | /system/bin/vm_bms u:object_r:vm_bms_exec:s0 |
Avijit Kanti Das | 36fb2c1 | 2014-10-06 15:21:57 -0700 | [diff] [blame] | 106 | /system/bin/mm-qcamera-daemon u:object_r:mm-qcamerad_exec:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 107 | /system/rfs.* u:object_r:rfs_system_file:s0 |
Mohit Aggarwal | be45ae9 | 2014-08-29 12:54:56 -0700 | [diff] [blame] | 108 | /system/bin/time_daemon u:object_r:time_daemon_exec:s0 |
Nikhilesh Reddy | 6353520 | 2014-08-29 11:29:35 -0700 | [diff] [blame] | 109 | /system/bin/rmt_storage u:object_r:rmt_storage_exec:s0 |
Manu Gautam | 61f2c32 | 2014-08-29 12:21:05 -0700 | [diff] [blame] | 110 | /system/bin/hvdcp u:object_r:hvdcp_exec:s0 |
Avijit Kanti Das | 226cc03 | 2014-10-06 19:09:05 -0700 | [diff] [blame] | 111 | /system/bin/qseecomd u:object_r:qseecomd_exec:s0 |
Avijit Kanti Das | 4d6d044 | 2014-10-10 17:19:07 -0700 | [diff] [blame] | 112 | /system/bin/hostapd_cli u:object_r:hostapd_exec:s0 |
Avijit Kanti Das | 282098d | 2014-10-21 14:46:20 -0700 | [diff] [blame] | 113 | /system/bin/adsprpcd u:object_r:adsprpcd_exec:s0 |
Avijit Kanti Das | 4d6d044 | 2014-10-10 17:19:07 -0700 | [diff] [blame] | 114 | /system/bin/wpa_cli u:object_r:wpa_exec:s0 |
| 115 | /system/bin/cnss-daemon u:object_r:wpa_exec:s0 |
Tarun Gupta | 4f7527d | 2014-10-13 22:54:12 +0530 | [diff] [blame] | 116 | /system/bin/mdm_helper u:object_r:mdm_helper_exec:s0 |
| 117 | /system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0 |
| 118 | /system/bin/ks u:object_r:mdm_helper_exec:s0 |
| 119 | /system/bin/pm-service u:object_r:per_mgr_exec:s0 |
| 120 | /system/bin/usb_uicc_client u:object_r:usb_uicc_daemon_exec:s0 |
| 121 | /system/bin/qcom-system-daemon u:object_r:qcomsysd_exec:s0 |
jinwu | f1e16bf | 2014-10-14 18:36:18 +0800 | [diff] [blame] | 122 | /system/xbin/qlogd u:object_r:qlogd_exec:s0 |
Avijit Kanti Das | 2b495d0 | 2014-10-20 17:43:13 -0700 | [diff] [blame] | 123 | /system/bin/ipacm u:object_r:ipacm_exec:s0 |
| 124 | /system/bin/ipacm-diag u:object_r:ipacm-diag_exec:s0 |
Susheel Yadagiri | d0927c6 | 2014-10-14 16:01:45 -0700 | [diff] [blame] | 125 | /system/bin/dpmd u:object_r:dpmd_exec:s0 |
Ameya Thakur | 37b34bc | 2014-10-20 14:58:24 -0700 | [diff] [blame] | 126 | /system/bin/ssr_setup u:object_r:ssr_setup_exec:s0 |
Ravi Kumar Siddojigari | b80b30a | 2014-09-04 16:28:43 +0530 | [diff] [blame] | 127 | |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 128 | ################################### |
| 129 | # sysfs files |
| 130 | # |
| 131 | /sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0 |
| 132 | /sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| 133 | /sys/devices/.*bcl.*(/.*)? u:object_r:sysfs_thermal:s0 |
| 134 | /sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| 135 | /sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| 136 | /sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
| 137 | /sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0 |
| 138 | /sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0 |
| 139 | /sys/devices/system/cpu/cpu0/rq-stats/* u:object_r:sysfs_rqstats:s0 |
Biswajit Paul | 977e506 | 2014-10-14 20:34:55 -0700 | [diff] [blame] | 140 | /sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0 |
| 141 | /sys/devices/virtual/graphics/fb([0-2])+/product_description u:object_r:sysfs_graphics:s0 |
| 142 | /sys/devices/virtual/graphics/fb([0-2])+/vendor_name u:object_r:sysfs_graphics:s0 |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 143 | /sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0 |
| 144 | /sys/devices/virtual/hsicctl/hsicctl[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0 |
| 145 | /sys/devices/virtual/smdpkt/smdcntl1[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0 |
| 146 | /sys/devices/virtual/smdpkt/smdcntl[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0 |
| 147 | /sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| 148 | /sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0 |
| 149 | /sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0 |
| 150 | /sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0 |
Manu Gautam | 61f2c32 | 2014-08-29 12:21:05 -0700 | [diff] [blame] | 151 | /sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0 |
Biswajit Paul | 977e506 | 2014-10-14 20:34:55 -0700 | [diff] [blame] | 152 | /sys/devices/virtual/graphics/fb([0-2])+/hpd u:object_r:sysfs_graphics:s0 |
| 153 | /sys/class/graphics/fb([0-2])+/mdp/caps u:object_r:sysfs_graphics:s0 |
| 154 | /sys/class/graphics/fb([0-2])+/ad u:object_r:sysfs_graphics:s0 |
Tarun Gupta | 4f7527d | 2014-10-13 22:54:12 +0530 | [diff] [blame] | 155 | /sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0 |
| 156 | /sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_hsic_host_rdy:s0 |
| 157 | /sys/bus/esoc(/.*)? u:object_r:sysfs_esoc:s0 |
| 158 | /sys/bus/msm_subsys(/.*)? u:object_r:sysfs_ssr:s0 |
Tarun Gupta | 4f7527d | 2014-10-13 22:54:12 +0530 | [diff] [blame] | 159 | /sys/module/ccid_bridge(/.*)? u:object_r:sysfs_usb_uicc:s0 |
Ameya Thakur | 37b34bc | 2014-10-20 14:58:24 -0700 | [diff] [blame] | 160 | /sys/bus/msm_subsys/devices/subsys0/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| 161 | /sys/bus/msm_subsys/devices/subsys1/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| 162 | /sys/bus/msm_subsys/devices/subsys2/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| 163 | /sys/bus/msm_subsys/devices/subsys3/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| 164 | /sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0 |
| 165 | /sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0 |
Ravi Kumar Siddojigari | b80b30a | 2014-09-04 16:28:43 +0530 | [diff] [blame] | 166 | |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 167 | ################################### |
| 168 | # data files |
| 169 | # |
| 170 | /data/connectivity(/.*)? u:object_r:cnd_data_file:s0 |
| 171 | /data/data_test(/.*)? u:object_r:data_test_data_file:s0 |
| 172 | /data/diag_log(/.*)? u:object_r:diag_data_file:s0 |
| 173 | /data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0 |
| 174 | /data/rfs.* u:object_r:rfs_data_file:s0 |
Avijit Kanti Das | 36fb2c1 | 2014-10-06 15:21:57 -0700 | [diff] [blame] | 175 | /data/camera(/.*)? u:object_r:camera_socket:s0 |
Avijit Kanti Das | 60e32ec | 2014-10-08 11:47:24 -0700 | [diff] [blame] | 176 | /data/system/sensors(/.*)? u:object_r:sensors_data_file:s0 |
Mohit Aggarwal | be45ae9 | 2014-08-29 12:54:56 -0700 | [diff] [blame] | 177 | /data/time/* u:object_r:time_data_file:s0 |
Ravi Kumar Siddojigari | 22287b8 | 2014-10-15 20:15:43 +0530 | [diff] [blame] | 178 | /data/nfc(/.*)? u:object_r:nfc_data_file:s0 |
Vince Leung | 06bd7d8 | 2014-10-15 15:15:57 -0700 | [diff] [blame] | 179 | /data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0 |
| 180 | /data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0 |
Avijit Kanti Das | 808ae2f | 2014-10-21 17:11:11 -0700 | [diff] [blame] | 181 | /data/misc/display(/.*)? u:object_r:display_config:s0 |
Avijit Kanti Das | 2b495d0 | 2014-10-20 17:43:13 -0700 | [diff] [blame] | 182 | /data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0 |
Susheel Yadagiri | d0927c6 | 2014-10-14 16:01:45 -0700 | [diff] [blame] | 183 | /data/dpm(/.*)? u:object_r:dpmd_data_file:s0 |
Ravi Kumar Siddojigari | b80b30a | 2014-09-04 16:28:43 +0530 | [diff] [blame] | 184 | |
Avijit Kanti Das | 3cc4381 | 2014-10-08 11:24:23 -0700 | [diff] [blame] | 185 | ################################### |
| 186 | # persist files |
| 187 | # |
| 188 | /persist(/.*)? u:object_r:persist_file:s0 |
| 189 | /persist/sensors(/.*)? u:object_r:sensors_persist_file:s0 |
Arthur Shuai | 1453db2 | 2014-10-15 21:00:53 +0800 | [diff] [blame] | 190 | |
| 191 | ################################### |
| 192 | # oem files |
| 193 | # |
| 194 | /oem(/.*)? u:object_r:system_file:s0 |