blob: 2352067a076a4044b561d384bd7caeb87fe9643f [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
Steven Moreland9f41fc02024-02-16 22:38:26 +000011set_prop(misctrl, misctrl_prop)
12
Steven Morelandb4f42d42024-02-16 22:32:02 +000013# 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.
16dontaudit misctrl sysfs_dt_firmware_android:dir search;
17dontaudit misctrl vendor_property_type:file read;