Jeff Vander Stoep | a42332b | 2016-01-29 15:15:36 -0800 | [diff] [blame] | 1 | /dev/ttyAMA0 u:object_r:console_device:s0 |
| 2 | /dev/ttyAMA3 u:object_r:console_device:s0 |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 3 | /dev/ttyAMA5 u:object_r:console_device:s0 |
Yongqin Liu | 6050940 | 2016-06-14 19:34:32 +0800 | [diff] [blame] | 4 | /dev/ttyFIQ0 u:object_r:console_device:s0 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 5 | /dev/mali u:object_r:gpu_device:s0 |
Vishal Bhoj | 4734517 | 2017-06-05 15:37:33 +0100 | [diff] [blame] | 6 | /dev/mali0 u:object_r:gpu_device:s0 |
Ben Fennema | 52301e4 | 2017-10-17 12:24:04 -0700 | [diff] [blame] | 7 | /dev/nanohub u:object_r:sensors_device:s0 |
| 8 | /dev/nanohub_comms u:object_r:sensors_device:s0 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 9 | /dev/dri/card0 u:object_r:gpu_device:s0 |
| 10 | /dev/hci_tty u:object_r:hci_attach_dev:s0 |
Yongqin Liu | 6050940 | 2016-06-14 19:34:32 +0800 | [diff] [blame] | 11 | /dev/ttyAMA1 u:object_r:hci_attach_dev:s0 |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 12 | /dev/ttyAMA4 u:object_r:hci_attach_dev:s0 |
Dmitry Shmidt | 87f08a4 | 2017-08-29 15:23:47 -0700 | [diff] [blame] | 13 | /dev/hifi_misc u:object_r:audio_device:s0 |
John Stultz | 7eac282 | 2018-04-09 17:36:26 -0700 | [diff] [blame] | 14 | /dev/hi_vdec u:object_r:video_device:s0 |
| 15 | /dev/hi_venc u:object_r:video_device:s0 |
Hridya Valsaraju | 7e8a630 | 2020-12-15 13:59:47 -0800 | [diff] [blame^] | 16 | /dev/dma_heap/linux,cma u:object_r:dmabuf_cma_heap_device:s0 |
John Stultz | 80a8317 | 2018-04-27 17:09:43 -0700 | [diff] [blame] | 17 | /dev/graphics/fb0 u:object_r:graphics_device:s0 |
Ben Fennema | 52301e4 | 2017-10-17 12:24:04 -0700 | [diff] [blame] | 18 | |
| 19 | # files in /vendor |
| 20 | /(vendor|system/vendor)/bin/uim u:object_r:hci_attach_exec:s0 |
| 21 | /(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.hikey u:object_r:hal_bluetooth_hikey_exec:s0 |
| 22 | /(vendor|system/vendor)/bin/nanoapp_cmd u:object_r:nanoapp_cmd_exec:s0 |
| 23 | |
John Stultz | 80a8317 | 2018-04-27 17:09:43 -0700 | [diff] [blame] | 24 | /(vendor|system/vendor)/lib(64)?/hw/gralloc\.hikey960\.so u:object_r:same_process_hal_file:s0 |
| 25 | /(vendor|system/vendor)/lib(64)?/hw/gralloc\.hikey\.so u:object_r:same_process_hal_file:s0 |
| 26 | |
Ben Fennema | 52301e4 | 2017-10-17 12:24:04 -0700 | [diff] [blame] | 27 | # /data |
| 28 | /data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0 |
Dmitry Shmidt | 7655547 | 2018-04-12 13:04:17 -0700 | [diff] [blame] | 29 | |
| 30 | /sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq u:object_r:sysfs_power:s0 |
Dmitry Shmidt | 1d64116 | 2018-06-12 13:37:38 -0700 | [diff] [blame] | 31 | /sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq u:object_r:sysfs_power:s0 |
Mark Salyzyn | 5c00228 | 2018-06-14 08:34:27 -0700 | [diff] [blame] | 32 | |
Yongqin Liu | a6dcfa3 | 2020-04-20 17:43:22 +0800 | [diff] [blame] | 33 | # for HiKey Board |
Mark Salyzyn | 5c00228 | 2018-06-14 08:34:27 -0700 | [diff] [blame] | 34 | /dev/block/platform/soc/f723d000\.dwmmc0/by-name/cache u:object_r:cache_block_device:s0 |
| 35 | /dev/block/platform/soc/f723d000\.dwmmc0/by-name/userdata u:object_r:userdata_block_device:s0 |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 36 | |
Yongqin Liu | a6dcfa3 | 2020-04-20 17:43:22 +0800 | [diff] [blame] | 37 | # for HiKey960 Board |
| 38 | /dev/block/platform/soc/ff3b0000\.ufs/by-name/cache u:object_r:cache_block_device:s0 |
| 39 | /dev/block/platform/soc/ff3b0000\.ufs/by-name/userdata u:object_r:userdata_block_device:s0 |
| 40 | |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 41 | |
Janis Danisevskis | e46fc83 | 2019-06-27 10:14:32 -0700 | [diff] [blame] | 42 | /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 |
John Stultz | c1875b5 | 2018-11-20 16:15:20 -0800 | [diff] [blame] | 43 | /vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common u:object_r:hal_power_default_exec:s0 |
| 44 | |
Yongqin Liu | b0f660c | 2020-11-19 09:39:19 +0800 | [diff] [blame] | 45 | /vendor/lib(64)?/hw/vulkan\.hikey960\.so u:object_r:same_process_hal_file:s0 |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 46 | /vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0 |
| 47 | /vendor/lib64/libbccArm\.so u:object_r:same_process_hal_file:s0 |
| 48 | /vendor/lib64/libbcc\.so u:object_r:same_process_hal_file:s0 |
| 49 | /vendor/lib64/libLLVM_android\.so u:object_r:same_process_hal_file:s0 |
| 50 | /vendor/lib(64)?/libclcore\.bc u:object_r:same_process_hal_file:s0 |
| 51 | /vendor/lib(64)?/libmalicore\.bc u:object_r:same_process_hal_file:s0 |
| 52 | /vendor/lib/libclcore_neon\.bc u:object_r:same_process_hal_file:s0 |
| 53 | /vendor/bin/bcc u:object_r:same_process_hal_file:s0 |