Skip to content

Commit

Permalink
Fix: SElinux: Boot Huawei P20 Lite (Emui 9)
Browse files Browse the repository at this point in the history
Changed it's format from .cil.
  • Loading branch information
utkustnr authored and phhusson committed Nov 12, 2022
1 parent f8a2070 commit 2920e4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sepolicy/huawei.te
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ allowxperm vendor_init { teecd_data_file }:dir ioctl {
FS_IOC_GET_ENCRYPTION_POLICY
FS_IOC_SET_ENCRYPTION_POLICY
};

# Fixes boot issue in EMUI 9 P20 lite
type sys_block_mmcblk0, file_type;
allow init sys_block_mmcblk0:lnk_file read;
allow init sysfs_zram:lnk_file read;

0 comments on commit 2920e4c

Please sign in to comment.