Allow kernel to access firmware and zram

Bug: 260522245
Change-Id: I964ac1e30e0181f4d6edc71f2e066b7bd515186b
This commit is contained in:
Wilson Sung 2023-02-08 04:34:12 +08:00
parent 9cce214473
commit 856d2c480e
2 changed files with 6 additions and 5 deletions

5
vendor/kernel.te vendored Normal file
View file

@ -0,0 +1,5 @@
allow kernel vendor_fw_file:dir search;
allow kernel vendor_fw_file:file r_file_perms;
# ZRam
allow kernel per_boot_file:file r_file_perms;