Merge "allow modprobe to load modules from /system/lib/modules/" am: f707e8271d am: 7d0a569d8a

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2597157

Change-Id: I3c5448345ecb4af66f5c76179f06c9f76eb587fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Suren Baghdasaryan 2023-05-19 16:56:28 +00:00 committed by Automerger Merge Worker
commit 9b2b2b1d77

View file

@ -4,6 +4,9 @@ allow modprobe proc_modules:file r_file_perms;
allow modprobe proc_cmdline:file r_file_perms;
allow modprobe self:global_capability_class_set sys_module;
allow modprobe kernel:key search;
allow modprobe system_dlkm_file:dir search;
allow modprobe system_dlkm_file:file r_file_perms;
allow modprobe system_dlkm_file:system module_load;
recovery_only(`
allow modprobe rootfs:system module_load;
allow modprobe rootfs:file r_file_perms;