grant debugfs access to insmod under userdebug am: 59ba0f97aa

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14108655

Change-Id: Ic35524068f3f5d6e2715f6b782063b3a0e16b270
This commit is contained in:
Adam Shih 2021-04-07 06:00:38 +00:00 committed by Automerger Merge Worker
commit 5a648ae1e7
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -8,4 +8,8 @@ allow init-insmod-sh vendor_toolbox_exec:file execute_no_trans;
set_prop(init-insmod-sh, vendor_device_prop) set_prop(init-insmod-sh, vendor_device_prop)
userdebug_or_eng(`
allow init-insmod-sh vendor_regmap_debugfs:dir search;
')
dontaudit init-insmod-sh proc_cmdline:file r_file_perms; dontaudit init-insmod-sh proc_cmdline:file r_file_perms;