sycamore_row_5G: allow recovery init kernel module loading
This commit is contained in:
parent
b69e31a40f
commit
eddf393138
1 changed files with 8 additions and 0 deletions
8
sepolicy/vendor/sycamore_recovery_kernel_module.te
vendored
Normal file
8
sepolicy/vendor/sycamore_recovery_kernel_module.te
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Recovery init directly loads selected kernel modules from the unpacked
|
||||
# vendor_boot rootfs after first-stage module loading has completed.
|
||||
#
|
||||
# Both the isolated thermal provider and the pristine PLATFORM /lib/modules
|
||||
# tree are rootfs objects in recovery. Android's module-origin neverallow
|
||||
# explicitly permits module loading from rootfs.
|
||||
allow init self:capability sys_module;
|
||||
allow init rootfs:system module_load;
|
||||
Loading…
Reference in a new issue