Update selinux for init-insmod-sh needed for gpu probe

Bug: 207062151
Test: related avc denials not noticed in the device logs
Change-Id: I87ff2251fd7d92f8b0eb3fac43889758788b702f
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
This commit is contained in:
Siddharth Kapoor 2022-01-13 18:45:29 +08:00 committed by TreeHugger Robot
parent f442239ffd
commit 8b241f5c35
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +0,0 @@
# b/207062151
dontaudit init-insmod-sh debugfs_mgm:dir { search };
dontaudit init-insmod-sh vendor_regmap_debugfs:dir { search };

View file

@ -9,3 +9,6 @@ allow init-insmod-sh vendor_toolbox_exec:file execute_no_trans;
set_prop(init-insmod-sh, vendor_device_prop)
dontaudit init-insmod-sh proc_cmdline:file r_file_perms;
allow init-insmod-sh debugfs_mgm:dir search;
allow init-insmod-sh vendor_regmap_debugfs:dir search;