blob: c570aa4ae00f22caac2009d118de5248de74a78b [file] [log] [blame]
Steven Morelandb4f42d42024-02-16 22:32:02 +00001# binary for generic misc partition management
2type misctrl, domain, coredomain;
3type misctrl_exec, system_file_type, exec_type, file_type;
4
5init_daemon_domain(misctrl)
6
7allow misctrl misc_block_device:blk_file rw_file_perms;
8allow misctrl block_device:dir r_dir_perms;
9read_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.
14dontaudit misctrl sysfs_dt_firmware_android:dir search;
15dontaudit misctrl vendor_property_type:file read;