Fix selinux denials for fastbootd

Test: flash on O6, flash an image using git_master system + mainline
kernel
Bug: 244785938

Change-Id: I1b0e1ea0f1937abd2ad96a606b565812ee8096e1
This commit is contained in:
Kelvin Zhang 2022-09-02 20:01:24 +00:00
parent 455ae8adca
commit 853085bd65

View file

@ -46,3 +46,8 @@ recovery_only(`
# Needed for reading boot properties. # Needed for reading boot properties.
allow fastbootd proc_bootconfig:file r_file_perms; allow fastbootd proc_bootconfig:file r_file_perms;
') ')
# io_uring_setup needs ipc_lock and permission to operate anon inodes
allow fastbootd self:capability ipc_lock;
allow fastbootd self:anon_inode create_file_perms;