1/dev/ttyAMA0           u:object_r:console_device:s0
2/dev/ttyAMA3           u:object_r:console_device:s0
3/dev/ttyAMA5           u:object_r:console_device:s0
4/dev/ttyFIQ0           u:object_r:console_device:s0
5/dev/mali              u:object_r:gpu_device:s0
6/dev/mali0             u:object_r:gpu_device:s0
7/dev/nanohub           u:object_r:sensors_device:s0
8/dev/nanohub_comms     u:object_r:sensors_device:s0
9/dev/dri/card0         u:object_r:gpu_device:s0
10/dev/hci_tty           u:object_r:hci_attach_dev:s0
11/dev/ttyAMA1           u:object_r:hci_attach_dev:s0
12/dev/ttyAMA4           u:object_r:hci_attach_dev:s0
13/dev/hifi_misc         u:object_r:audio_device:s0
14/dev/hi_vdec	       u:object_r:video_device:s0
15/dev/hi_venc	       u:object_r:video_device:s0
16/dev/dma_heap(/.*)? u:object_r:graphics_device:s0
17/dev/graphics/fb0      u:object_r:graphics_device:s0
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
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
27# /data
28/data/vendor/sensor(/.*)?        u:object_r:sensor_vendor_data_file:s0
29
30/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq		u:object_r:sysfs_power:s0
31/sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq	u:object_r:sysfs_power:s0
32
33# for HiKey Board
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
36
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
41
42/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software         u:object_r:hal_gatekeeper_default_exec:s0
43/vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common          u:object_r:hal_power_default_exec:s0
44
45/vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0
46/vendor/lib64/libbccArm\.so u:object_r:same_process_hal_file:s0
47/vendor/lib64/libbcc\.so u:object_r:same_process_hal_file:s0
48/vendor/lib64/libLLVM_android\.so u:object_r:same_process_hal_file:s0
49/vendor/lib(64)?/libclcore\.bc u:object_r:same_process_hal_file:s0
50/vendor/lib(64)?/libmalicore\.bc u:object_r:same_process_hal_file:s0
51/vendor/lib/libclcore_neon\.bc u:object_r:same_process_hal_file:s0
52/vendor/bin/bcc                u:object_r:same_process_hal_file:s0
53