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 | |
Steven Moreland | 9f41fc0 | 2024-02-16 22:38:26 +0000 | [diff] [blame^] | 11 | set_prop(misctrl, misctrl_prop) |
| 12 | |
Steven Moreland | b4f42d4 | 2024-02-16 22:32:02 +0000 | [diff] [blame] | 13 | # bootloader_message tries to find the fstab in the device config path first, |
| 14 | # but because we've already booted up we can use the ro.boot properties instead, |
| 15 | # so we can just ignore the SELinux denial. |
| 16 | dontaudit misctrl sysfs_dt_firmware_android:dir search; |
| 17 | dontaudit misctrl vendor_property_type:file read; |