Steven Moreland | b4f42d4 | 2024-02-16 22:32:02 +0000 | [diff] [blame^] | 1 | # binary for generic misc partition management |
| 2 | type misctrl, domain, coredomain; |
| 3 | type misctrl_exec, system_file_type, exec_type, file_type; |
| 4 | |
| 5 | init_daemon_domain(misctrl) |
| 6 | |
| 7 | allow misctrl misc_block_device:blk_file rw_file_perms; |
| 8 | allow misctrl block_device:dir r_dir_perms; |
| 9 | read_fstab(misctrl) |
| 10 | |
| 11 | # bootloader_message tries to find the fstab in the device config path first, |
| 12 | # but because we've already booted up we can use the ro.boot properties instead, |
| 13 | # so we can just ignore the SELinux denial. |
| 14 | dontaudit misctrl sysfs_dt_firmware_android:dir search; |
| 15 | dontaudit misctrl vendor_property_type:file read; |