blob: 1e712113a5da5b4874254feaa5c93e0c07045392 [file] [log] [blame]
Jeff Vander Stoepa42332b2016-01-29 15:15:36 -08001/dev/ttyAMA0 u:object_r:console_device:s0
2/dev/ttyAMA3 u:object_r:console_device:s0
Dmitry Shmidt5d080802017-04-11 14:20:03 -07003/dev/ttyAMA5 u:object_r:console_device:s0
Yongqin Liu60509402016-06-14 19:34:32 +08004/dev/ttyFIQ0 u:object_r:console_device:s0
Vishal Bhoje72c9202015-10-23 18:10:21 +01005/dev/mali u:object_r:gpu_device:s0
Vishal Bhoj47345172017-06-05 15:37:33 +01006/dev/mali0 u:object_r:gpu_device:s0
Ben Fennema52301e42017-10-17 12:24:04 -07007/dev/nanohub u:object_r:sensors_device:s0
8/dev/nanohub_comms u:object_r:sensors_device:s0
Vishal Bhoje72c9202015-10-23 18:10:21 +01009/dev/dri/card0 u:object_r:gpu_device:s0
10/dev/hci_tty u:object_r:hci_attach_dev:s0
Yongqin Liu60509402016-06-14 19:34:32 +080011/dev/ttyAMA1 u:object_r:hci_attach_dev:s0
Dmitry Shmidt5d080802017-04-11 14:20:03 -070012/dev/ttyAMA4 u:object_r:hci_attach_dev:s0
Dmitry Shmidt87f08a42017-08-29 15:23:47 -070013/dev/hifi_misc u:object_r:audio_device:s0
John Stultz7eac2822018-04-09 17:36:26 -070014/dev/hi_vdec u:object_r:video_device:s0
15/dev/hi_venc u:object_r:video_device:s0
Hridya Valsaraju7e8a6302020-12-15 13:59:47 -080016/dev/dma_heap/linux,cma u:object_r:dmabuf_cma_heap_device:s0
John Stultz80a83172018-04-27 17:09:43 -070017/dev/graphics/fb0 u:object_r:graphics_device:s0
Ben Fennema52301e42017-10-17 12:24:04 -070018
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 Stultz80a83172018-04-27 17:09:43 -070024/(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 Fennema52301e42017-10-17 12:24:04 -070027# /data
28/data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0
Dmitry Shmidt76555472018-04-12 13:04:17 -070029
30/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq u:object_r:sysfs_power:s0
Dmitry Shmidt1d641162018-06-12 13:37:38 -070031/sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq u:object_r:sysfs_power:s0
Mark Salyzyn5c002282018-06-14 08:34:27 -070032
Yongqin Liua6dcfa32020-04-20 17:43:22 +080033# for HiKey Board
Mark Salyzyn5c002282018-06-14 08:34:27 -070034/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 Stultza6764b22018-08-07 17:43:39 -070036
Yongqin Liua6dcfa32020-04-20 17:43:22 +080037# for HiKey960 Board
John Stultze8fe7172021-02-02 04:31:01 +000038/dev/block/platform/soc/ff3b0000\.ufs/by-name/cache u:object_r:metadata_block_device:s0
Yongqin Liua6dcfa32020-04-20 17:43:22 +080039/dev/block/platform/soc/ff3b0000\.ufs/by-name/userdata u:object_r:userdata_block_device:s0
40
John Stultza6764b22018-08-07 17:43:39 -070041
Janis Danisevskise46fc832019-06-27 10:14:32 -070042/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
John Stultzc1875b52018-11-20 16:15:20 -080043/vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common u:object_r:hal_power_default_exec:s0
44
Yongqin Liub0f660c2020-11-19 09:39:19 +080045/vendor/lib(64)?/hw/vulkan\.hikey960\.so u:object_r:same_process_hal_file:s0
John Stultza6764b22018-08-07 17:43:39 -070046/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