allow modprobe to load modules from /system/lib/modules/
This is needed to load GKI leaf modules like zram.ko. Bug: 279227085 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I8a8205e50aa00686f478aba5336299e03490bbb5 Merged-In: I8a8205e50aa00686f478aba5336299e03490bbb5
This commit is contained in:
parent
8fde7b737b
commit
8a6f45d363
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue