sepolicy: Allow NN HAL to access npu device node

This change is to allow NN HAL to access npu device node.

Change-Id: I193a7fb0b571a734804bc31ccf52376e9a13d500
This commit is contained in:
Jilai Wang
2019-08-06 16:21:46 -04:00
parent 6fa46962ae
commit 7dab1aa8e1

View File

@@ -41,5 +41,6 @@ allow hal_neuralnetworks_default shell_data_file:file { read getattr map };
allow hal_neuralnetworks_default hal_neuralnetworks_data_file:dir create_dir_perms;
allow hal_neuralnetworks_default hal_neuralnetworks_data_file:{ file fifo_file } create_file_perms;
allow hal_neuralnetworks_default gpu_device:chr_file rw_file_perms;
allow hal_neuralnetworks_default npu_device:chr_file r_file_perms;
r_dir_file(hal_neuralnetworks_default, adsprpcd_file)